Community Forums › Forums › Archived Forums › Design Tips and Tricks › Can I add the responsive slider to a different page other than the home page?
Tagged: Executive theme, responsive slider
- This topic has 7 replies, 2 voices, and was last updated 13 years, 1 month ago by
Brad Dalton.
-
AuthorPosts
-
May 17, 2013 at 1:34 pm #41422
SociallyExceptional
ParticipantHello!
Am using the Executive theme. I need to know if I can use the responsive slider on a different page other than the home page? Right now we need to create an "entrance" page for the main page and then when they click on a button, it would then take them to the main site, which is where the resposive slider would be with the images and layout like in the demo. Is this possible?
http://deanamurphyglobal.com/May 17, 2013 at 1:48 pm #41423Brad Dalton
ParticipantYes you can create a custom widget in any hook location anywhere on your site.
Which hook location and which url do you want the slider on?
May 17, 2013 at 1:56 pm #41426SociallyExceptional
ParticipantIdeally, i need it to go here: http://deanamurphyglobal.com/welcome/ instead.
Now the hook location, Im not too sure about that
May 17, 2013 at 3:17 pm #41435Brad Dalton
ParticipantCopy this code from the view raw link and paste it at the end of your child themes functions.php file using a text editor like Notepad++.
Before you save the file, change the page i.d and the genesis_after_post_title hook to the hook position that suits your needs.
One of these 2 hooks are probably what you want depending on whether you want full width or not:
genesis_before_loop genesis_before_content_sidebar_wrap // This hook displays content full width
Code not displaying? Grab it on Github.
May 20, 2013 at 1:36 pm #41875SociallyExceptional
ParticipantOk great. I've got that in the bottom of the functions.php for the child theme. I also have the Simple Hooks plugin installed - do I need to do anything with that for the genesis_before_loop area?
The one thing I am not clear on, is how I move/designate the "Home-Slider" to work for the page http://deanamurphyglobal.com/welcome/ instead?
May 20, 2013 at 3:44 pm #41898Brad Dalton
ParticipantReplace the 007 in the code above with the page i.d for your page. Grab it from the source code. You don't need to use Simple Hooks.
May 21, 2013 at 4:53 pm #42096SociallyExceptional
ParticipantGreat. Thank you!
Now of course I should've thought about this before I asked the original question, but am I going to have to do something similar (or can I do it) and basically everything that is on the home page currently http://deanamurphyglobal.com/, is what we need to see on the http://deanamurphyglobal.com/welcome/ page. We don't have the "home - top", "home-middle", "home - call to action" in yet, but that's what also will need to show up on the /welcome page.
May 21, 2013 at 5:08 pm #42098Brad Dalton
Participant -
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.