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.
Hello. Thank you for contacting the Toolset support.
There is no native feature to filter posts type post type but as a workaround you can add it and you already followed.
I would like to know that do you have taxonomy archive or post type archive? As I understand you have one taxonomy assigned to different post types and that is why you want to add post type filter - correct?
I am not sure what is the best way to answer your question, but here is what I have and what I want to do:
I added some tags/terms for the native wordpress post (not the custom post type, just the organic post tag), and I let a few custom post type share that same tag (see screenshot-3.jpg and screenshot-4.jpg)
Then I create a view/template for that tag (see screenshot-5.jpg and screenshot-6.jpg), that view/template is working fine, see hidden link as an example, but I just want to add a checkbox filter to filter different post types.
Ok as shared there is no feature to add post type front-end filter to taxonomy archives but we can add a workaround.
Can you please tell me what post types you want to add a post type filter options and share admin access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. I have set the next reply to private which means only you and I have access to it.
I just check the website and everything is working GREAT and COOL!!!
I will take care of the formatting/styling part.
Well ,I did some browser refresh during the process of you working on that, I noticed that it seemed it's not a easy thing to do, because I could feel you did a lot of attempts and debugs, I am just curious what is the challenging part for you when you were working on that. If it's easy and fast to explain to me, that will be great, but if it's hard to explain, just forget about it.
Well - I've used "pre_get_posts" hook to filter the view based on post type and another hook "wpv_filter_register_url_parameters_for_posts" is used to register the url param.