How to remove Genesis Framework post meta along with the Footer wrap on blog loop and single.php?
Author: Dimitar Radev | Posted on: November 10, 2019 |

Hello,
In this article, I will show you how to remove the footer wrap when removing the post meta in the Genesis Framework. When we want to remove the meta from the post in Genesis we are told just to remove genesis_post_meta however, this leaves the <footer> tag empty and that is not OK. In order to remove the post meta footer wrap, we need to remove also genesis_entry_footer_markup_open and genesis_entry_footer_markup_close.
Below you can see the whole piece of code
//Remove the entry meta in the entry header (requires HTML5 theme support)
remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
//Remove the entry footer markup (requires HTML5 theme support)
remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_open', 5 );
remove_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_close', 15 );
I hope this mini-tutorial was helpful.
Have a great one!
If you want to recieve the latest WordPress snippets, tutorials, tricks and useful information about web development, seo, social media marketing, google you can Subscribe to our newsletter. All you need to do is to fill the Subscribe form below, verify your Free Subscription in your email and start read our daily useful tips and tricks straight in your mailbox.
Note* we hate spam and our newsletter is powered by Google Feedburner and you will not get spam messages in your mailbox.
Leave a Reply