D
D
David52019-11-30 22:29:02
WordPress
David5, 2019-11-30 22:29:02

Filtering in a form?

when creating a conditional article, I have a field with categories (the fields are displayed through the form), I managed to filter posts and categories by users (in the view), I don’t know how to make the categories created by the user appear in the form, and not all categories of all users5de2c2d4148b9871936956.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Eugene Chefranov, 2018-12-11
@Chefranov

This is not a WP plugin but JS
https://isotope.metafizzy.co/

L
lamer350, 2018-12-11
@lamer350

Google "portfolio wp plugin", there are tons of options with the same control method.

S
Sergey Gornostaev, 2019-12-01
@David5

Pass the queryset parameter to the ModelChoiceField .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question