Community Forums › Forums › Archived Forums › Design Tips and Tricks › How do I add another home boxed area in Agency theme?
- This topic has 4 replies, 2 voices, and was last updated 12 years, 7 months ago by
3dron.
-
AuthorPosts
-
March 27, 2013 at 11:43 am #31558
3dron
MemberI thought I was on the right track to add another widget. I used help from http://designsbynickthegeek.com/tutorials/add-widgeted-sidebar and I did get the widget area to appear, but it was boxed together with the home content box (home, left, middle, right.) I want to ADD an additional boxed area called "home-main".
Maybe someone has already posted how to do this but I cannot find, between all the regular insertion techniques that do not create a new boxed area around th new wiget.
Help.
Ron R.
March 27, 2013 at 12:34 pm #31578Brad Dalton
ParticipantChange the hook location if needed and use the i.d home-main to register the widget.
Sorry but your question needs clarifying.
March 27, 2013 at 1:19 pm #315863dron
MemberYou are the master. I saw your posts elsewhere.
Here is what I want:
Header (menu to the right like http://demo.studiopress.com/agency/, but that is another issue)
Welcome text
Main rounded corner box with default 3 columns (left/mid/right)
MyMain rounded corner box content 1 column
Footer rounded corner box with default 3 columns (left/mid/right)
I have my MyMain registered and appearing in widgets. I can drag and drop a recent post widget that I wanted. Then I hooked the widget with simple hooks, in
genesis_after_content_sidebar_wrapHook
but it just appears together under the 3 columns in the same rounded corner box. If I try placing it under other hooks, it just stays in same place, vanishes or appears under the footer box (not in it.)Ron R.
March 27, 2013 at 2:02 pm #31593Brad Dalton
ParticipantPlease paste the exact code you are using in Pastebin.com and drop the link here.
Why are you using simple hooks when the code from Nicks tutorial use custom functions?
Remove that code you added and add this to the end of your child theme functions.php file.
https://gist.github.com/5257550.git">https://gist.github.com/5257550.git
Or grab it from Git https://gist.github.com/braddalton/5257550
March 27, 2013 at 2:27 pm #315963dron
MemberLook here:
http://www.lssacademy.com/beta/
The only code I am using is your code. It yields similar results to the code I was using before. I understand exactly what your code and the old code is doing. But I some how need to create another "DIV" level to hold "MY MAIN" separate from "FOOTER".
The "recent posts" are the only module in "My Main Widget". The social media widget is by itself in the footer3 (right hand footer)
I DONT WANT the recent content and the social icons in the same rounded corner white box. I want them seperate. Does this make sense?
The only reason I used simple hooks in my attempt was so that the client had less mess of custom code if they updated a theme. (I understand I could have edited right into the php file)
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.