einicher.net

The Code must do the talking.

WordPress: add sorting function from pages (menu_order) to posts

17. September 2019

There is a quite simple way to add the sorting function from WordPress pages (called menu_order) to the post form. Just put this in your themes functions.php file:

add_action('admin_init', 'change_post_type');
function change_post_type() 
{
    add_post_type_support( 'post', 'page-attributes' );
}

Leave a Reply

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