Thursday, August 19, 2010

Change your admin View post table








This image is the tabulate form of your admin view post. if you want to change any column content or other then you can easily found your browser show you the address "wp-admin/edit.php". In this file
<?php include( './edit-post-rows.php' ); ?> this block of code include edit-post-rows.php
where "page_rows($posts, $pagenum, $per_page);" this function is calling from "wp-admin\includes\template.php" line number 1238. and again it call
"_post_row($post, $comment_pending_count[$post->ID], $mode);"
which have line number 1271. you can get your all need in this part..........
And if you want to change the table header and footer which call from "edit.php" then you can find a function "print_column_headers( $current_screen );" edit-post-rows.php line 16 and 22. this function body have define "wp-admin\includes\template.php" line number 773

No comments:

Post a Comment