WordPress.org

Ready to get started?Download WordPress

Forums

Get posts by tags using $wpdb (1 post)

  1. yox64
    Member
    Posted 1 year ago #

    Hello!

    Can anyone help me with an SQL query that gets all the posts that have two or more specified tags?

    I know how to do it with get_posts(), but I need to do it with $wpdb.

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic