WordPress.org

Ready to get started?Download WordPress

Forums

Recent Posts Plus
[resolved] Possible to exclude tag? (2 posts)

  1. brit77
    Member
    Posted 1 year ago #

    Hi there,
    I'm attempting to show all posts from a certain category without a specific tag.
    I used this code
    {
    "cat": "19",
    "tag_id": "-51"
    }

    but alas, it doesn't work. Is it not possible to exclude a tag?

    http://wordpress.org/extend/plugins/recent-posts-plus/

  2. brit77
    Member
    Posted 1 year ago #

    Google to the rescue! The syntax for excluding a tag is "tag__not_in"

    And with that, I think this plugin addresses all my needs. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.