Hi,
the accordion is not visible in a popup window made with Popup Maker.
Nor are other shortcodes i tried (ie. animated numbers or testimonials).
Last year it worked flawlessly.
WP: 5.3.2, Enfold: 4.7.3, Popup Maker: 1.9.1, PHP: 7.3
Any suggestions?
Thank You,
Peter
Hey Peter,
Could you post a link to where we can see this problem please?
Best regards,
Rikard
Hi,
Sorry for the late reply, and the login link, but it seems the login link is not working, please check.
Best regards,
Mike
Hi Mike,
the new one is working for me. Can You confirm?
Hi,
Thank you for the login, first, your popup didn’t have a trigger set, so I added the “click” trigger to it, then the “popup maker” plugin seems to try executing the shortcodes outside the builder so it is necessary to set the option Enfold Theme Options > Performance > Disable Template Builder Elements > Always load all elements so the shortcodes will fire.
and then add this function to your functions.php, which I did for you.
Now the “accordion” works in your popup, but not your “animated numbers”, probably because the animation for the numbers was fired on page load, not on popup load.
You may wish to try a popup plugin such as WP Popups which seems to work fine “out-of-the-box”.
Best regards,
Mike
Hi Mike,
thank You very much for the solution!
Just a little problem: on my main site i use Enfold-child theme and if i copy the function-modification from the test site then i get an error message for this line:
require_once( 'functions-enfold.php');
Do i need this line?
Best regards,
Peter
Hi,
It sounds like you are getting the error that require_once( 'functions-enfold.php');
has already been called and you added it again. in which case you do not need to add it again.
Best regards,
Mike
This is super. I was having the exact same problem with this plugin.
Your solution, Mike, worked perfectly for me.
Thank you.