Disable auto gallery on archive pages

Forums Easy FancyBox Pro Disable auto gallery on archive pages

Viewing 2 reply threads
  • Author
    Posts
    • #3380
      craig
      Participant

      Hello,

      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?

    • #3382
      RavanH
      Keymaster

      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 đŸ™‚

    • #3381
      craig
      Participant

      Hi Ravan,

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

Viewing 2 reply threads
  • You must be logged in to reply to this topic.