Tip Settings
+

Icon Settings
+

First Row Settings
+

Second Row Settings
+
'; } add_action( 'save_post', 'wts_save_postdata' ); function wts_save_postdata( $post_id ) { global $current_user; if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) return; if ( 'page' == $_POST['post_type'] ) { if ( !current_user_can( 'edit_page', $post_id ) ) return; } else { if ( !current_user_can( 'edit_post', $post_id ) ) return; } /// User editotions if( get_post_type( $post_id ) == 'tip' ){ foreach( $_POST as $key=>$value ){ update_post_meta( $post_id, $key, $value ); } } } ?>