Plugin Author
YMC
(@wssoffice21)
Hello!
You can customize the filter as you like. To do this, you can use a filter:
add_filter(‘ymc_filter_custom_layout_FilterID_LayoutID’, ‘my_custom_filter_layout’, 10, 5);
Inside the filter, you can use any WordPress functions. The main thing here is to stick to the html structure.
Or, you can create a custom dropdown and job handlers for each list element (see SMART FILTER JS API or Filter Hooks).
https://github.com/YMC-22/smart-filter
-
This reply was modified 3 years ago by
YMC.
-
This reply was modified 3 years ago by
YMC.
-
This reply was modified 3 years ago by
YMC.
Plugin Author
YMC
(@wssoffice21)
The plugin has only basic filter layouts. To create a custom filter, you need to manually create. To do this, you can bind to the filter add_filter(‘ymc_filter_custom_layout_FilterID_LayoutID’, ‘my_custom_filter_layout’, 10, 5); which allows you to create any filter, or you can separately create dropdowns and then, using the javascript filter API and hooks, add the necessary handlers to each element of the list and call the filter… it all depends on your fantasies)