Inserting full-width slider above #content in Outreach theme

Community Forums Forums General Discussion Inserting full-width slider above #content in Outreach theme

This topic is: not resolved

This topic contains 4 replies, has 2 voices, and was last updated by  ratsnacks 9 months, 1 week ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #69057

    ratsnacks
    Participant
    Post count: 14

    Hi

    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.com/forums/topic/full-width-image-or-slider/ but that isn’t quite what I require (Brad is referencing an image not a slider)

    Many thanks

    • This topic was modified 9 months, 1 week ago by  ratsnacks.
    • This topic was modified 9 months, 1 week ago by  ratsnacks.
    http://educulture.com
    #69066

    anitac
    Participant
    Post count: 7032

    You 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.


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    #69068

    ratsnacks
    Participant
    Post count: 14

    Thanks 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.

    #69070

    anitac
    Participant
    Post count: 7032

    Unfortunately 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.


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    #69071

    ratsnacks
    Participant
    Post count: 14

    Hi 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

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

You must be logged in to reply to this topic.