WordPress.org

Support

Support » Plugins and Hacks » Slideshow stops when i am activating Quotes Collection plugin.

Slideshow stops when i am activating Quotes Collection plugin.

  • Hi guys! My slideshow in home page stops when i am activating Quotes Collection plugin… do u have any suggestions? the same was happening when i was activating contact form 7 plugin but i found the bellow code in a forum and i added it in my functions.php and the problem was stopped. Can anyone help me please?!

    add_action( ‘wp_print_scripts’, ‘my_deregister_javascript’, 100 );
    function my_deregister_javascript() {
    if ( !is_page(‘επικοινωνία’) ) {
    wp_deregister_script( ‘contact-form-7’ );
    }
    }

    add_action( ‘wp_print_styles’, ‘my_deregister_styles’, 100 );
    function my_deregister_styles() {
    if ( !is_page(‘επικοινωνία’) ) {
    wp_deregister_style( ‘contact-form-7’ );
    }
    }

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Slideshow stops when i am activating Quotes Collection plugin.’ is closed to new replies.