Community Forums › Forums › Archived Forums › Design Tips and Tricks › Merge Featured Widget Areas into one in Serenity Theme
Tagged: merge feature widgets, serenity
- This topic has 4 replies, 2 voices, and was last updated 9 years, 4 months ago by
jodirm.
-
AuthorPosts
-
October 30, 2013 at 11:24 am #69927
jodirm
MemberI'll start by revealing that this is my first WordPress site (so be gentle :)). My site is http://www.jodimcdaniel.com.
The primary thing I want to know is how to merge the left and right top feature areas into one on the home page. If I change to a static home page, I get the right sidebar layout, but no widget areas on the left. I want the titles above the sections, but think it looks too busy with the two columns at the top. I'll move the sign up form to the sidebar once I accomplish the merge. What's the best/simplest way to accomplish this?
Thanks!
http://http:www.jodimcdaniel.om
JodiOctober 30, 2013 at 12:21 pm #69950Brad Dalton
ParticipantOctober 30, 2013 at 1:44 pm #69969jodirm
MemberThis is helpful, and I was able to add the wider widget area! But since I'm new to all this and I've broken the site once by trying to remove things, can you tell me...how do I remove the 2 original featured top left and right areas that now appear under the area that was added?
Thanks again!
JodiOctober 30, 2013 at 2:35 pm #69982Brad Dalton
ParticipantSimply remove this code from the home.php file:
<div id="featured-top"> <div class="featured-top-left"> <?php if (!dynamic_sidebar('Featured Top Left')) : ?> <div class="widget"> <h4><?php _e("Featured Top Left", 'genesis'); ?></h4> <div class="wrap"> <p><?php _e("This is a widgeted area which is called Featured Top Left. It is using the Genesis - Featured Posts widget to display what you see on the Serenity child theme demo site. To get started, log into your WordPress dashboard, and then go to the Appearance > Widgets screen. There you can drag the Genesis - Featured Posts widget into the Featured Top Left widget area on the right hand side. To get the image to display, simply upload an image through the media uploader on the edit page screen and publish your page. The Featured Posts widget will know to display the post image as long as you select that option in the widget interface.", 'genesis'); ?></p> </div><!-- end .wrap --> </div><!-- end .widget --> <?php endif; ?> </div><!-- end .featured-top-left --> <div class="featured-top-right"> <?php if (!dynamic_sidebar('Featured Top Right')) : ?> <div class="widget"> <h4><?php _e("Featured Top Right", 'genesis'); ?></h4> <div class="wrap"> <p><?php _e("This is a widgeted area which is called Featured Top Right. It is using the Genesis - Featured Posts widget to display what you see on the Serenity child theme demo site. To get started, log into your WordPress dashboard, and then go to the Appearance > Widgets screen. There you can drag the Genesis - Featured Posts widget into the Featured Top Right widget area on the right hand side. To get the image to display, simply upload an image through the media uploader on the edit page screen and publish your page. The Featured Posts widget will know to display the post image as long as you select that option in the widget interface.", 'genesis'); ?></p> </div><!-- end .wrap --> </div><!-- end .widget --> <?php endif; ?> </div><!-- end .featured-top-right --> </div><!-- end #featured-top -->
October 31, 2013 at 10:47 am #70135jodirm
MemberThat did the trick...thank you so much!!
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.