• Resolved clem10nt

    (@clem10nt)


    Hi,
    Thank you for this plugin!

    I’m trying to exclude some posts based on a tag slug or tag id.
    I’ve done ?redirect_to=random&each_once=rewind&tag_id=-XXX like for excluding a post or category ID but it still includes the posts of that specific ID. The debugging mode shows it retrieves the same posts with or without the “-“.

    Should I do it differently?

    Thank you,

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Christoph

    (@camthor)

    Yes, unfortunately the WordPress API does not offer the “-” as a way to exclude tags. It only works for categories.

    I will see if I can add a parameter like “tag__not_in” in a future version.

    Thread Starter clem10nt

    (@clem10nt)

    Ok, thank you for your answer.
    Best,

    Plugin Author Christoph

    (@camthor)

    It should work with the latest version. ??

    https://www.newsendip.com/?redirect_to=random&each_once=rewind&tag__not_in=187

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Exclude tags’ is closed to new replies.