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 coding 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
Removing the Featured Post on the 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 endeavor to always visit hubsidy.com.
nice tutorial bro I am using eleven40 them if want any person then contact me absolutely free
Hey Samual
I need your help. I am wordpress developer. Can you tell me how i can author info on page.. please check my website rajiv websupports in
Hey Samual can you tell me how i can remove that read more…. showing at homepage. please check my website www examanswer in.
I want to remove it as it is creating double permalinks on homepage for a single post.
Hey Sam, thanks for sharing this helpful tip!
I copied the code above and replaced it with mine and guess what? I loved it more than before.
Now, my blog looks perfectly great.
Thanks once again!
It showing featured post style in category too.How to remove that?
Are you talking of the placement on category pages? That’s the default style Vaibhav.