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
Some use template tags some only use widgets.
Simply add a conditional tag after the function either way.
Brad Dalton has written 1910 tutorials & 4000+ Code Snippets for Genesis & WordPress – Not For Hire.
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!