WP Category Meta plugin fix? [closed]

take a look at wordpress taxonomies extra fields the easy way UPDATE: to get the data on the front end you can use the functions that come with the class ex: if (!function_exists(‘get_tax_meta’)) require_once(“path/to/Tax-meta-class/Tax-meta-class.php”); $saved_data = get_tax_meta($term_id,’field_id’); echo $saved_data;

unable to save custom taxonomy terms in a custom-built metabox in wp-admin

Rather than ‘returning’ on a failure of authentication check, die with an appropriate message: For example: if ( !wp_verify_nonce( $_POST[‘states_noncename’], plugin_basename( __FILE__ ) ) ) wp_die(“Nonce-check failure”); This will indicate on what check (if any) that you are failing. In most cases, I would advise doing this rather than returning as it gives the user … Read more

How to display data from custom fields I created?

I think you want to look into using get_post_meta and then display it with that. Here it is on the Codex: http://codex.wordpress.org/Function_Reference/get_post_meta You can look at this example: <?php echo get_post_meta($post->ID, $prefix.’where’, true); ?> That should get you what you need if I understand the question correctly.

Custom MetaBox : Food Menu Item Available Dates

If you have created you custom post type you can add the metabox like this: add_action( ‘add_meta_boxes’, ‘add_dates’ ); function add_dates() { add_meta_box(‘date_select’, ‘Dates’, ‘date_select’, ‘customposttype’, ‘side’, ‘default’); } function date_select() { global $post; echo ‘<input type=”hidden” name=”date_select_meta_noncename” id=”date_select_meta_noncename” value=”‘ . wp_create_nonce( plugin_basename(__FILE__) ) . ‘” />’; $gender = get_post_meta($post->ID, ‘_date’, true); // Insert checkboxes … Read more

wordpress alchemy put custom metabox on certain page only

new WPAlchemy_MetaBox(array ( ‘id’ => ‘_custom_meta’, ‘title’ => ‘My Custom Meta’, ‘template’ => STYLESHEETPATH . ‘/custom/meta.php’, ‘exclude_template’ => ‘product.php’ )); the ‘exclude_template’ would work for excluding the one’s you didn’t want. new WPAlchemy_MetaBox(array ( ‘id’ => ‘_custom_meta’, ‘title’ => ‘My Custom Meta’, ‘template’ => STYLESHEETPATH . ‘/custom/meta.php’, ‘include_template’ => array(‘product.php’,’press.php’) // use an array for … Read more