-
AuthorPosts
-
March 17, 2020 at 4:03 pm #1193833
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.3Any suggestions?
Thank You,
Peter-
This topic was modified 5 years, 7 months ago by
peti73.
March 18, 2020 at 5:22 am #1194004Hey Peter,
Could you post a link to where we can see this problem please?
Best regards,
RikardMarch 18, 2020 at 9:45 am #1194057This reply has been marked as private.March 21, 2020 at 8:31 pm #1195141This reply has been marked as private.March 21, 2020 at 8:49 pm #1195142Hi,
Sorry for the late reply, and the login link, but it seems the login link is not working, please check.Best regards,
MikeMarch 21, 2020 at 11:02 pm #1195153Hi Mike,
the new one is working for me. Can You confirm?-
This reply was modified 5 years, 7 months ago by
peti73.
March 22, 2020 at 4:16 pm #1195254Hi,
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,
MikeMarch 23, 2020 at 6:36 pm #1195546Hi 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,
PeterMarch 24, 2020 at 12:15 pm #1196095Hi,
It sounds like you are getting the error thatrequire_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,
MikeMay 25, 2020 at 9:46 pm #1216291This is super. I was having the exact same problem with this plugin.
Your solution, Mike, worked perfectly for me.
Thank you.
May 25, 2020 at 10:33 pm #1216306 -
This topic was modified 5 years, 7 months ago by
-
AuthorPosts
- The topic ‘Enfold accordion not visible in a popup window’ is closed to new replies.
