Using scope as a WP Query parameter
-
With the multitude of visual page builders and custom post grids, it is not uncommon to build a custom post type grid using WP Query parameters in order to filter and display the data as a styled/themed grid.
With other post types, we can build a WP Query url parameter based filter of the data.
With this plugin, I noticed that while this works in the WP Admin events list set of filters :
scope=future
This does not work when you actually want to use it as a WP Query parameter, for example the following does not work :
&post_type=event&scope=future
Any idea why scope doesnt work in this context? Is there another way of achieving this within the WP Query URL parameter method of filtering WP data?
- The topic ‘Using scope as a WP Query parameter’ is closed to new replies.