Dropdown Filter – hierarchal? | WordPress.org

[ad_1]

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 44 minutes ago by YMC.
  • This reply was modified 44 minutes ago by YMC.
  • This reply was modified 29 minutes 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)

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer