• Resolved Ryan

    (@savvypop)


    I attempted to use this plugin with WordPress’ built-in [gallery] shortcode applied via php code in rudimentary custom plugin I wrote. I see no signs of the css classes this plugin should be generating. It just does Lightbox images. I disabled Virtue’s shortcode overwrite and no luck that way. I made a test page with gallery block in Gutenberg and it worked with this plugin, so seems to be an issue with [gallery] shortcode?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hi,

    Do you have an URL to share with me? I would like to see the page where the linking should work.

    Thread Starter Ryan

    (@savvypop)

    This one is not affected by Gallery Custom Links plugin. I’m not a pro at this yet, but for this example I have a template in my child theme that calls a function that lives in my custom plugin which returns the shortcode to a variable which is echoed in the template.
    https://livermorevalleyopera.com/event/the-barber-of-seville/

    This one is affected by Gallery Custom Links plugin (first image is a custom link).
    https://livermorevalleyopera.com/test/

    • This reply was modified 7 years, 3 months ago by Ryan.
    Jenny

    (@miss-newyork)

    I have the same issue. I just installed the plugin and I am using it with the latest WP version. In the footer of my website https://serendipity-dorsten.de/ I am trying to link the images in the third widget to Instagram, the URLs are all added, but they are still linking to the image files. The .custom-link has not been added as far as I can tell.
    Can you help?
    Thank you!
    – Jenny

    Plugin Author Jordy Meow

    (@tigroumeow)

    Hi @miss-newyork,

    If you modify the code of the plugin, it might start to work. In the file mgcl_core.php, change this line (23):

    $this->isOb = false;

    to this:

    $this->isOb = true;

    Let me know if it works.

    Thread Starter Ryan

    (@savvypop)

    That did the trick, thank you! Will it be changed in future updates of the plugin or will I need to remember to change it with each update?

    Plugin Author Jordy Meow

    (@tigroumeow)

    That’s a problem, @savvypop 🙂 My idea was not to add any Settings page to this plugin, but it looks like I will need to add one…

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘[Gallery] shortcode not working with this plugin’ is closed to new replies.