Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Francois Dejardin
Francois Dejardin
1,778 Points

Adding metas to custom taxonomy terms

Hi all,

I'm looking for a simple way to add metas to custom taxonomy terms. What i need is to add default metas to all terms in a custom taxonomy.

I've found : Taxonomy Metadata https://wordpress.org/plugins/taxonomy-metadata/

but it works on post_ID relation so it only adds metas to single post in a taxonomy...

The other : Simple Term Meta https://fr.wordpress.org/plugins/simple-term-meta/

looks better for me, but this plugin isn't updated for more than 2 years, so don't know if it's always supported.

Any idea ou other solutions either to develop in code or with another plugin ?

thanks a lot ;)

François

2 Answers

Francois Dejardin
Francois Dejardin
1,778 Points

Re all !

I've got the solution from Wordpress.org community ... Wanted to share it with you , term meta will be included in WordPress 4.4 that will be available soon, so no more need to plugin in order to add metas to term.

You can read a dedicated page about this new feature here :

http://themehybrid.com/weblog/introduction-to-wordpress-term-meta

hope it will help some here ;)

Awesome man ;). Sharing is caring :D