Skip to main content
replaced http://wordpress.stackexchange.com/ with https://wordpress.stackexchange.com/
Source Link
$term_id = get_query_var('cat'); // the current category ID

$my_fields = get_option('my_category_fields_option');
echo $my_fields[$term_id]['my_title']; // the title corresponding to the current category

(assuming you're talking about Any examples of adding custom fields to the category editor?Any examples of adding custom fields to the category editor?)

$term_id = get_query_var('cat'); // the current category ID

$my_fields = get_option('my_category_fields_option');
echo $my_fields[$term_id]['my_title']; // the title corresponding to the current category

(assuming you're talking about Any examples of adding custom fields to the category editor?)

$term_id = get_query_var('cat'); // the current category ID

$my_fields = get_option('my_category_fields_option');
echo $my_fields[$term_id]['my_title']; // the title corresponding to the current category

(assuming you're talking about Any examples of adding custom fields to the category editor?)

Source Link
onetrickpony
  • 13.6k
  • 7
  • 59
  • 87

$term_id = get_query_var('cat'); // the current category ID

$my_fields = get_option('my_category_fields_option');
echo $my_fields[$term_id]['my_title']; // the title corresponding to the current category

(assuming you're talking about Any examples of adding custom fields to the category editor?)