Support » Plugin: Popup Maker - Popup for opt-ins, lead gen, & more » Popup Maker / Polylang Invitation to survey

  • Resolved Pangulo

    (@pangulo)


    Hello!

    I really hope someone can help me with this…
    I am creating an invitation to complete a survey in my website. The thing is that, because I live in Quebec, I need to create the website in both french and english, I did so using the Polylang plugin.
    My question is: How can I add a different popup invitation to the survey in french, that only appears in the french version of the website?
    I have already created two versions of the popup, one in french and one in english. Then, on the Targeting Conditions I check marked the “On Home Page” option and the “On Languages – Load to specific languages” to english or french accordingly. But I may still missing something; I can only see the english popup on the website.
    My website is https://urbhive.com

    I would reaaaally appreciate your help!

    Thanks in advance.

    https://wordpress.org/plugins/popup-maker/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    @pangulo – The Languages Post Type is not really checkable in this case. We are working on better support for these language plugins, and you have hit the nail on the head finding the one place we are having trouble normalizing.

    Your best bet at this point is to manually filter the popups loading using the popmake_popup_is_loadable filter. There you can check the popups ID against the current Polylang language and return true or false if it should load.

    Plenty of examples out there if you google the filter name. Here is one to get you started.

    https://gist.github.com/danieliser/32aff18fbf245c58c7fe

    Sorry we can’t fix it right away, but it is a huge planned featureset for the next version (1.5). v1.4 just went into public beta this week so it won’t be right away.

    Thread Starter Pangulo

    (@pangulo)

    Hi Danieliser,
    I appreciate your help!
    The problem is that I have 0 coding knowledge, and even less about php files. This is the first time I am creating a website from scratch with WordPress.
    Would you be able give me more detailed instructions on how to add this filter?
    – In which php file should I add this coding template?
    – Where can I get the Popup ID
    – Should I add anything else?
    Thanks a lot!

    Plugin Author Daniel Iser

    (@danieliser)

    @pangulo – To be honest, I have not tried PolyLang as of yet, but other users have managed to get it working. We can ask them to detail his setup as he just solved it the last few days. https://wordpress.org/support/topic/popup-maker-and-polylang-compatible?replies=6#post-8013226

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Popup Maker / Polylang Invitation to survey’ is closed to new replies.