How to get the slider to only show on the Landing page?

Viewing 5 posts - 1 through 5 (of 5 total)
  • #19953
    Tiffiny
    Participant

    Hi, I am using pinboard theme and have a static homepage separate from my blogpage. I’d like the slider to show up on the landing page, but not on the blog. Any help on how to do this?

    The site is here: http://www.arteccentric.com

    Thanks.

    #19978
    Daniel Tara
    Keymaster

    Open index.php and replace this line:

    <?php if( is_home() && ! is_paged() ) : ?>

    with this:

    <?php if( is_front_page() && ! is_paged() ) : ?>

    If you don’t want to touch code you can try Enlightenment theme, that allows you to add a custom slider to any page.

    #19996
    Tiffiny
    Participant

    Thank you so much, but I still can’t find that specific line of code. I am assuming you meant index.php located under wp-admin, correct? I don’t see the original code anywhere that you are recommending replace.

    • This reply was modified 10 years ago by Tiffiny.
    • This reply was modified 10 years ago by Tiffiny.
    #20005
    Daniel Tara
    Keymaster

    You need to modify the index.php file in Pinboard theme’s folder. Please leave the index.php file in wp-admin intact.

    #20023
    Tiffiny
    Participant

    Thank you so very much. Especially for putting up with the techno-stupidity.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.