Community Forums › Forums › Archived Forums › General Discussion › Inserting full-width slider above #content in Outreach theme
Tagged: full-width slider, outreach
- This topic has 4 replies, 2 voices, and was last updated 12 years, 8 months ago by
ratsnacks.
-
AuthorPosts
-
October 26, 2013 at 5:15 am #69057
ratsnacks
MemberHi
I would like to move the Revolution slider currently in a widget within the #content div to appear directly below the nav bar, at full-width, on all pages on the site http://educulture.com/
The Rev slider help page (http://codecanyon.net/item/slider-revolution-responsive-wordpress-plugin/2751380/support) says :
In order to include the slider inside a theme’s page template you can use this php. Please add it where you want the slider to appear (maybe replace your old slider (ask for theme author’s help if needed)): <?php putRevSlider(“SLIDERALIAS”) ?>
Could anyone advise exactly where and how to paste in that PHP line?
I saw Brad's advice on http://www.studiopress.community/topic/full-width-image-or-slider/ but that isn't quite what I require (Brad is referencing an image not a slider)
Many thanks
http://educulture.comOctober 26, 2013 at 6:25 am #69066AnitaC
KeymasterYou can use the Genesis Simple Hooks plugin for this along with the Visual Hook Guide to find your placement. Take their code and put it in the appropriate hook area.
Need help with customization or troubleshooting? Reach out to me.
October 26, 2013 at 6:56 am #69068ratsnacks
MemberThanks Anita for a superfast reply. That works well for me, however do you know how I can adapt it so that I can assign specific sliders to specific pages? At the moment it pulls the default slider ('home') onto every page after the header.
October 26, 2013 at 7:20 am #69070AnitaC
KeymasterUnfortunately I don't. I answered the initial question with what I thought was the best answer for what you requested - "seen on all pages." The Soliloquy Slider uses shortcodes. Does your slider use shortcodes? Can you create more than one type of slider with that? I am thinking instead of doing it the way I suggested, you would need to add a site-wide widget area, use Text Widgets and possibly Widget Logic to indicate the pages/posts you want it to show up on. Or you would need a more seasoned developer such as Brad to custom code something for you.
Need help with customization or troubleshooting? Reach out to me.
October 26, 2013 at 7:31 am #69071ratsnacks
MemberHi Anita
Thanks - yes I didn't word the OP too well - what I meant was a slider on all pages, but not the same one (I should have realised this would happen when I added the specific slider reference in Simple Hooks).
Yes, Revolution Slider does use shortcodes, I will look into the widget approach you suggest.
One final question - any idea how I would keep this newly-added slider ONLY on the homepage?
Thanks
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.