Community Forums › Forums › Archived Forums › General Discussion › How To Insert Slider Widget in New Genesis 2.0 Child Starter Theme
- This topic has 9 replies, 4 voices, and was last updated 11 years, 5 months ago by 4WardMotion.
-
AuthorPosts
-
June 29, 2013 at 3:39 pm #484014WardMotionMember
I am wanting to teach myself how to design child themes using Genesis 2.0. Up to this point I have just tweaked already created child themes, but I am ready to take it to the next level. Especially with 2.0 coming out.
So here is my question...
I have just loaded the new Genesis 2.0 child starter theme and I would like to add my first widgeted area. I would like to put a widget for a slider right under the nav bar that will be the full width and responsive. Can someone please tell me what the proper way is to do this in 2.0 and what the code should look like?
I think if I can get this first widget created and have a better understanding of how the hooks will work in the new 2.0 I will be able to create the other widgeted areas that I am needing.
Thanks for any and all help!
Tyy
June 29, 2013 at 4:11 pm #48414RobGMemberHello, here's a helpful tutorial that shows you how to regester a new widget area http://my.studiopress.com/tutorials/register-widget-area/
You can also find how to reposition the primary navigation and second navigation menus, using these code snippets http://my.studiopress.com/snippets/ please refer to the list I have provided in order to help you.
To speed up the process please post the link to the website in question.
We recommend using Firebug to view source codes http://getfirebug.com/
RobGoss WordPress Developer
We build WordPress websites for your business or personal goals
http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgossJune 29, 2013 at 4:15 pm #48417AnitaCKeymaster@4wardMotion, please keep in mind that the suggestion @RobG gave you may not work as the a lot of the code in 2.0 has been changed. 2.0 is still in Beta.
Need help with customization or troubleshooting? Reach out to me.
June 29, 2013 at 4:19 pm #48418AnitaCKeymasterAlso, I note this because the mark up in 2.0 is different. You can see the comparison chart here - http://www.briangardner.com/code/genesis-html5-loop-hooks/.
Need help with customization or troubleshooting? Reach out to me.
June 29, 2013 at 4:29 pm #48419RobGMemberHello Anitac, Are you saying he cannot use the snippets that I provided to register a new widget area? Will StudioPress be updated the codes snippets that they have listed on their main website? Thanks so much.
To speed up the process please post the link to the website in question.
We recommend using Firebug to view source codes http://getfirebug.com/
RobGoss WordPress Developer
We build WordPress websites for your business or personal goals
http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgossJune 29, 2013 at 4:57 pm #48429AnitaCKeymasterThe hooks inside the snippets are for PRE-2.0. The link I shared - shows the new hooks. I don't work for SP so I cannot say if they will update the old snippets or create new ones based on 2.0.
Need help with customization or troubleshooting? Reach out to me.
June 29, 2013 at 5:07 pm #48430RobGMemberOk Anitac thanks for clearing that up for me was just wondering. thansks for your views.
To speed up the process please post the link to the website in question.
We recommend using Firebug to view source codes http://getfirebug.com/
RobGoss WordPress Developer
We build WordPress websites for your business or personal goals
http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgossJune 29, 2013 at 7:50 pm #484484WardMotionMemberThank you both for your feedback. That was my concern, wondering if 2.0 markup would be different. Please let me know if you find out any different information from what was shared above.
Thanks!
Tyy
June 29, 2013 at 8:23 pm #48455Brad DaltonParticipantHere's an example of the code you can use or modify.
I assume you would like the slider on the home page only.
If so, you will need to change the conditional tag from is_single to is_home or is_front_page if using a static page as your home page.
The only hooks which have changed are the loop hooks which won't effect you because your widget area is outside the loop.
You can also change the hook to something like the genesis_after_header hook.
Not sure which nav menu you are using or which location your nav menu's output.
June 30, 2013 at 11:01 am #485574WardMotionMemberThanks Brad!
I will look this over and see how I can make it work for what I am doing.
Tyy
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.