Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #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.3

    Any suggestions?

    Thank You,
    Peter

    • This topic was modified 4 years, 9 months ago by peti73.
    #1194004

    Hey Peter,

    Could you post a link to where we can see this problem please?

    Best regards,
    Rikard

    #1194057
    This reply has been marked as private.
    #1195141
    This reply has been marked as private.
    #1195142

    Hi,
    Sorry for the late reply, and the login link, but it seems the login link is not working, please check.

    Best regards,
    Mike

    #1195153

    Hi Mike,
    the new one is working for me. Can You confirm?

    • This reply was modified 4 years, 9 months ago by peti73.
    #1195254

    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

    #1195546

    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

    #1196095

    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

    #1216291

    This is super. I was having the exact same problem with this plugin.

    Your solution, Mike, worked perfectly for me.

    Thank you.

    #1216306

    Hi,
    Glad to hear, thank you for the feedback.

    Best regards,
    Mike

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Enfold accordion not visible in a popup window’ is closed to new replies.