1.In your single.php find the location where it include the comment template.
2. Then Check the category name of the post.
3. Use if else statement to check if its the category u want/not to display the comment and include it by desire.
Related Posts:
- Display comments on a comment page without form
- Let visitors post comments on category page
- How i can let users add notes to my posts
- How do I specify more than one category?
- Display category-specific comments in sidebar
- Admin comments and user restrictions
- Latest comments from each category?
- Show posts in “image” format when viewed in category page, but with comments in blog
- If x comments in a post move post to category y
- displaying the last product comment in the woocommerce category
- How to add commentary types or category for a post
- Removing categories, Comments etc from posts?
- comments_number fails to print
- Update/change category of a post when it’s been inactive for a certain number of days
- Multisite – Protect categories from deletion?
- Where/how are categories stored?
- Get top parent category
- wp_update_nav_menu_item() to insert categories
- Redirecting specific category posts to subdomain
- How can I prevent users from creating new categories?
- Get child categories when clicking on parent category
- Custom color for each category name
- Block multiple categories from Blog
- Show posts of one category only with Custom Taxonomy on single.php
- Wrap a chosen category name with div
- Category tree is flattened inside admin upon saving
- Get woocommerce catogry
- Get last post date yesterday from each categories not work & double result post
- How do I add a function on a specific post category?
- Open subcategories in submenu on click in primary menu
- How to add Categories to the top menu of the website?
- Multiple categories PROBLEM and Duplicating main categories
- force category base – archive pages work WITH & WITHOUT category base slug in url?
- Retrieve Image from Media Library by it’s category
- Getting URL of archive (category) page
- Strip a word from wp_list_categories
- Exclude category from fucntion
- Get Unique Categories – Group By?
- Filter Categories in meta box for CPTs
- Site search needs to find posts for category topic AND Tag or keyword thats not in the post
- Get category url in loop
- Previous/next post links displaying wrong category than is desired
- category url structure
- Order by category titles
- How to conditionally hide author name on Single.php if category is “news”, otherwise if category is something else display author name?
- How to let users choose posts order in categories?
- WordPress category
- Different Output for “Every Other” Foreach Statement?
- And/Or Category Query
- Show subcategories on a parent category page
- not all categories being displayed
- Category archive is displaying all posts rather than the specific category
- Use the category name instead of category slug in permalinks
- How can I display the number of post associated to a category in Twig/Timber WordPress? [closed]
- How to display the parent category if only the child category has been chosen
- Multiple Category Search with and operator in WordPress
- Display list categories from CTP
- Different CSS class by category
- Remove any product that is featured from regular display loop [WooCommerce]
- Latest updated categories list query, exclude one from displaying
- How the posts and categories connected each other in wp 4.1.1?
- Getting parent category hierarchy as objects from category template
- Ordering categories by slug vs. name
- Using in ‘category_name’ in ‘$query->set();’?
- Setting selected term_id with wp_dropdown_categories?
- how can i hide category?
- Homepage custom recent news
- post_class remove tag- or category- from slug
- creating categories programmatically
- Pagination for a category
- Assign a list of categories with a parent category
- Custom post type archive category page results in 404
- WP-CLI Add category as menu item main-menu
- Can’t get selected value from wp_dropdown_categories or get_categories
- How to get specific (grand parent) category of current post?
- Blog page with posts from specific categories
- Exclude a category and post_type from wp_query
- How to remove parent category from child category url using wordpress rewrite rule?
- loop in single.php of the same category
- How to assign Categories and tags inside the TinyMCE Editor for each Image?
- outputting taxonomy hierarchy
- Make category archives page in menu non-clickable
- Display Some text in some specific category not all category
- Why use hierarchical taxonomies instead of many custom taxonomies?
- Breadcrumbs and Categories
- Search by tag, category and author without plugin
- How to show posts only for the last subcategory?
- Hide category links if there is nothing in the categories – Main Navigation submenu item
- Create monthly archive for parent category
- Different styles for categories – need to edit a plugin
- Unable to get all tags from specific categories
- Hide all posts by an author
- How to display post title and link within wp_list_categories()
- Right way for setting categories
- Rewrite category list as an if / else statement
- Displaying just one post from each category on archive page
- Exclude categories from homepage but not from sidebar
- Exclude Specific Categories?
- chose category in plugin
- Restricted category in Woocommerce [closed]