WordPress.org

Ready to get started?Download WordPress

Forums

Taxonomy Metadata
How to query meta with while? (2 posts)

  1. onigetoc
    Member
    Posted 3 years ago #

    Hi, i insered term meta value and i want to show them all with query, how should i do?

    This is how i add them and i want to foreach or while them all
    add_term_meta('1', 'lang', 'en', true);

    Thank you

    http://wordpress.org/extend/plugins/taxonomy-metadata/

  2. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 3 years ago #

    You mean you want to loop over the results? You should just use get_term_meta and then loop over the resulting array.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic