[Resuelto] Adding chosen search filters under search to remove after search populates
This support ticket is created hace 4 años, 2 meses. 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.
Tell us what you are trying to do? I'm hoping to have something like I've created on a screenshot below. Once the user searches, the filters will show up below at individual links that the user can then click the x next to it to remove it. Is this possible?
Is there any documentation that you are following? No documentation. I've done a quick search but nothing really comes up as I'm not sure how to search for this sort of functionality.
Is there a similar example that we can see? hidden link
What is the link to your site? It is currently a staging site and I can get the info for you but don't want it to be up live on the web. Let me know if I can send that to you?
Thanks for looking into this. The article you linked to doesn't really have anything to do with what I wanted unfortunately but it is a handy feature, how can this be implemented to my speakers category list I have?
And add the following code to your view's Search and Pagination section's JS box:
jQuery(document).ready(function($){
$(".chosen-select").chosen({
no_results_text: "No items found!",
max_selected_options: 5
});
});
And make sure to add the class "chosen-select" to your speaker's category filter.
If you do not know how to do it, please feel free to share access details and problem URL where you added your view and I would be happy to fix it for you.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.