Getting tags for a topic function (2 posts)

  1. masouras
    Posted 6 years ago #

    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.

  2. 1clickmoviescom
    Posted 6 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic