Archived topic
Remove the Post-Image
3 replies · Started by Alexander on June 15, 2018
Viewing posts 1–4 of 4
Hi there,
in the past, i used the following Code to remove the Post-Image:
add_action( 'wp','generate_remove_page_header' );
function generate_remove_page_header() {
remove_action('generate_after_header','generate_featured_page_header', 10);
remove_action('generate_before_content','generate_featured_page_header_inside_single', 10);
}
But it does no longer work.
Is there an Update of that Code?
Hi there,
Are you wanting to remove featured images?
If so you can actually use the customizer option: https://docs.generatepress.com/article/adjusting-the-featured-images/
Let me know if this helps.
Ahh great! That's it.
So the old Script is obsolete.
Yup. Customizer option is better.
This archived topic is closed to new replies.