• Resolved cbesett

    (@cbesett)


    Due to how a certain part of the site is done — i’m trying to add the modal link in the functions. The link appears but it doesn’t fire the modal window. Any possible ideas on how to get that to work?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author David Vongries

    (@davidvongries)

    Hi,

    is the shortcode present on that particular page? Can you share the link of the website with me so I can inspect the code?

    Thanks!

    cbesett

    (@cbesett)

    here’s the page on a development version: https://www.beckerboards.com/dev/markets/

    You have to click on one of the map icons to get it to appear. You can see i’ve added the HTML and the shortcode version.

    The reason it’s in functions is we are adding it to this map plugin data.

    Plugin Author David Vongries

    (@davidvongries)

    I’ve taken a look at the website and saw the shortcode isn’t actually being rendered. It’s being treated as plain text.

    Plugin Author David Vongries

    (@davidvongries)

    I think this comes down to how you’ve implemented and incorporated the code. If we’re looking at PHP, you can try to add the shortcode like this:

    do_shortcode( '[shortcode]' )

    I hope that helps.

    I’m closing this ticket for now as this isn’t technically an issue with our plugin and rather how it’s implemented.

    If implemented properly, nothing speaks against adding the trigger or shortcode via the functions.php file.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.