Solution
Place the code bellow in your theme’s functions.php file.
function pagesColumnsHeader($columns) {
$columns['pageID'] = __('ID');
return $columns;
}
add_filter( 'manage_pages_columns', 'pagesColumnsHeader' );
function pagesColumnsRow($columnName, $pageID){
if($columnName == 'pageID'){
echo $pageID;
}
}
add_filter( 'manage_pages_custom_column', 'pagesColumnsRow', 10, 2 );
You might also want to check out how to do this for posts listing and how to do it for categories listing.
Our WordPress themes
We have a few WordPress themes that we would like you to take a look at if you want.
check out the portfolio











Thank you very nice trick!
Thanks for this tutorial. Can you maybe post about how to add it to posts as well? This would help me with my theme and maybe even others.
Already did. http://wpcanyon.com/tipsandtricks/wordpress-admin-panel-trick-adding-id-field-to-the-posts-listing/
Very useful for clients that runs real estate sites on WordPress. Just use the page/post ID as a listing ID