As a WordPress developer, there may be a scenario when we need to add custom fields to the category, tag and custom taxonomy. So, today i am going to share a code snippet for adding custom field to category. It can easily be modified for tags and custom taxonomies as well. Let have a look,
[php]
Enter a custom order value.
term_id;
$category_custom_order = get_option( $option_name );
?>
wordpress more tag problem, exclude category from blog page and get all taxonomy terms.
Leave a Reply