• Home
    • Privacy Policy
    • Contact
  • How to
  • Tips
  • Android
  • WordPress
  • Blogger Tips & Tricks
  • Google
  • Facebook
  • Genesis Tutorials

A New Tab

Remove or Edit Post Meta Function in Genesis



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 



You might also like

  1. Remove Post Info from Genesis Theme-Genesis Tips
  2. Insert Adsense after the first post in Genesis Theme
  3. Genesis Theme Tutorials
  4. Change genesis change speak your mind text
  5. How to change the read more text in Genesis
  6. How to change Favicon in Genesis theme
  7. How to create a child theme for Genesis Framework [ from Scratch ]
Filed Under: Genesis Tutorials

Speak Your Mind Cancel reply

*

*

Recent Articles

  • FaceBook introduced Graph Search Friends, Photos : What is it ?
  • How to terminate the account in WHM cPanel
  • How to create a new account in WHM cPanel
  • Unlock Pattern Lock Android tablet-Phone
  • Find Android Version and Update your Samsung Galaxy Tab Automatically
  • Find IMEI Number of your Samsung Galaxy Tab
  • Clean and Speed up chrome with one click

Return to top of page

Copyright © 2013 · Genesis Sample Theme on Genesis Framework · WordPress · Log in