title: How can I add custom meta fields in categories?
body: <p>Does anyone have any idea how to add custom meta fields while making categories and fetch them in the loop in WordPress? I was wondering how to do that without hacking the WordPress core, but if I do – it won't become a hindrance to update WordPress in the future.</p>
  
  <p>A plugin I have found that comes close is <a href="http://wordpress.org/extend/plugins/wp-category-meta/" rel="nofollow noreferrer">Wp-Category-Meta</a>, but it doesn't have the ability to add checkboxes as fields in Edit Categories.</p>
  
  <p><img src="https://i.stack.imgur.com/cWrh3.png" alt="screenshot"></p>
  
  <p>This will be very useful as users can make certain categories "featured", and then the code can use that meta value in the loop to style "featured" categories differently.</p>