Skip Navigation

[Resolved] Created post forms and need to filter taxonomy

This support ticket is created 3 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 7 replies, has 2 voices.

Last updated by Shane 3 years, 7 months ago.

Assisted by: Shane.

Author
Posts
#1758209

Hey there I setup some post forms, so visitors of the website can send posts, which then can be corrected and posted by admins. I also added all created custom fields and the category field. Now it would be great, if I could filter that category taxonomy field and just show specific categories on each post form.

hidden link

hidden link

#1758241

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Andy,

Thank you for getting in touch.

Unfortunately you won't be able to filter the taxonomies on the form itself.

The user on the frontend will have all access to select all the taxonomy terms that are available.

Thanks,
Shane

#1758243

Hi Shane,

why is it possible to create search views with that filter and not possible to add that filter to a post form?

The client is irritated now, because when using the search views, the visitor can only choose from the respective categories and when sending a new post for that post type, he now sees all categories? Thats a bit odd, sorry.

#1758263

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Andy,

Thats because views is meant to be a filter type plugin where users can filter the content on the site. The forms plugin essentially just brings the creation of your content from the backend to the frontend.

On the backend when creating a post you are not able filter the taxonomies on the backend. Similarly you won't be able to do this on the Form because the form is meant to create the content.

There are options in our Views plugin to allow the taxonomy filters to show the terms relative to the posts that are being displayed.

Thanks,
Shane

#1759087

Ok I understand this. But I have another problem. I enabled, that the category field can have multiple selected not just one, but this does not work right now.

#1759153

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Andy,

I enabled, that the category field can have multiple selected not just one, but this does not work right now.

Can you send me a screenshot of this so that I have a clearer understanding of the issue ?

Thanks,
Shane

#1759159

Hi Shane,

sure, these are the settings I made for the category field hidden link and it says that the user will be able to select multiple categories for the post, but as you can see in the next screenshot, this is not possible.

hidden link

Link: hidden link

#1759195

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Screenshot 2020-08-27 at 10.02.08 AM.png

Hi Andy,

This is actually functioning normally. See my screenshot

The problem is the multi select isn't automatic. You will need to use the cmd+click on the items for Mac computers and for windows you will need to hold down ctrl while making your multiple selections.

This is also the default behaviour of a multi select field as you can see from the example in the link below.
hidden link

Please let me know if this helps.
Thanks,
Shane

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.