In my Admin Panel I have a custom post type of posts - with page attributes to define order. Is there "easy" way of changing how the admin panel pulls posts so I can reorder them?
Page Attributes define order and parents. My Custom Post Type isn't a page but it still supports Page Attributes because I want to order them in a meaningful way.
Currently in Wordpress Admin Panel when using Custom Post Types and Page Attributes, the Admin Panel doesn't order posts in the defined order, it instead orders all posts by publish date (so newest on top). I'm looking to use Page Attributes to order my Custom Post Type posts in the admin panel in the same order defined by Page Attributes.
Even more clarification:
Defined in register_post_type()
as supports => array()
Found Here
The expected outcome would be something like this, where the post with page attribute 0 is at the top and the greatest page attribute would be at the bottom:
hierarchical
allows for this sorting natively. You'll have to do apre_get_posts
to change this for your list table.