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,

Enter a custom order value.

$category_custom_order = get_option( $option_name );


Enter a custom order value.

wordpress more tag problem, exclude category from blog page and get all taxonomy terms.

Leave a Reply