Disable auto gallery on archive pages

Your Account / Forums / Easy FancyBox Pro / Disable auto gallery on archive pages

  • Author
    • Anonymous
      May 29, 2014 at 5:57 am #3380


      My theme is set to show the full post content on the archive pages, including the image(s) in the posts. What happens is, a gallery is created with all the images shown on the archive page. I want the lightbox to work with these images, but without a gallery being created. I have the Pro version of the plugin and I’ve tried a few of the options that would seem to control that. But no luck. Before I try a programmatic fix, is there a setting I am missing in the options page?

    • May 29, 2014 at 5:57 am #3382

      Hi Craig,

      To disable the automatic gallery feature, go to Settings > Media and find the Autogallery option. Set it to Disabled.

      But if you want to keep the gallery feature on a per-post basis, meaning that images within the same post are grouped together but not include images from other posts on the same archive page, then you need to choose the option Galleries per Section. After that, you need to define the sections below, so they match your themes template. By default, the plugin uses “article” and “div.hentry” because that are the most commonly used identifiers in modern WordPress themes but your theme might use completely different identifiers.

      If you can provide a link to your archive page, I can tell you more 🙂

    • Anonymous
      May 29, 2014 at 5:57 am #3381

      Hi Ravan,

      Thank you for responding. Changing from “div.hentry” to “article” made the magic happen! I appreciate your great support for this plugin.

  • You must be logged in to reply to this topic.