WordPress.org

Ready to get started?Download WordPress

Forums

How to check if there are more posts that share current post's tag (2 posts)

  1. S3nd41
    Member
    Posted 1 year ago #

    Hello guys,

    I was wondering if anyone could share some conditional statement code to use on a post's page in order to check if there are more posts that share one of the current post's tags.

    Thanks!

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    You'd need to run a second query to check this. Have a look at http://codex.wordpress.org/Function_Reference/WP_Query

Topic Closed

This topic has been closed to new replies.

About this Topic