Title: Customize Comments Table
Last modified: December 17, 2021

---

# Customize Comments Table

 *  Resolved [calaiopee](https://wordpress.org/support/users/calaiopee/)
 * (@calaiopee)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/customize-comments-table/)
 * Hi,
 * I have custom post types and admin roles that can read/edit/edit their related
   post type only.
 * These post types can have comments. Now I need that the admin comments_table 
   for my sub admin shows only the comments to his related cutom post type.
 * So far the sub-admin’s dashboard shows only the custom post type and a comments
   list. The “others”-comments in this list are already “disabled” (not editable)
   but they still show. I need to hide/exclude them completely because of privacy
   issues.
 * Thanks
    Kathryn
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcustomize-comments-table%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [4 years, 5 months ago](https://wordpress.org/support/topic/customize-comments-table/#post-15174173)
 * Is this request similar/matching to [https://wordpress.org/support/topic/show-comments-admin-menu-for-cpt/](https://wordpress.org/support/topic/show-comments-admin-menu-for-cpt/)
   or is it a related but different issue?
 * Not something we have as part of our plugin here, so I can’t point out some setting
   to check and save for. I am wondering if there’s a way to modify the comment 
   query for the admin-area requests to only fetch comments on posts for the current
   logged in user.
 * Alternatively, I wonder if it’d be possible to programmatically remove the comment
   column in the list table, and any other columns you may not want, so that if 
   anything they can’t see THAT much unless they click in to view/edit a comment,
   which would only be able to be done on their own.
 *  Thread Starter [calaiopee](https://wordpress.org/support/users/calaiopee/)
 * (@calaiopee)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/customize-comments-table/#post-15174280)
 * Hi Michael,
 * thanks, yes: I was wondering if I posted this in the right place at all because
   it has not anything to do with your plugin, really.
 * And yes: I need to either modify the comment query or do some other magic stuff–
   except that my magical skills are too limited for this one. I found an old aricle
   about this ([https://wordpress.stackexchange.com/questions/72210/exclude-post-type-from-admin-comments-list](https://wordpress.stackexchange.com/questions/72210/exclude-post-type-from-admin-comments-list))
   but that’s way above my programming skills. And it’s old. Could not google anything
   more up to date. Not that old can’t be valid.
 * If you’d like me to by you a pizza or two …
 * 🙂
    Cally
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [4 years, 5 months ago](https://wordpress.org/support/topic/customize-comments-table/#post-15174415)
 * Not sure that link is what you want either.
 * I sort of managed to get the comment content column removed, but it made for 
   a really big blank area in the table, which was less than ideal. Also tried to
   at least replace the content in that column with an empty string but no luck 
   yet on that either.
 *  Thread Starter [calaiopee](https://wordpress.org/support/users/calaiopee/)
 * (@calaiopee)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/customize-comments-table/#post-15174495)
 * Yeah, don’t know. I guess I’ll have to do some more work on this …
 * Thanks anyway!
 * Cally

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Customize Comments Table’ is closed to new replies.

 * ![](https://ps.w.org/custom-post-type-ui/assets/icon-256x256.png?rev=2744389)
 * [Custom Post Type UI](https://wordpress.org/plugins/custom-post-type-ui/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-post-type-ui/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-post-type-ui/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-post-type-ui/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-post-type-ui/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-post-type-ui/reviews/)

## Tags

 * [wp_list_comments](https://wordpress.org/support/topic-tag/wp_list_comments/)

 * 4 replies
 * 2 participants
 * Last reply from: [calaiopee](https://wordpress.org/support/users/calaiopee/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/customize-comments-table/#post-15174495)
 * Status: resolved