Plugin Author
YMC
(@wssoffice21)
Here you will need to implement the filter algorithm yourself. When going to the archive page, you need to build the correct algorithm of steps, after which the filter will load those posts that will be transferred in the URL request line.
One of the options, you can apply the following steps:
- transfer a certain parameter in the URL (term ID, for example)
- then stop loading the post grid using the API plugin hooks (https://github.com/YMC-22/smart-filter#hooks-js)
- then form a request using JavaScript and only then run the main YMCTools function (for example:
YMCTools({
target: ‘.data-target-ymc545-1’,
terms: ‘7’
}).apiTermUpdate();
To do this, you should study the basics of the API plugin to manage all the filter processes.