WordPress.org

Forums

Category Meta plugin
Retrieve and display Tag meta data (2 posts)

  1. Astony
    Member
    Posted 2 years ago #

    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/

  2. s2pidkaspr
    Member
    Posted 2 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Category Meta plugin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.