WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Responsive slider stop working (4 posts)

  1. lee718
    Member
    Posted 1 year ago #

    Responsive slider stop working when I changed my permalinks to default and back to post like they were before. I've since added some photos and it hasn't worked.

    I tried deactivating and reactivating the plugin and then set settings and add images. Still nothing.

  2. lee718
    Member
    Posted 1 year ago #

    Update: when I add || contact or another page to conditional, the slider shows in all pages.

    This is how I have the code set in my header.php:
    <?php if(is_page('home'))do_shortcode( '[responsive_slider]' ); ?>

    Now I need to just get it working in that one page only: page-home.php

  3. lee718
    Member
    Posted 1 year ago #

    I'm still not sure what changed, but in case this helps anyone, I changed the lowercase h to Home and it worked.

    <?php if(is_page('Home'))do_shortcode( '[responsive_slider]' ); ?>

  4. lee718
    Member
    Posted 1 year ago #

    I'm still not sure what changed, but in case this helps anyone, I changed the lowercase h to Home and it worked.

    <?php if(is_page('Home'))do_shortcode( '[responsive_slider]' ); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic