- This topic has 3 replies, 2 voices, and was last updated 9 years, 4 months ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Theme: Streamline Pro
Plugins: Master Slider, Genesis Simple Sidebars, Genesis Simple Hooks
Challenge: I've successfully created and registered a new sidebar for the the site. Now using Genesis Simple Hooks, I need to get a different slider to show on the homepage and another one on say the "About page. To start, I'd like to have a Slider show on the homepage "only" and no sliders on the other pages or posts archives.
Here is the code I'm successfully using in Genesis Simple Hooks to show the slider on "all" pages.
<?php masterslider(1); ?>
Thanks Lauren - but would you mind showing me an example of what would actually work for me so that I can plug it into the Simple Hook area? While I understand the concept of conditional statements, I just don't know how to write the full bit of code.
© 2023 WPEngine, Inc.