Ready to get started?Download WordPress


[resolved] Slideshow incompatibility (3 posts)

  1. blicht454
    Posted 2 years ago #

    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.


  2. Dalton Rooney
    Posted 2 years ago #

    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.


  3. blicht454
    Posted 2 years ago #

    Yeah, that took care of it. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic