How to remove featured image from blog posts loop
-
I have added this code to my child theme functions file and it removes the featured image from the single post pages, but not from the blog page.
function remove_storefront_actions() { remove_action( 'storefront_post_content_before', 'storefront_post_thumbnail', 10 ); } add_action( 'init', 'remove_storefront_actions' );
I’m currently just hiding the featured image with CSS, but want to know how I can do the job correctly and actually remove the image code?
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to remove featured image from blog posts loop’ is closed to new replies.