Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'genesis_post_info', 'remove_post_info_exclude_news_category' );
- /**
- * @author Brad Dalton
- * @link http://wpsites.net/web-design/modify-post-info-genesis
- */
- function remove_post_info_exclude_news_category($post_info) {
- if ( in_category('web-design') ) {
- $post_info = '[post_comments] [post_edit]';
- return $post_info;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement