[Plugin: Category Meta plugin] Retrieve and display Tag meta data
How do you display the meta tag with the plugin?
For example: I want to create a meta field in Tags called “link”. Then use this link: http://www.google.com with the Tag Google.
I did the following:
1. Added a Meta:
Meta Name: link
Meta Type: textarea
Meta Taxonomy: post_tag
2. Created a tag called: Google
3. Term meta (link): I added and saved my link http://www.google.com.
4. In loop.php (twenty ten template) I added the following code (from the instructions):
echo get_terms_meta($category_id, $meta_key);
But this doesnt display anything, do anyone know a solution for this?
- The topic ‘[Plugin: Category Meta plugin] Retrieve and display Tag meta data’ is closed to new replies.