How to show custom field’s value under post/page title in wp-admin

Just like you add new columns you render the title filed your self

add_action( 'manage_posts_custom_column', 'admin_post_data_row', 10, 2);
function admin_post_data_row($column_name, $post_id)
{
    switch($column_name){
        case 'title':       
            edit_post_link(get_post_title($post_id), '<p>', '</p>',$post_id);
            echo '<br />'.get_post_meta($post_id,'field_name',true);
            break;
        default:
            break;
    }
}

and if you have another plugin cancels this then simply set the filter hook priority to something bigger.

Leave a Comment