Created
June 26, 2013 06:07
-
-
Save makbeta/5865090 to your computer and use it in GitHub Desktop.
WordPress: Remove/updates categories/tags from posts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//remove tags & categories beneth posts | |
function my_remove_post_meta($post_meta) { | |
if (!is_page()) { | |
return; | |
// $post_meta = '[post_categories sep="/" before=""] [post_tags sep="/" before=""]'; | |
// return $post_meta; | |
} | |
} | |
add_filter( 'genesis_post_meta', 'my_remove_post_meta' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment