Want to know what WordPress Theme a site is using? Check Out Now!

How to Remove the Comments Column from Pages in WordPress Admin?

Do you want to remove the comments count column from pages in the WordPress dashboard? With our snippet, it’s easy to remove the unwanted comments column from your pages. In this article, we’ll show you how to remove the comments column from pages in your WordPress dashboard.

Are you looking for a way to remove the comments count column from pages in the WordPress dashboard?

By default, WordPress displays the comment count on posts and pages. A very small percentage of website owners and bloggers use comment areas on pages. So, if you are one of them and want to know how to remove the comments column from pages in the WordPress dashboard, here’s your answer.

Below code removes the Comments count column from pages in the WordPress admin area.

/**
 * Remove Comments Column from Pages in WordPress Admin
 */
function maverick_remove_pages_comments_columns_wp_admin($defaults) {
    unset($defaults['comments']);
    return $defaults;
  }
  add_filter('manage_pages_columns', 'maverick_remove_pages_comments_columns_wp_admin');

Leave a Reply

Your email address will not be published. Required fields are marked *