[resolved] how to use plugin with gallery tag in template file (2 posts)

  1. mxpimp47
    Posted 3 years ago #

    I would like to use this plugin when I have the gallery tag embed'ed into a template instead of normal usage within a post. What would I have to add to my functions file for this to work?


  2. DefProc
    Plugin Author

    Posted 3 years ago #

    If you've got a [gallery] shortcode outside of the_content, then you'll need to add a filter to the plugin's code that to pass it the page at the correct time. I don't know which filter you'll need (there's a Filter reference in the codex) however, if you're just coding it in one place, it might be easier to just embed the code from my plugin straight into your theme.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • add-rel-lightbox
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.