Removing featured image from post
This support request was posted in BBQ by duckmedia
- duckmedia October 24, 2013 at 11:43 am
Hi there,
When I upload a featured image to a post, the image will display in the listing of the blog, which is ok. But…If I open the post, the featured image is there as well. How can I remove the featured image of the posting it self?
Hope to hear from you
Juanfra Aldasoro October 24, 2013 at 11:51 amHello,
Thanks for writing.
If you want to edit that, then you’ll need to edit the file single.php, where the code for displaying the featured image is.
Best,
Juan.Juanfra Aldasoro October 24, 2013 at 12:30 pmYes, you need to remove the code that prints the featured image. That would be:
elseif ( has_post_thumbnail() ) { ?> < ?php } ?>
Best,
Juan.duckmedia October 24, 2013 at 1:02 pmHi Juan,
I did this;
<!–
730, ‘height’ => 338, ‘class’ => ‘wp-post-image’ ) ); ?>
–>And now the featured images is indeed not shown on the post itsellf, which is great for me.
Many thanks, keep up the good work!
Robin
Juanfra Aldasoro October 24, 2013 at 2:02 pmHi Robin,
Excellent. Thanks for your kind words.
Have a good day,
Juan.
You must be logged in to reply to this topic.