Support » Fixing WordPress » Slideshow incompatibility

  • Resolved blicht454

    (@blicht454)


    I’ve just realized that my homepage slideshow (supersized) is incompatible with the “portfolio slideshow” plugin that I’m using on another page. Is there anyway that I can have the portfolio slideshow links appear everywhere except for the homepage? Right now they’re added automatically to header.php, so I just need a way to make it so that they’re added when it’s not the homepage.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there,
    I haven’t tested this, but I think the code might look something like this:

    <?php function remove_portfolio_slideshow() {
    	wp_deregister_script( 'portfolio-slideshow' );
    	wp_deregister_style( 'portfolio-slideshow' )
    }
    
    if ( is_front_page() ) {
    	add_action('init', 'remove_portfolio_slideshow');
    } ?>

    Just add to your functions.php.

    If you want to post a link I might be able to help you with the compatibility issue.

    Cheers,
    Dalton

    Yeah, that took care of it. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Slideshow incompatibility’ is closed to new replies.