Show Meta Box data in front end
-
Hy,
Hi I am testing this plugin with the first example:
add_filter( 'rwmb_meta_boxes', 'your_prefix_meta_boxes' ); function your_prefix_meta_boxes( $meta_boxes ) { $meta_boxes[] = array( 'title' => __( 'Test Meta Box', 'textdomain' ), 'post_types' => 'post', 'fields' => array( array( 'id' => 'name', 'name' => __( 'Name', 'textdomain' ), 'type' => 'text', ), array( 'id' => 'gender', 'name' => __( 'Gender', 'textdomain' ), 'type' => 'radio', 'options' => array( 'm' => __( 'Male', 'textdomain' ), 'f' => __( 'Female', 'textdomain' ), ), ), array( 'id' => 'email', 'name' => __( 'Email', 'textdomain' ), 'type' => 'email', ), array( 'id' => 'bio', 'name' => __( 'Biography', 'textdomain' ), 'type' => 'textarea', ), ), ); return $meta_boxes; }
as I get the information display on the front page???
As I do to display the meta box in the custom post???
Tanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Show Meta Box data in front end’ is closed to new replies.