Hello. I’m trying to remove the post images on post detail pages. I’ve added the following to my “functions.php” file:
remove_action( 'genesis_post_content', 'genesis_do_post_image' );
However, the post images are being removed from archive pages, not from the post detail pages.
Does anyone know how to remove the post images from the post detail pages (via php code in the “functions.php” file)?
According to http://docs.garyjones.co.uk/genesis/2.0.0/function-genesis_do_post_image.html, genesis_do_post_image() is used to echo the post image on archive pages, not single pages.
On my test site, I do not see the featured image in single posts (yes, I made sure that the post being viewed has a featured image attached). But I see it on the demo site, http://demo.studiopress.com/amped/bon-jovi-lost-highway.htm.
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.