Archived topic
Removing Hook
5 replies · Started by Mahardhika on July 15, 2020
Hi
i want to restructure the featured image position div,
i use child theme and insert this to remove current hook, but it doesnt remove
add_action( 'generate_before_content','re_featured_image' );
function re_featured_image() {
remove_action( 'generate_before_content', 'generate_featured_page_header_inside_single', 20 );
}
need to make featured image outside "inside-article" class
thanks
Hi there,
you can change the Featured Image Location in Customizer > Layout > Blog --> Featured Images -> Posts. You can change it to Above Content Area.
Let me know if that works.
hi
already do that
but doesnt result like i want
now = https://i.imgur.com/SzC48Rg.png
i want it like this = https://i.imgur.com/clEwk0y.png
is that possible to modify div/html structure?
thanks
In Customizer > Layout > Blog –> Featured Images -> Posts - Uncheck: Display padding around images
hi
sorry still doesnt get what i want
is that possible to modify div/html structure with removing hook or any other way?
That option should provide exactly what you displayed here:
i want it like this = https://i.imgur.com/clEwk0y.png
It may just be a case that the images are not wide enough - if you want to enable that option i can take a look.