WordPress.org

Forums

Easing Slider
[resolved] Turn Slider On/Off per page in WP. (3 posts)

  1. LesTexas60
    Member
    Posted 1 year ago #

    Easing Slider has worked great for me and all the tweaks have addressed any limitations so far. There is a setting on each WordPress page to show Header or not. This setting does not address the display of Easing Slider. Is there some code to add to the Header file where you can restrict the display to all pages but xxx or xxx... ?
    Thanks for the help.

    https://wordpress.org/plugins/easing-slider/

  2. MatthewRuddy
    Member
    Plugin Author

    Posted 1 year ago #

    Hey @LesTexas60, if you've added the Easing Slider PHP function (used to display it in your theme) within the code that controls whether the header does or does not display, then it should work.

    If that isn't possible, or it isn't the case, you can use WordPress conditional tags to conditionally control where the slideshow is shown. Are you familiar with these?

    For example, to only show the slideshow on "Pages", you could use the code:

    <?php
    if ( function_exists( 'easingsliderlite' ) && is_page() ) {
        easingsliderlite();
    }
    ?>
  3. MatthewRuddy
    Member
    Plugin Author

    Posted 1 year ago #

    Hey again, going to mark this topic as resolved but feel free to get back in touch if support is still needed :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Easing Slider
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic