Ready to get started?Download WordPress


[resolved] How to get post terms ("Tags")? (2 posts)

  1. kherge
    Posted 6 years ago #

    I was wondering if there was a simple way of getting all Tags assigned to a post if you have a post ID available outside of The Loop.

    I was hoping for something like the_tags() that accepts a post ID.

  2. kherge
    Posted 6 years ago #

    Never mind, I found that the get_the_tags() function actually accepts a post ID :)

    Exactly what I was looking for.

Topic Closed

This topic has been closed to new replies.

About this Topic