[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: https://www.google.com with the Tag Google.
I did the following:
1. Added a Meta:
Meta Name: link
Meta Type: textarea
Meta Taxonomy: post_tag2. Created a tag called: Google
3. Term meta (link): I added and saved my link https://www.google.com.
4. In loop.php (twenty ten template) I added the following code (from the instructions):
<?php
if (function_exists(‘get_terms_meta’))
{
echo get_terms_meta($category_id, $meta_key);
}
?>But this doesnt display anything, do anyone know a solution for this?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Category Meta plugin] Retrieve and display Tag meta data’ is closed to new replies.