• Resolved lunchbox247

    (@lunchbox247)


    Right now the slider I’m using appears on all pages. Is there a way that I can make it only appear on the front page (Home Page) of my site?

    drdanieljaredsmith.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • Norm

    (@casualmagic)

    There is probably some php code that is in your header.php or page.php.

    Assuming it is your page.php file, I would create a custom page for the homepage. Copy your current page.php and rename it front-page.php.

    Then edit your current page.php and remove the line of code that is inserting the slider.

    https://codex.www.ads-software.com/Template_Hierarchy#Front_Page_display

    Theme Author Styled Themes

    (@gejay)

    If you are using a slider with a widget, you have to use a plugin that lets you publish widgets to select areas. Options are:

    1. Advanced Text Widget (uses WordPress conditionals)
    2. Dynamic Widgets (which I use)

    The above (although there are other plugins available) will show the widget (in this case your slider) on pages you select.

    tgd

    (@terrydaisydesignsca)

    I use Widget Logic, that also allows me to display different sliders on different pages. It works beautifully with all themes by StyledThemes. You can have very different widgets on any or all pages. It’s very simple to use.
    I also use the ‘Slideshow‘ plugin, by Stefan Boonstra, in responsive mode, for the Showcase sliders.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I'd like my slider to only be on the front page’ is closed to new replies.