In one of our previous posts we discussed about how to remove post info for genesis theme. Many people get confused about post info and post meta in Genesis. Let me clarify you about differences between post info and post meta. GENERALLY Post info is the information about the information about the post like author, number of comments, date, leave a comments these kind of options and it generally just after the title tag where as Post Meta contains information about tags, categories and generally it is at the end of the post. Let us see how to remove the post info after the post in genesis.
Before stepping further it is must to create a child theme in genesis if you are not aware of how to create a child theme in genesis you can create child theme for genesis from scratch.
Remove post meta information in genesis
If you are looking to completely remove post meta information from genesis add the below line in functions.php of your child theme ( Dashboard -> Appearance -> Editor )
/** Remove the post meta function */ remove_action( 'genesis_after_post_content', 'genesis_post_meta' );
Modify Post Meta info from genesis
If you don’t want to completely remove post meta information instead if you want to just modify the part of the post meta information by pasting the below part of code in your child theme of your functions.php
/** Customize the post meta function */
add_filter( 'genesis_post_meta', 'my_own_post_meta' );
function my_own_post_meta($post_meta) {
if (!is_page()) {
$post_meta = 'YOUR OWN CUSTOM META LINE HERE';
return $post_meta;
}}
If you want to modify or to have the custom post meta you can add tags like [ post_categories ] and you can find the complete set of options here