Genesis Tip — How To Customize Or Remove Post Meta After Post

As a Genesis developer you may want to customize the post information like categories, etc., which comes after the post content. Out of the numerous filters that Genesis framework provides, there is a filter genesis_post_meta which allow you to customize post meta on your website. By default the post meta displays Filed Under, but you can customize it to display custom post meta. For customizing post meta place the following code in functions.php:

function custom_post_meta($post_meta)
  $post_meta='[[post_categories before="Posted in "]] '; 
  return $post_meta; 
add_filter('genesis_post_meta', 'custom_post_meta ');

If you want to remove post information, place the following code in functions.php:

remove_action('genesis_after_post_content', 'genesis_post_meta');
Divi WordPress Theme