'_full_meta', 'title' => 'Full Inputs', 'types' => array('page', 'events'), // added only for pages and to custom post type "events" 'context' => 'normal', // same as above, defaults to "normal" (‘normal’, ‘advanced’, or ‘side’) 'priority' => 'high', // same as above, defaults to "high" (‘high’ or ‘low’) 'mode' => WPALCHEMY_MODE_ARRAY, // defaults to WPALCHEMY_MODE_ARRAY / WPALCHEMY_MODE_EXTRACT 'template' => get_stylesheet_directory() . '/metaboxes/full-meta.php', 'init_action' => 'my_init_action_func', // runs only when metabox is present - defaults to NULL 'lock' => WPALCHEMY_LOCK_TOP, // defaults to NULL ; WPALCHEMY_LOCK_XXX (“top”, “bottom”, “before_post_title”, “after_post_title”) 'prefix' => '_my_' // defaults to NULL // ); $full_mb = new WPAlchemy_MetaBox($array_sample); /** * Sample Form ***************************************************************** */ ?>

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras orci lorem, bibendum in pharetra ac, luctus ut mauris.

the_field('title'); ?> Enter in a title

the_field('description'); ?> Enter in a description


the_field('s_single'); ?>
the_field('r_single'); ?> the_radio_state('abc'); ?>/> abc

$client): ?> the_field('r_ex2'); ?> the_radio_state($client); ?>/>
the_meta(); // set current field, then get value $custom_metabox->the_field('name'); $custom_metabox->the_value(); // get value directly $custom_metabox->the_value('description'); // loop a set of fields while ($custom_metabox->have_fields('authors')) { $custom_metabox->the_value(); } // loop a set of field groups while ($custom_metabox->have_fields('links')) { $custom_metabox->the_value('title'); $custom_metabox->the_value('url'); if ($custom_metabox->get_the_value('nofollow')) echo 'is-nofollow'; $custom_metabox->the_value('target'); }