Have you tried using $wp_query
?
global $wp_query;
var_dump($wp_query->query_vars);
For a single variable, you can use get_query_var
Or you could try just dumping the $_POST
, var_dump( $_POST );
Or maybe var_dump( $GLOBALS['post'] );
Related Posts:
- Can certain (site-crashing) limitations on WP_Query in shortcode be overcome?
- Orderby is working with one query but not with other
- pages shortcode filtering by category
- How to write a query-function as a query-shortcode?
- WP_query shortcode inside acf Repeater breaks the repeater loop
- Create a page template for “top rated posts” but show full content and not just a list
- has_excerpt() not working inside wp_query
- Shortcode for custom query not returning results when attributes are added
- wp_query is showing posts from other categories
- Daily drip of posts – based on user ‘startData’ – ordered oldest to newest
- How to add tax_query to $args with concatenation
- Should I reset $wp_query?
- Meta query compare for ID’s greater than specific ID
- Exclude a Woocommerce product from WP_Query
- How to Display Shortcode in the correct location, currently displaying before content after Page Title?
- WP ForLoop to compare meta information of posts to determine what post to display
- AJAX Breaking Offset Argument In WP Query
- WP_query only displays one of my custom post type entries
- WP_QUERY wrong ammount of posts
- How to add sort order to incremented and paginated category loop
- How does WP generate the default $query in WP_Query based on the URL?
- Continue or break the while loop
- How to filter query loop block with a search string from the query parameters
- inserting content of 1 Post to in another with a template hierarchy
- how to get category`s slug in WP_Query loop?
- Loop posts based on permalink term
- Save (and exclude) posts from loop to use in another loop on page
- Get all posts with empty meta_value
- How to split a post and intercalate elements from a loop
- Assign a minimum result count for WooCommerce query shortcodes?
- How to remove only the latest sticky post from the loop
- Expecting statement error from php loop using ACF plugin
- Loop 3 posts column wise and continue the loop into same columns
- How I can repeat 2 HTML templates in a WordPress Query?
- PHP – Loop custom post type categories within jQuery Tabs
- Loop returns the current page’s permalink and guid instead of the post in the loop
- Check if a post has term inside loop
- Using a Shortcode to List Posts from Multiple Categories
- How to create a widget like this?
- How do I sort this custom list of sticky posts
- WP_Query with one category in args shows other categories
- Query only displays one page_id
- How to Order By Two Custom Fields?
- Display specific page (that is child) content on parent page
- Different Loop for tag pages?
- embedding shortcodes in php template
- Ordering posts by custom field and grouped by month
- Pagination for custom loop on custom page template is not displaying anything
- Does putting queries within loops cause an issue on WordPress?
- Filtering by multiple conditions in the loop
- Hiding carousel indicators if there’s only one post
- Query Taxonomy By Page Title
- How to access $wp_query object from array of posts given by get_posts?
- Function using get_posts() with tax_query not working when called from functions.php
- Display all attached image of every post of custom post type and link to original post
- 2 queries with counters
- Get posts with no tags?
- wp-query, pull children of parent page
- relation OR instead of AND – Filtered term ID’s in loop
- Writing less unnecessary code with WordPress
- How to get specific string in explode array?
- Does query_posts have an effect on get_the_category?
- Second loop pagination changes URL, not content
- How to change the default post type over the loop?
- I am officially missing something about transient posts
- Query Not working as expected
- Compare “Main” post ID to ID inside wp_query loop
- Offset WP_Query by negative 1
- WP_Query orderby random do not repeat infinite scroll – one loop
- Paginate pages with dynamic query
- WP_Query loop doen’t work with my custom taxonomy
- Advise on Templates for Custom Queries
- Search.php – return number of results but cannot loop through
- How do I get the content of a custom instance of WP_Query?
- Performance concerns: index.php vs taxonomy-$taxonomy.php
- Creating ‘posts page’ loop based on the page itself
- Why does apply_filters behave different inside and outside a loop?
- WordPress Queries Not Working?
- Determine if ID is page or post and query the ID
- Custom template for password protected page
- Filter subpages in while loop from WP Query object
- Use have_posts() with array of post results retrieved by $wpdb->get_results
- Custom query does not find pages
- Query WP Page for Buddypress Group Home [closed]
- How to sort by most watched in X days/months
- Magazine style frontpage with multiple categories/loops and no duplicate posts
- $post in wp_query?
- WP Query get only 1 post (sticky, not sticky etc)
- WP_Query not returning correct result with meta_query parameter
- How to pass the current content of $wp_query to a new page?
- How to make the ‘request’ filter work?
- problem with the loop
- Trouble passing attribute into shortcode function
- How can I do a orderby by the number of items? So basically list by starting with the array with the largest number of post
- get_children() Archive Template
- Woocommerce Shortcode which displays a table with product data
- Function the_posts_pagination() not compatible with WP_Query arguments
- How to separate two columns from one content on a page template?
- How can I use arrays and a foreach to generate many lists with WP_Query?
- How to use custom page for all posts with custom url, call another directory?