appthemes_addon_query_filter( $wp_query )
Package
Description Description
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
You must log in before being able to contribute a note or feedback.
You can filter listings in
WP_Query
by adding parameter'addon'
with an addon type:Find the Addon Type in the addon’s admin page, in the Slug section.
You can filter listings by the addon using following URL:
http://example.com/ads/?addon=ad_listing-vip
Where addon is the custom query parameter and ad_listing-vip is the addon type.
But you have to register this custom parameter via following code:
Add this code using your favorite way, or using Code Snippets plugin.