Adding of Custom Fields in WordPress Category
I have created a class that you can use so that you can easily add custom fields to WordPress category. To use it, follow the simple steps below:
Step 1: Download the class and copy it on your plugin or theme folder. Download Now!
Do not forget to include it the file using include_once or require_once.
Step 2: Edit the file. Go to the function extra_category_fields and add your extra fields. Simply follow the pattern of the first field.
Step 3: On your main php file, simple call the class.
Where ‘grp1’ is the prefix of all your custom fields. You can change it.