-1

There is an order field when editing pages, so you can easily rearrange them, this is missing at posts, I`m thinking that there must be a simple scrip that adds this functionality to posts too.

I tried googling it, with no luck, I do not want to use a plugin if it can be done with a simple script.

thank you

  • can you show me at least one please? – Botond Vajna Feb 22 at 15:02
  • @MaxYudin different people get different results on Google, what works for you may not work for them, so be nice – Tom J Nowell Feb 22 at 16:15
2

I find it:

add_action( 'admin_init', 'posts_order' );

function posts_order() 
{
    add_post_type_support( 'post', 'page-attributes' );
}
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.