Community Forums › Forums › Archived Forums › Design Tips and Tricks › How to make homepage display 3 widget areas just like footer?
Tagged: widgets
- This topic has 8 replies, 2 voices, and was last updated 13 years, 2 months ago by
Stewart.
-
AuthorPosts
-
July 26, 2013 at 8:24 am #52593
jmoult
MemberHello outrageously fantastic person checking out my post!
First time posting here, looking to get stuck into modifying the Genesis theme.
I would like to display on the homepage of my site 3 widget areas, just like you have in the footer on the stock genesis child theme (I'm using the 2.0 beta). No posts or sidebars, just the 3 widget columns.
I'm ok with html & css, however php is something I only delve into when following a tutorial… so not quite sure how I might go about this — I was thinking it may be possible to simply duplicate the footer & make it function as the content area? Am I on the right track?
If you could point me in the right track, I would be most grateful. Thanks!
James
July 26, 2013 at 8:47 am #52595Stewart
MemberHi James,
Firstly "Hello outrageously fantastic person checking out my post!" haha 🙂 and welcome.
One way is to add this to your child themes functions.php
/* if you want to add widgets to your footer, you can use this function */ add_theme_support( 'genesis-footer-widgets', 3 );
(if you do need more or less widgets just change the number from "3" to however many you wish)
then all you need to do is style them.
Hope this helps
Stewart
WordPress Developer – Need help upgrading to Genesis 2.0? – My Blog
Follow me on TwitterJuly 26, 2013 at 8:56 am #52596jmoult
MemberHi Stewart, or should I say champion? 😛
Thanks for your reply. To clarify, what I'm after is to have 3 widget areas in the main content area (static homepage), instead of in the footer.
What do you think, is there an easy way to implement this? Thanks 🙂
James
July 26, 2013 at 9:07 am #52597Stewart
MemberAh ok gotcha, this should set you on the right track its a tutorial I made a few weeks back:
Custom Homepage with the Genesis Framework
any other questions just ask 🙂
Stewart
WordPress Developer – Need help upgrading to Genesis 2.0? – My Blog
Follow me on TwitterJuly 26, 2013 at 9:12 am #52599jmoult
MemberStewart, I owe you one. If you're not outrageously fantastic, I don't know who is!
James
July 26, 2013 at 9:14 am #52600Stewart
MemberHaha your welcome James
WordPress Developer – Need help upgrading to Genesis 2.0? – My Blog
Follow me on TwitterJuly 26, 2013 at 9:47 am #52601jmoult
MemberWorks a treat. I've also learned a lesson in php — "?>" needs to be at the end of the file, not after the credits at the beginning… awesome. Thanks again Stewart, it's a beautiful thing to ask a question & get such a helpful response.
James
July 30, 2013 at 9:35 am #53212jmoult
MemberStewart, is there an easy way to have these custom widgets match the sidebar widgets styling?
Thanks!
JamesJuly 31, 2013 at 12:12 pm #53410Stewart
MemberHi James,
Sorry for the late reply email has been down for 2 days 🙁
Ok do you have a link to the site in question, ill take a look at what you got so far to see which css clasess you will need to add.
Stewart
WordPress Developer – Need help upgrading to Genesis 2.0? – My Blog
Follow me on Twitter -
AuthorPosts
- The topic ‘How to make homepage display 3 widget areas just like footer?’ is closed to new replies.