Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Instead of adding a filter to ‘post_gallery’ in the first line, you use add_shortcode() to add the listed function as a shortcode handler. I haven’t tested to ensure that’s all there is to this, but it’s at least 98% if not 100% of what’s involved.

    Then [gallery] will still work as expected and [orbit] or whatever will work for outputting orbit plugin images.

Viewing 1 replies (of 1 total)
  • The topic ‘Gallery custom shortcode’ is closed to new replies.