Custom Filter _target | WordPress.org

[ad_1]

Hi there, I’m currently working on building a custom dropdown filter layout using your framework, and I’ve encountered some confusion regarding the _target parameter. In the documentation, it mentions that the _target parameter should be a string that represents the name class target element. However, I am unsure about what the exact format should be and how it interacts with the generated HTML structure.

Should the _target parameter directly correspond to the class or ID of the <select> tags I am generating, or is there a different method for binding it to the filter functionality?

Unfortunately, I cannot provide a link because I am in a development environment. However, I could provide my code if that helps.

I appreciate any feedback!

Thanks!

 

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