Viewing 6 replies - 1 through 6 (of 6 total)
  • First question: are you using WordPress’s built-in [gallery] shortcode, or some other kind of gallery functionality provided by your theme?

    Thread Starter birdget2

    (@birdget2)

    Thanks for the quick response. I actually tried both ways and neither worked. I also disabled all the plug ins as well. Right now the only ones I have active are an SEO plug in and Akismet.

    Thank you!

    Can I see a page on your site where you’re using the [gallery] shortcode with some custom links? Right now I’m wondering if your theme is overriding the default gallery with its own code and not calling the post_gallery filter, which is what this plugin hooks into.

    Thread Starter birdget2

    (@birdget2)

    Here is the default gallery test. You’ll notice that it’s dumping my ENTIRE media library, rather than the images I select. Which I am sure is a theme problem and I have contacted the developer of the them about:

    https://crewsinc.korucreativemarketing.com/gallery-test/

    And here is the other example:

    https://crewsinc.korucreativemarketing.com/locations/arts-crafts-tudor-victorian/

    Thanks so much for your help!

    It looks like the plugin is running, but for some reason it does not appear to be matching the file url in the link to swap in the custom link. One more test might be to see what happens if you change your gallery (the short one you’re trying to fix) to link to the attachments instead of the files – maybe it would have better luck with those urls. If that doesn’t work, I think I’d probably need to see your admin and code to determine more – can you contact me at [email protected]?

    This was resolved outside this forum, but the theme was replacing the gallery shortcode function with one of its own, and not calling the post_gallery filter that this plugin hooks into. Additionally, it was using its own gallery_id parameter to look up image IDs instead of the normal ids parameter. The theme function was modified to support these two items, and is now working with the plugin.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Link to page not working’ is closed to new replies.