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

    (@jsally17)

    Update: I was able to remove the gallery from the_content by adding this to my functions.php file:

    remove_filter( 'the_content', 'easy_image_gallery_append_to_content' );

    However – I’ve added this to my template loop and it is not showing up on the page. How can I get this to work?

    <div class="portfolio-gallery">if(function_exists( 'easy_image_gallery' ) ) { echo easy_image_gallery();}</div>

    Thread Starter jsally17

    (@jsally17)

    Update: I was putting the template tag in the wrong spot. Fixed that and it works now.

    `<div class=”portfolio-gallery”>
    <?php if(function_exists( ‘easy_image_gallery’ ) ) { echo easy_image_gallery();} ?>
    </div>`

    There’s the code I used to place it in it’s own section in the template.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Place gallery outside the_content()’ is closed to new replies.