Support » Plugins » Getting tags for a topic function

  • Is there a function (or argument to get_tags) that will give me the tags for a given topic when I am not in The Loop (i.e. for any request) ?

    Something like
    `$posttags = get_tags(array(‘post_id’ => 123));’

    would work great.

Viewing 1 replies (of 1 total)
  • I’ve just found this one:
    the_tags('<ul class="tags"><li>Tags: </li><li>',',</li><li>','</li></ul>');

    BUT, I am now searching for reasons why it is showing tags from other post, instead of the post being viewed !! LOL

Viewing 1 replies (of 1 total)
  • The topic ‘Getting tags for a topic function’ is closed to new replies.