WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Category Meta plugin] Retrieve and display Tag meta data

[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):

    <?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?

    http://wordpress.org/extend/plugins/wp-category-meta/

Viewing 1 replies (of 1 total)
  • im also looking for an answer to this, i want to display the function on tag.php or archive.php but what is the correct code for it?

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Category Meta plugin] Retrieve and display Tag meta data’ is closed to new replies.