• Resolved nikcree

    (@nikcree)


    I have embedded the following code in the caption of Soliloquy Slider which works fine everywhere except on the home page. I can’t see why it is not working there

    [popup_trigger id=”inline-form”]Download Latest Catalogue[/popup_trigger]
    [popup id=”inline-form”][gravityform id=”4″ title=”true” description=”true” ajax=”true”][/popup]

    Are you able to help at all? Many thanks
    Nik

    https://www.ads-software.com/plugins/popup-maker/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter nikcree

    (@nikcree)

    Sorry … the site links is https://convenientinteriors.com.au and the page it does work on it https://convenientinteriors.com.au/test

    Plugin Author Daniel Iser

    (@danieliser)

    @nikcree – It seems that the popup maker css & JS isn’t being loaded. That is why the popup content is visible.

    You can force them to load by defining the constant POPMAKE_FORCE_SCRIPTS.

    In your themes functions.php file add something like

    if( is_page( 'home' ) ) {
        define( 'POPMAKE_FORCE_SCRIPTS', true );
    }
    Thread Starter nikcree

    (@nikcree)

    @danieleliser Thanks for that. I added the code and also amended as follows when it didn’t work, to cover all bases, as follows, but it still doesn’t appear to load:

    //* Load Pop Make Plugin Scripts on Home Page
    if( is_page( '8345' ) || is_home() || is_front_page() ) {
        define( 'POPMAKE_FORCE_SCRIPTS', true );
    }

    Anything else I can try? Many thanks

    Plugin Author Daniel Iser

    (@danieliser)

    @nikcree – You could simply try it without any if checks. Also be sure that any page caches have been cleared.

    define( 'POPMAKE_FORCE_SCRIPTS', true );

    Thread Starter nikcree

    (@nikcree)

    Thanks @danieleliser – that did the trick. Appreciate your help agin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Popup Not Hidden’ is closed to new replies.