Genesis Eleven40 Pro Theme Customization – Removing Featured Post

For sometime now, i have often been asked how to remove the featured post on the Genesis Eleven40 Pro theme. Please be aware that the Eleven40 theme is quite different from the Eleven40 pro theme as the codings differs.

Not everyone is comfortable with the featured post been present on the homepage. Most bloggers prefer their homepage been simply. If you happen to fall into the category of those wanting to remove the featured post which is present at the Homepage on the eleven40 theme, this post will definitely help you through.

remove featured post on genesis eleven40 pro theme

Remove Featured Post On Genesis Eleven40 Pro Theme

Removing Featured Post on Genesis Eleven40 Pro theme involves you changing just a figure in the home.php file of the theme. At this point, i will assume you already have the theme installed on your blog and activated. If that be the case, Please follow the simple steps below:

==> When logged into your WordPress Dashboard, Navigate to Appearance > Editor

==> Look to the right side of the page and click on home.php

==> Look closely and find where it says ‘features’                => 1, Change the 1 to 0.

Alternatively,


Based on the fact that some users complained changing the figure from 1 to 0 doesn’t work for them, the next possible solution is just to copy my edited Genesis Eleven40 Pro theme home.php codes into yours. Below is the code to copy:

<?php

remove_action( 'genesis_loop', 'genesis_do_loop' );
add_action( 'genesis_loop', 'eleven40_grid_loop_helper' );
/** Add support for Genesis Grid Loop */
function eleven40_grid_loop_helper() {

if ( function_exists( 'genesis_grid_loop' ) ) {
genesis_grid_loop( array(
'features'                => 0,
'feature_image_size'    => 0,
'feature_image_class'     => 'alignleft post-image',
'feature_content_limit' => 0,
'grid_image_size'        => 'grid-featured',
'grid_image_class'        => 'grid-featured',
'grid_content_limit'     => 250,
'more'                    => __( '[Continue reading]', 'eleven40' ),
) );
} else {
genesis_standard_loop();
}

}


genesis();

Remove all the home.php code on your Eleven40 Pro theme (Do Not Save YET!), paste the above home.php code into yours and save. That should do the trick. Try accessing your homepage and you should not find the featured post displaying again and every post will be in accordance.

Subsequently, I will be giving more tutorials relating to Genesis eleven40 theme, Eleven40 Pro theme and more, hence, please endevour to always visit techsng.com

About the author

Certified Blogger | 'not so good' Singer | Back then Songs and Play Writer | Peace loving personality | Pet Lover | ETC *winks

5 Comments

Leave a Comment