Meta box data not saving
Have you noted that you are verifing that the post type is a page and that user can edit pages and posts? if ( ‘page’ == $_POST[‘post_type’] ) { if ( !current_user_can( ‘edit_page’, $post_id ) ) return; } else { if ( !current_user_can( ‘edit_post’, $post_id ) ) return; } It should be: if ( ‘ranch’ … Read more