I’m wanting to use a plugin called “Simple Page Ordering” to manually drag and drop the order of my custom posts. It says it works with custom post types with “page-attributes.” How do I add these “page-attributes” to my custom post types? Thanks for any guidance or suggestions.
Hi, from what I understand custom post type and page attributes are two different things. Could you quote the full sentence from the plugin developer?
Hi rafadizeo, thanks for the response. It says, “Order your pages, hierarchical custom post types, or custom post types with “page-attributes” with simple drag and drop right from the built in page list.”
If you have created the custom post type with a plugin such as CPT-UI you should activate here https://prnt.sc/vTe49k-8XLnJ or if you have done it with code you should add these lines
'supports' => array(
'page-attributes'
),
and then you will see this in WordPress editor
https://prnt.sc/oeMAQw6VoXk5
Thank you for the response rafadizeo. Yes, I did activate it by checking that box. Still doesn’t work.
Do you try add_post_type_support( 'post', 'page-attributes' );
? Change post with your cpt slug
OK, I’ll try that. Thanks.