removing postmetadata for specific category
-
Using the U-Design theme, I am trying to edit the php to remove metadata when using a post in category 2, this is what I have, and it doesn’t work:
if( $category->term_id != 2 ) { echo ''; } else if( $udesign_options['show_portfolio_postmetadata_author'] == 'yes' ) : printf( __('By %1$s on %2$s ', 'udesign'), '</span>'.udesign_get_the_author_page_link().'<span>', get_the_date() ); else : printf( __('On %1$s ', 'udesign'), get_the_date() ); endif; ?>
please help!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘removing postmetadata for specific category’ is closed to new replies.