Set Default Admin Screen options & Metabox Order

Setting the order of meta boxes on post edit pages You will need to remove the meta boxes, and add them again in the order you want. To disable meta boxes: (customize to your needs, look at the metabox id in the html code to know which name you should use as first parameter of … Read more

How can I put a custom meta box above the editor but below the title section on the edit post page?

Simply add a meta box using the advanced context, and high priority Then, latch on to the edit_form_after_title hook Print your meta boxes out there, then remove it so it doesn’t appear twice. // Move all “advanced” metaboxes above the default editor add_action(‘edit_form_after_title’, function() { global $post, $wp_meta_boxes; do_meta_boxes(get_current_screen(), ‘advanced’, $post); unset($wp_meta_boxes[get_post_type($post)][‘advanced’]); });

meta_query with meta values as serialize arrays

No, it is not possible, and could even be dangerous. Serialised data is an attack vector, and a major performance issue. I strongly recommend you unserialise your data and modify your save routine. Something similar to this should convert your data to the new format: $args = array( ‘post_type’ => ‘my-post-type’, ‘meta_key’ => ‘_coordinates’, ‘posts_per_page’ … Read more

Create more Meta Boxes as needed

So you mean something like this? and when you click on Add tracks it becomes this: if it is what you mean the its done by creating a metabox that has simple jquery function to add and remove fields in it, and the data is saved as an array in of data in a single … Read more