• I got the slider in as a header using Easing Slider but now I only want in on my home page. I’ve tried this in a custom CSS but it does not work (I also put it in the header.php – which also did not work:
    <?php
    if ( is_home() ) {
    if ( function_exists( “easingsliderlite” ) ) {
    easingsliderlite( 1225 );
    }
    }
    ?>

    Where do I put it? I’m a newbie to WP. https://www.thewedge.org is the site.

Viewing 1 replies (of 1 total)
  • Where do I put it?

    Put it in a child theme. Never edit theme files directly.

    Try

    <?php
    if ( is_home() && ( function_exists( "easingsliderlite" ) {
        easingsliderlite( 1225 );
    }
    ?>
Viewing 1 replies (of 1 total)
  • The topic ‘Slider only on Home page of Travelify template’ is closed to new replies.