Community Forums › Forums › General Discussion › Want Education Theme Widgets W/out Blog
This topic contains 7 replies, has 3 voices, and was last updated by braddalton 2 months, 2 weeks ago.
-
AuthorPosts
-
February 17, 2013 at 11:56 am #20836
I am using the Education Theme template. I would like my front page to retain all of the widgets (header, slider, feature, etc) but don’t want the blog below (in other words, a static page). How do I do this?
I am an absolute newbie so please keep this in mind. Thanks.
February 17, 2013 at 12:41 pm #20853Remove the loop by adding this code to your home.php file after the <?php opening PHP tag.
remove_action( 'genesis_loop', 'genesis_do_loop' );
Backup the file first.
Or you could make a custom home page template using the code from the default home.php file. http://designsbynickthegeek.com/tutorials/add-widgeted-sidebar
WordPress Developer & Consultant
Brad Dalton @ WP Sites – Click Here to Get Genesis Child Theme Tips Delivered.February 27, 2013 at 6:56 pm #23212Brad,
I added:
remove_action('genesis_loop','genesis_do_loop');to my Minimum Theme looking for the same effect as above. However, once I do that I’m missing something. It’s still shows a blog post if there are any.
What am I missing?
Thanks
Hank
February 27, 2013 at 7:18 pm #23213Hank. Could you post a link to your site please.
Try this code in your child themes style.css file:
.home .post, .navigation li a, .navigation li.disabled, .navigation li a:hover, .navigation li.active a { display: none; }
WordPress Developer & Consultant
Brad Dalton @ WP Sites – Click Here to Get Genesis Child Theme Tips Delivered.February 27, 2013 at 7:20 pm #23215February 27, 2013 at 7:22 pm #23216Brad,
Does it matter where I add the code on the style.css sheet? Beginning, end, etc?
Rookie
Hank
February 27, 2013 at 7:30 pm #23217The end of the file is best Hank.
WordPress Developer & Consultant
Brad Dalton @ WP Sites – Click Here to Get Genesis Child Theme Tips Delivered.February 27, 2013 at 7:50 pm #23220If you’re using the Minimum theme, you could remove all posts from displaying on the home page using this CSS:
.home #inner { display: none; }
WordPress Developer & Consultant
Brad Dalton @ WP Sites – Click Here to Get Genesis Child Theme Tips Delivered. -
AuthorPosts
You must be logged in to reply to this topic.