Add Slider to Page Agency Theme

Community Forums Forums Design Tips and Tricks Add Slider to Page Agency Theme

This topic is: not resolved

Tagged: , ,

This topic contains 26 replies, has 4 voices, and was last updated by  moxi 1 year, 1 month ago.

Viewing 15 posts - 1 through 15 (of 27 total)
  • Author
    Posts
  • #18958

    tavisme
    Participant
    Post count: 60

    How can I add a slider to a page within the Agency Theme (not front page)?

    #18979

    braddalton
    Participant
    Post count: 7458

    You can create a widget area using a conditional tag and use the Genesis slider or you can use a slider like the easing slider which offers a shortcode.

    Where exactly do you want it and on what page? Can you paste a link to the exact location please.


    WordPress Developer & Consultant
    Brad Dalton400+ StudioPress Tutorials & 1200+ Code snippets

    #18992

    tavisme
    Participant
    Post count: 60

    I would like the slider on an interior page: http://frontrowcom.com/experience Which is not an option with the Agency Theme

    I am not confident in complicated coding. I am still at the copy and paste stage.

    If it is too complicated, I will need to look for help.

    Thanks for your reply.

     

    #19002

    braddalton
    Participant
    Post count: 7458

    Its possible because you can create a widget anywhere there’s a hook.

    Or you can use the Simple Hooks plugin and add code in there with a conditional tag.

    I will supply the code but where do you want it to display on the page?

    Within the content area? Before the content area? In the header on that page only? After the header?

    Check out this visual hook reference. http://genesistutorials.com/visual-hook-guide/

    Why don’t you install the Genesis Simple Hooks plugin and place some text in the exact location you want the slider to output.


    WordPress Developer & Consultant
    Brad Dalton400+ StudioPress Tutorials & 1200+ Code snippets

    #19007

    tavisme
    Participant
    Post count: 60

    Thank you!!

    I want it to display before the content area. I will add the plugin.

    I really appreciate your help.

    #19022

    tavisme
    Participant
    Post count: 60
    This reply has been marked as private.
    #19039

    braddalton
    Participant
    Post count: 7458

    Backup your functions.php file first and add this code:

    Paste it into your child themes functions.php file http://pastebin.com/RZZAsxdQ


    WordPress Developer & Consultant
    Brad Dalton400+ StudioPress Tutorials & 1200+ Code snippets

    #19042

    braddalton
    Participant
    Post count: 7458
    #19086

    tavisme
    Participant
    Post count: 60

    Thank you for the code!!  Does it need to go in any particular place in the functions,php file?

    How will I be able to assign the featured images/pages of the slider?

     

    #19094

    tavisme
    Participant
    Post count: 60
    This reply has been marked as private.
    #19157

    dareadel
    Participant
    Post count: 76

    Hi braddalton,

    Would you be willing to share this code with me as well? This is the information I asked over a week ago but was never resolved. I wanted to place the slider before the content. You had asked if I wanted to place it before the content and I said yes at the time. Here is the link to the post: http://www.studiopress.com/forums/topic/home-page-sidebar-for-slider-plugin/

    I will appreciate your help also.

    #19161

    braddalton
    Participant
    Post count: 7458

    Paste the code at the end of your child themes functions.php file

    How will I be able to assign the featured images/pages of the slider? Yes you can add the i.d’s of the posts and pages to the slider settings.

    Here’s the code:

    http://pastebin.com/u/braddalton


    WordPress Developer & Consultant
    Brad Dalton400+ StudioPress Tutorials & 1200+ Code snippets

    #19164

    dareadel
    Participant
    Post count: 76

    Thank you very much for your help. The site is full of other useful information and I have bookmarked it.

    #19297

    tavisme
    Participant
    Post count: 60

    Brad,

    It worked! Very nice.

    http://frontrowcom.com/our-work

     

    The code resulted in a “BEFORE CONTENT” available widget. I added the Genesis slider widget and it duplicated the slider I have on the front page.  I’ll read on to see if and/or how I can add different content to the slider.

    I have bookmarked your pages, very helpful information here.

    Thanks again!

     

    #20081

    moxi
    Participant
    Post count: 9

    I am looking for more detailed info on these instructions. I want to know what the conditional tag is and where do you put it in the simple hooks.

    I am wanting to put the gen slider on a page before content.

    Thanks.

Viewing 15 posts - 1 through 15 (of 27 total)

You must be logged in to reply to this topic.