- This topic has 2 replies, 2 voices, and was last updated 2 weeks, 3 days ago by .
I have a custom post type, "Technical Documents", and have all these posts listed using a checkbox_list field type for the user to select which posts to display. However, there are 100+ posts and it would be easier to use if they were in alphabetical order. Is there a way to do this?
$meta_boxes = [ 'title' => esc_html__( 'Technical PDFs to Display', 'online-generator' ), 'id' => 'selectpdf', 'post_types' => ['product'], 'context' => 'normal', 'fields' => [ [ 'type' => 'post', 'name' => esc_html__( 'Select Product PDFs', 'online-generator' ), 'desc' => 'online-generator', 'id' => $prefix . 'product_pdfs', 'post_type' => 'technicaldocuments', 'field_type' => 'checkbox_list' ], ], ];
- You must be logged in to reply to this topic.