WordPress.org

Support

Support » Plugins and Hacks » WordPress Media Tags » [Plugin: WordPress Media Tags] How can I display the tags on a image inserted in the content?

[Plugin: WordPress Media Tags] How can I display the tags on a image inserted in the content?

Viewing 4 replies - 1 through 4 (of 4 total)
  • How are you displaying the tags at all? I can’t even get them to show up..

    I’m using:

    <?php if (class_exists('wp_media_tags_plugin')) { wp_media_tags_plugin::media_tags_query('portait', 'thumbnail'); }?>

    in the meta div for single.php. The post attachment has the media tag “portrait”. But nothing shows up. I think this may be what you mean.

    Is there another way to show the tags?

    shortcode shows nothing either.

    I got the same issue, no answer, I will try this plugin : WP MediaTagger

    media categories plugin did it for me, although I’m using the category taxonomy instead of tags.

    if you install it, just add this to functions.php

    add_filter('mc_taxonomy', 'mc_filter_taxonomy');
    
    function mc_filter_taxonomy($taxonomy){
    
        if($taxonomy == 'category'){
            $taxonomy = 'post_tag';
        }
    
        return $taxonomy;
    }

    then tags should be available and display for media attachments.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: WordPress Media Tags] How can I display the tags on a image inserted in the content?’ is closed to new replies.
Skip to toolbar