Hide Comment Count For Specific Custom Post Type On Blog Page
-
On our blog page, I would like to hide or remove the comment count for a specific custom post type.
I just cannot seem to figure this one out. This data is created via the content.php file and specifically, this is the content I would like to hide for only one custom post type. All others posts should display,
<span class="date-sep"> | </span> <a href="<?php echo get_comments_link( $post->ID ); ?>"> <?php comments_number( 'Comment', '1 Comment', '% Comments' ); ?></a>
Any help would be greatly appreciated!
- This topic was modified 5 years, 7 months ago by .
- This topic was modified 5 years, 7 months ago by .
- This topic was modified 5 years, 7 months ago by .
- This topic was modified 5 years, 7 months ago by .
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Hide Comment Count For Specific Custom Post Type On Blog Page’ is closed to new replies.