Parameters in components

I 'm heavily using queries on my website, so I 'd like to make a general component with the query as parameter as well as other things.
But I don’t see how to make it.

On the print screen, it seems that I can use the post type as parameter, but, in the component properties window, I don’t see something corresponding.

So, is it possible or not?

Hi @Ombres-et-lumieres,

Sorry to hear you’re experiencing trouble with this.

It is definitely possible!

As shown in your screenshot, you can choose either a Text or Options property.

Let’s say you have chosen Text as follows:

Depending on your needs, you can choose either simple or advanced (advanced giving you access to dynamic data).

Once you have set it up to your liking, select Connect.

Then, you can type in your Post Type as you normally would, or choose a dynamic data of your choosing:

post-type

Please don’t hesitate to let me know if you have any other questions.

Thanks.

When I saw that screen i thought « and, now, what to do? »
So, now I know and I ‘m going to practice