As we know we can sort pages in a query by their page order attribute, I can’t figure out how to get this number to use it for a conditional and the max number listed
Thanks,
As we know we can sort pages in a query by their page order attribute, I can’t figure out how to get this number to use it for a conditional and the max number listed
Thanks,
Try with echo get_post_field('menu_order', $post->ID);
(or $post->menu_order
)