Community Forums › Forums › Archived Forums › Design Tips and Tricks › How to remove blog posts from Minimum Pro homepage
Tagged: Genesis Extender, minimum pro, remove blog posts
- This topic has 9 replies, 4 voices, and was last updated 12 years, 1 month ago by
Ken Jensen.
-
AuthorPosts
-
October 11, 2013 at 6:12 pm #66353
James Chai
MemberHello,
I am using Minimum Pro and want to REMOVE posts from showing on the homepage.
=> http://www.99centbeatstore.net/
I went to the front-page.php file and removed the following code:
//* Genesis grid loop
function minimum_grid_loop_helper() {if ( function_exists( 'genesis_grid_loop' ) ) {
genesis_grid_loop( array(
'features' => 0,
'feature_image_size' => 0,
'feature_content_limit' => 0,
'grid_image_size' => 0,
'grid_content_limit' => 250,
'more' => __( '[Read more]', 'minimum' ),
) );
} else {genesis_standard_loop();
}
}
As soon as I refreshed my page I got a fatal error message which then prompted me to replace the code.
Any ideas?
thanks in advance.
http://www.99centbeatstore.netOctober 11, 2013 at 8:12 pm #66365Brad Dalton
ParticipantYou will also need to remove the function on line 36 for that code or simply comment it out as seen in this example:
//add_action( 'genesis_loop', 'minimum_grid_loop_helper' );
October 11, 2013 at 8:25 pm #66367James Chai
MemberThat worked great and thanks!
How about the white space that remains?
October 11, 2013 at 8:29 pm #66368Brad Dalton
ParticipantI would use Firebug to find the class and remove it using display: none.
October 11, 2013 at 8:36 pm #66371James Chai
MemberI tried that and found the class:
.site-inner {
background-color: #fff;
clear: both;
padding-top: 40px;
padding-top: 4rem;
}I changed it to
.site-inner {
background-color: #fff;
display: none;
clear: both;
padding-top: 40px;
padding-top: 4rem;
}and it removed the white space on the homepage and every other page as well?
October 11, 2013 at 8:43 pm #66372Brad Dalton
ParticipantOctober 11, 2013 at 8:48 pm #66373James Chai
MemberBrad you are a gentleman and a scholar! Thanks!
October 12, 2013 at 12:52 am #66379Brad Dalton
ParticipantNovember 17, 2013 at 1:03 pm #73640PrayersNApples
MemberI also have Minimum Pro and want to accomplish the same thing (at http://www.prayersandapples.com). However, I'm really new at all this and afraid of going into my function.php - I downloaded Genesis Extender, is there a way to accomplish the same thing with that (getting rid of the blog posts on the home page + any extra space it leaves)?
March 15, 2014 at 10:49 pm #95087Ken Jensen
MemberSame issue and followed your directions Brad. Worked perfectly for me as well. I have an all white background and can't see where this white space might be occurring so, moot point. The first issue was the key and I am ecstatic that it worked! Thanks!
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.