• Resolved Amir

    (@repenter)


    Hi πŸ™‚
    I’m trying to run your plugin only on certain pages. For example my register and contact pages.

    I’m using this code in functions:

    if( is_page( array(‘register’, ‘contact-us’) ) )
    return;
    wp_dequeue_script( ‘wp-bruiser-public-script’ );
    wp_deregister_script( ‘wp-bruiser-public-script’ );
    }
    add_action( ‘wp_enqueue_scripts’, ‘deregister_wpbruiser_scripts’, 0);

    But “?gdbc-client=3.1.4-1488904436214” is loading still everywhere.

    What’s wrong and how can I fix this?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author MihChe

    (@mihche)

    Hi Amir,
    That code will not work. Please contact me through http://www.wpbruiser.com/contact/ and I’ll help you with this

    ~Mihai

    I’d like to know how to do this as well. Mihai, I tried to contact you both from your site and via email but no response. Not sure if you are just extra busy or if you didn’t get those. Maybe you could post the answer here in case others want to know as well?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Run on Specific Pages’ is closed to new replies.