About Sridhar Katakam
I am an independent WordPress web consultant with 10 years of experience in WordPress theme installation, customization, administration, maintenance, support, documentation, troubleshooting and PSD/design to WP.
Genesis and WordPress Tutorials
Session expired
Please log in again. The login page will open in a new tab. After logging in you can close it and return to this page.
Thanks, Sridhar! I will pass this on!
Thanks!!!
This works great, thank you! How would I change the code to remove the featured image thumbnail from the first (full) post?
I’m stuck on this too!
If I uncheck “Include the Featured Image” in Genesis settings, I lose featured images on the excerpts (which I don’t want). If I check “Include the Featured Image”, I get the featured image right under the title of the first post (which I don’t want – I don’t want the featured image showing anywhere except when accompanied by an excerpt).
I’m thinking the problem is the “…Featured image options, if set in Genesis settings will be respected…” part of this code, because the outcome is wrong whether that box is checked or not. I need to override what’s in Genesis settings and take control of exactly where thumbnails appear.
Did you ever get this resolved?
I fought with this for a good 5 hours before discovering this plugin that solved everything in 2 minutes: http://nataliegraham.me/how-to-display-both-full-posts-excerpts-in-genesis/
I could never get this code to work in a way that displayed featured image thumbnails on everything *except* the first full/main post. It was either thumbnails on everything, or thumbnails on nothing.
I’m bummed I never found a php/Wordpress filter solution to this problem. I would love to see an update to this how-to that explains how to remove the featured image from the full post while keeping it with all the excerpts everywhere else on your site!
Thanks for this Sridhar.
Would it be possible to have the posts after the first display in two columns, instead of one underneath the other?
Thanks again for all your very helpful posts!
http://www.sridharkatakam.com/show-full-post-followed-excerpts-genesis/
Thanks so much for your help, Sridhar. I really appreciate it!
I installed the plugin and added the code to the function.php, and made
the changes to the Genesis Theme Settings & the Grid Loop.
The Teasers appear fine, but the Features on the first page and those of
subsequent pages have the image appearing 2 times with a full post instead
of displaying the post excerpt.
How would I be able to fix this?
I have the content archives in Genesis Theme Settings set to:
Display post excerpts
Include the Featured Image is ticked
Image Size is set to thumbnail (150 x 150)
I’m using Modern Portfolio Pro
The site is http://www.personaldevelopmentcorner.com
All works perfectly now.
I removed the code that I added to the functions.php and everything got fixed.
Thanks again for all you help.
I thought I fixed it, but I didn’t.
I still have 2 images showing.
If I remove this code from the functions.php :
/**
* Use Full Content for Features in Grid Loop
*
* @author Bill Erickson
* @link http://www.billerickson.net/code/full-content-features-in-grid-loop
*
* @param string $option
* @return string $option
*/
function be_full_content_for_features( $option ) {
if( in_array( ‘feature’, get_post_class() ) )
$option = ‘full’;
return $option;
}
add_filter( ‘genesis_pre_get_option_content_archive’, ‘be_full_content_for_features’ );
I have only one image showing, but there’s only the excerpt instead of the full post.
Add this CSS:
.home .feature .entry-image {
display: none;
}
It worked!
Thank you, Thank you, Thank you, Sridhar
Hi, thanks for this tutorial. I want to have my sticky post for a particular category always show full, how would I tweak this code in order to do that?
Thank you!! The exact solution I needed and I’ve been searching all day. Worked perfectly!