Community Forums › Forums › Archived Forums › General Discussion › Sleek Theme Home Page Question
- This topic has 3 replies, 2 voices, and was last updated 10 years, 4 months ago by nutsandbolts.
-
AuthorPosts
-
November 4, 2013 at 8:26 pm #70997robMember
I am looking to remove the "home top right" from my home page and make my "home top left"
I'm not exactly sure what code to remove from home.php to remove "home top right" ?
<?php get_header(); ?>
<div id="home">
<div id="home-top">
<div class="home-top-left">
<?php if (!dynamic_sidebar('Home Top Left')) : ?>
<div class="widget">
<h4><?php _e("Home Top Left", 'genesis'); ?></h4>
<div class="wrap">
<p><?php _e("This is a widgeted area which is called Home Top Left. It is using the Genesis - Featured Posts widget to display what you see on the Sleek 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 Home 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 .home-top-left -->
<div class="home-top-right">
<?php if (!dynamic_sidebar('Home Top Right')) : ?>
<div class="widget">
<h4><?php _e("Home Top Right", 'genesis'); ?></h4>
<div class="wrap">
<p><?php _e("This is a widgeted area which is called Featured Bottom Right. It is using the Genesis - Featured Posts widget to display what you see on the Sleek 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 Home 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 .home-top-right -->
</div><!-- end #home-top -->My thoughts are remove
<div class="home-top-right">
<?php if (!dynamic_sidebar('Home Top Right')) : ?>
<div class="widget">
<h4><?php _e("Home Top Right", 'genesis'); ?></h4>
<div class="wrap">
<p><?php _e("This is a widgeted area which is called Featured Bottom Right. It is using the Genesis - Featured Posts widget to display what you see on the Sleek 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 Home 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 .home-top-right -->
I dont know anything about .php? Barely anything else either....?????
http://www.lakestream.com
Any thoughts?November 5, 2013 at 12:13 pm #71077nutsandboltsMemberIs there a particular reason why you need to remove Home Top Right from the theme entirely? If you don't put any widgets in that area, it shouldn't show up on the homepage.
Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
I provide development and training services for designers • Find me on Twitter and Google+November 28, 2013 at 4:48 pm #76091robMemberI thought of that but if I dont put a widget in the area it shows up with the wording from the functions.php
Any help would be appreciated!
November 30, 2013 at 10:57 pm #76383nutsandboltsMemberHave you viewed the site when you're logged out? Usually the text only shows up to logged in users when a widget area is empty. Visitors shouldn't see it.
Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
I provide development and training services for designers • Find me on Twitter and Google+ -
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.