Using the Combo Blocks plugin, you can easily query posts by post passwords for Post Grid or Post Grid – Filterable Gutenberg blocks.
To begin, insert the “Post Grid” or “Post Grid – Filterable” block.
![How to query post by post passwords? 1](https://i.imgur.com/PxTNXsQ.png)
From the List View make sure you’ve selected Post Query nested block. This selection is important to access all the available block settings for “Post Query”.
![How to query post by post passwords? 2 6yX4J7b](https://i.imgur.com/6yX4J7b.png)
Now under Query Post => Add Query Params select the Post Password option. This option is useful if you want to query by putting a specific password.
To query all posts that have a password, you’ve to select the Has Password option instead of Post Password.
![How to query post by post passwords? 3 ktsUsCI](https://i.imgur.com/ktsUsCI.png)
Now on the Post Password input, write the password that you want to query.
![How to query post by post passwords? 4 SDo0uuN](https://i.imgur.com/SDo0uuN.png)
That’s how you can query posts by Password for “Post Grid” or “Post Grid – Filterable” Gutenberg block. If you still need help, please create a support ticket on our forum.