Genesis Themes

  • Home
  • Genesis Tutorials
  • WP Tutorial
  • Twenty Fifteen Theme
  • Social Media
  • WP Plugins

How to Remove Post Meta in Genesis Theme

Remove Post Meta in Genesis Themes ( for both XHTML and HTML5  themes):

Field under and tagged with are the post meta data in Genesis themes.Post meta is the data displayed when you assign your posts to category and tag.It is not a great idea to show tags and categories under each post.

genesi post meta and post info

To remove post meta in Genesis theme, you must paste the following code in your functions.php file.

Go to Appearances > Editor > Functions.php

Here's the code to remove post meta in Genesis -for XHTML themes

remove_action( 'genesis_after_post_content', 'genesis_post_meta' );

Here's the code to remove post meta in Genesis -for HTML5 themes

remove_action( 'genesis_entry_header', 'genesis_post_meta', 12 );

 How to Edit post meta in Genesis theme :

Instead of removing entire genesis post meta data,you can edit it with your own sentence.Here is the code snippets to modify or edit post meta in any Genesis child theme.Simply paste it i your themes functions.php file.

/** 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;
}}

 Need Help :

We hope that this tutorial helps you to remove post meta genesis child theme.If you face any problem let us know.

Related Posts

  • How to Modify Speak Your Mind in Genesis Theme
  • An Update : Genesis Framework 2.0.2 Released by StudioPress
  • How to Remove Post Info in Genesis Theme
  • Show Related Posts by Category in Genesis Theme
  • Genesis Display Posts from One Category on Home Page
  • How to Unregister Layouts in Genesis
  • Move Genesis Navigation Menu Above Header
  • 50+ Genesis Tutorials to Build a Great WordPress Blog
  • How to Show Last Updated Date in Genesis Theme
  • How to Display Category Description in Genesis Child Theme

Bluehost and Siteground Coupons for January 2016.

Best Premium WordPress Themes from TemplateMonster
download wordpress themes from MonsterOne

Categories

  • Blog
  • Blogger
  • Genesis Tutorials
  • Social Media
  • Top Websites
  • Twenty Fifteen WordPress Theme
  • WordPress Plugins
  • WordPress Tutorial