Fix homepage slider in Metro Pro child theme (not as simple as it sounds. Read)

Community Forums Forums General Discussion Fix homepage slider in Metro Pro child theme (not as simple as it sounds. Read)

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  braddalton 4 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #107573

    Kingsoul
    Member
    Post count: 11

    I need the slider on my homepage (www.konsolekingz.com) to only appear on the homepage of the Metro Pro child theme and not on any posts, pages or archives in the theme.

    My plan is to place the slider in the “genesis_before_content” Hook where I currently have the leaderboard banner ad. The slider will be below the ad and will be as wide as the entire homepage. But this is a site-wide hook, and I don’t know how to only make the slider show on the homepage.

    I’ve asked many people, but what seems like a simple request gets complicated very fast!

    http://www.konsolekingz.com
    #107603

    braddalton
    Participant
    Post count: 10243

    What slider?

    Some use template tags some only use widgets.

    Simply add a conditional tag after the function either way.
    [php]
    is_front_page()
    [/php]
    Example http://wpsites.net/web-design/add-widget-area-before-content/


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

You must be logged in to reply to this topic.