Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author MatthewRuddy

    (@matthewruddy)

    Hi @wahidsadiq, try this code in the appropriate theme file:

    <?php
    if ( is_home() && function_exists( 'easingsliderlite' ) ) {
        easingsliderlite();
    }
    ?>

    That should do the trick ??

    Matthew – Can you narrow that down a little?

    Re: the appropriate theme file.

    Thread Starter wahidsadiq

    (@wahidsadiq)

    thanks a lot Matthew, but its working for post page not working for front page.

    Plugin Author MatthewRuddy

    (@matthewruddy)

    @wahidsadiq, Try this instead:

    <?php
    if ( is_front_page() && function_exists( 'easingsliderlite' ) ) {
        easingsliderlite();
    }
    ?>

    @devgjny, unfortunately I can’t do that. Every theme differs and it really depends on your setup and what file is being used for the front page. Generally, index.php, home.php or front-page.php are the appropriate files, but it can vary greatly.

    Thread Starter wahidsadiq

    (@wahidsadiq)

    @matthew,
    wow this is really gr8, it worked as i wanted, thankyou …:)

    Plugin Author MatthewRuddy

    (@matthewruddy)

    Great! Happy to help ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘enable slider on front page only’ is closed to new replies.