• Steph

    (@stephrookie)


    I am using the query loop block in Word Press and getting things to look pretty good! But I have one issue with it.
    I want to make a query loop block that shows everything except posts with a specific tag. I know that many plugins can do this, but most are premium, and I don’t want to pay for this functionality or install a plugin just for this. Can I modify some code, so this query loop block does not show these posts?

    • This topic was modified 2 years, 3 months ago by Steph.
Viewing 1 replies (of 1 total)
  • @stephrookie You may want to ask in the Gutenberg support forum, but from what I can tell from reading the code, there isn’t a way you’d be able to do this without adjusting the block in a significant way.

    I do want to point out that there is an ‘exclude’ parameter when you switch to the code editor and you can hardcode a list of post IDs to exclude from the list. I know it’s not dynamic or based on a tag, but it might help exclude specific content from your block.

    It sounds like it would be a great feature request, I encourage you to make a recommendation to the Gutenberg support forum!

Viewing 1 replies (of 1 total)
  • The topic ‘How can i exclude posts with a certain tag from the quiery loop block’ is closed to new replies.