Okay
  Public Ticket #1240539
Popup appears in triplicate
Closed

Comments

  •  3
    Word2Art started the conversation

    When you click on the "Collaborate" button on the front end, the contact form popup pops up three times.  This is evident when you close the popup and there are still popups behind it that need to be closed also.  

    I can't add the related url as it keeps telling me it's not valid (it is).  Anyway, here it is:

    https://word2art.nz/dev/aboutus/

    There is only one shortcode included on the page:

    https://www.useloom.com/share/d3178c51a9b648bea49519ce12f50a6e

    And here is a clip showing my trigger settings:

    https://www.useloom.com/share/d15af1b9de6742a99d74d7f6a5209447

    I look forward to your advice.

    Many thanks in advance.

  •  69
    John replied

    Dear Word2Art,

    It appears that you've disabled LayerSlider in the meantime, so I wasn't able to debug on your site unfortunately.

    These issues usually occur if you're also using the auto-include feature that might include duplicate copies of the slider without you realising that. Another explanation would be your theme. Some themes tend to re-append content in the document, which is considered a really bad practise and causes issues exactly like this. You can easily test this if you temporarily switch to one of the default WP themes.

    Best Regards,
    John | Kreatura Dev Team

  •  3
    Word2Art replied

    Hi John, Layerslider is now active again - I'd really appreciate you taking a closer look please.

    Kind regards

    Sharon

  •  69
    John replied

    Sharon,

    I've checked your site again, but it seems that LayerSlider is still inactive. If you're using some kind of caching plugin, please make sure to empty the caches in order to avoid issues like this.

    Best Regards,
    John | Kreatura Dev Team

  •   Word2Art replied privately
  •  69
    John replied

    Thank you, Sharon!

    I was able to check on your site and it appears that the same slider is included 3 times. The most likely reason is your theme (or a page builder), it applies 3 different layouts for desktop, tablet and mobile screens. Unlike conventional responsive behavior, it duplicates the content (including the slider) and dynamically switch to the appropriate version depending on the device and screen size.

    You can likely workaround this behavior by not using shortcodes and other conventional methods, instead, let LayerSlider to automatically include the slider. This is the auto include feature I mentioned earlier. You can learn more about using it by reading our online documentation.

    In short, you can just tell LayerSlider on which pages it should include your Popup in the Slider Settings -> Popup -> Target Pages section and you're all set. No shortcodes or widgets required. In fact, you should remove the shortcode or anything you are currently using.

    Best Regards,
    John | Kreatura Dev Team

  •  3
    Word2Art replied

    Thanks so much, John, worked a charm :-)

  •  69
    John replied

    I'm glad I could help!

    Best Regards,
    John | Kreatura Dev Team

  •  3
    Word2Art replied

    Hi John,

    I've noticed that the popup has started opening twice on the following page:

    https://1.sharon.jasonswebservices.com/aboutus/


    I've double checked and can't see any shortcodes for the popup in the page, just the post-id number specified in the popup target pages - 116848, 122818, 121748 (landing page, home page and aboutus page).


    I've also tried selecting "prevent reopening" but this also seems to make no difference.  In case it's of assistance, I included logon details for the admin panel in a previous private email which was part of this chain of conversations.

    I look forward to your advice.

    Kind regards

    Sharon


  •   John replied privately
  •  3
    Word2Art replied

    Hi John,

    Thanks so much for taking a look.  I've removed the additional shortcodes from those blocks.  However, those blocks do not appear on the About page, and try as I might, I have been unable to locate any openpopup shortcodes on this particular page - ironically, the only page that has the popup duplication issue?

    Also, the site has been temporary relocated and the new url for the about page is:

    https://1.sharon.jasonswebservices.com/aboutus/

    I look forward to your advice.

    Many thanks in advance,

    Sharon

  •  69
    John replied

    Hi Sharon,

    It looks like I might have sent you the wrong link accidentally. My apologies. The about us page can be edited on the following URL: https://1.sharon.jasonswebservices.com/wp-admin/post.php?post=121748&action=edit

    If you press Ctrl/Cmd + F in your browser, you can search for the word 'layerslider' on page. That page includes 2 LayerSlider shortcodes of the Popup slider.

    Best Regards,
    John | Kreatura Dev Team

  •  3
    Word2Art replied

    Thanks so much, John, I've found the offending shortcodes and it all works perfectly now :-)

  •  69
    John replied

    I'm glad I was able to help!

    Best Regards,
    John | Kreatura Dev Team