Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter batta2711

    (@batta2711)

    Thanks. It worked!

    Here is the line I edited:

    <?php if(get_post_meta($post->ID, ‘ace_wide’, true)) { echo ‘<section class=”section-wide” role=”main”>’; } else { echo ‘<section class=”section” role=”main”>’; } ?>

    I changed the if/else to be the “section main” as default and the”section-wide main” as the alternative.

    Thanks for your help, much appreciated…

    Thread Starter batta2711

    (@batta2711)

    Hi,

    This is the only line in my single.php that references a sidebar.

    <?php if(get_post_meta($post->ID, ‘ace_wide’, true)) {} else { echo get_sidebar(); } ?>

    I removed it and created the single-easy-photo-album.php file but it did not seem to work.

    I saved that file in the main directory of my theme where the single.php is, was that right?

    Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)