About automatic popup on mobile - by Dnn

This topic has 6 replies, 3 voices, and was last updated 7 years, 9 months ago ago by Olga Barlow

  • Avatar: Dnn
    Dnn
    Participant
    August 9, 2016 at 18:39

    How disable automatic popup only on mobile devices?

    5 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 10, 2016 at 14:49

    Hello,

    I have sent you email with js file. Place child.js file into child theme folder.
    After that add the following code in child theme functions.php

    function et_child_script(){
        wp_enqueue_script('et-child-theme-scrip', get_stylesheet_directory_uri().'/child.js', array(),false,true);
    }
    
    add_action('wp_enqueue_scripts', 'et_child_script', 40);

    Regards

    Avatar: Dnn
    Dnn
    Participant
    August 11, 2016 at 13:52

    Hi, I have not received the email and any email notification of your comment here.
    You can forward again please?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 11, 2016 at 14:03

    Hello

    I have sent you email with js file again. Please check.

    Regards

    Avatar: Dnn
    Dnn
    Participant
    August 11, 2016 at 15:41

    thank’s

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    August 12, 2016 at 08:48

    Hello,

    You are welcome.

    Regards

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.