Finally figured it out!
global $wp_query; echo $wp_query->query_vars['grant-type']
Related Posts:
- Get the current page URL (including pagination)
- Why is “/page/2/” not working?
- Get current URL (permalink) without /page/{pagenum}/
- How to filter to output of the get_permalink() function
- Permalink with sub-sub-category and post name
- Custom Taxonomy in Permalink of Post
- Date based URLs for custom posts and pagination
- the_title() and the_permalink() won’t work on AJAX calls
- WP JSON list all permalinks
- Adding anchor to paginate_links + Safari anchor bug
- Filtering comment permalinks when a condition is met
- 404 on category.php pagination
- Include Taxonomy slug in post url
- Remove Custom Taxonomy Slug from Permalink
- Add a css class to a taxonomy permalink
- Remove the Parent category from the permalink but leave the child category
- Add ‘articles’ prefix before blog posts url without affecting pagination
- How to hook into permalink when publishing-saving post?
- Multilanguage URLs
- How to get full content including template HTML
- Custom taxonomy rewrite using tax name instead of rewrite slug
- Clean install – Changing permalinks in twentyeleven give 404
- Custom permalink for search and pagination
- wp_logout_url redirects to incorrect page because of pagination
- Redirect parent taxonomy to it’s child
- How to change the permalink option to post name on theme activation?
- Changing post content on save, using updated fields
- How to Get Page 2 / Paginated RSS Feed with Custom Permalink Structure?
- Filter taxonomy admin pagination
- Pagination Issue – /page/2 404
- next_posts_link URL does not include name of custom post type
- Why is page/2/ not working?
- Possible to remove taxonomy from permalink if uncategorized?
- is there a way to add the post URL to the results of fselect facet in Facetwp plugin?
- Dynamic Template file for subpage
- wordpress custom post type taxonomy permalink
- Process all virtual sub pages on parent page
- How to generate a list of all urls
- Pagination for ajax category filter
- Permalink slug no longer editable when using post_type_link filter
- WordPress Permalink feature alternative
- How to handle paging/pagination with a custom permalink?
- Change permalink structure for pagination only
- How to Custom Edit Post Title & Permalink Slug?
- Inserting a string in the middle of page’s permalink?
- Pagination using paginate_links
- Home page Pagination – Other pages do not redirect to home page template
- Access or edit custom generated permalinks with WP_Rewrite
- Pagination url for page template
- problem with pagination in custom permalinks
- Remove Parents From Permalink of Hierarchical Taxonomy
- Get URLs for AJAX Filter Checkboxes WordPress
- Pagination don’t work with active filters
- Custom child page permalink
- Permalinks causing wp-json to 405
- Remove character from permalink
- archive by year and category: permalink support doesn’t work on pagination
- Whole site’s pagination not working after rewriting product permalink
- Edit the output of a filter
- Fire a code when permalinks updated
- WordPress /page/2 gives 404 when custom permalinks is set to %category%%postname%
- Edit Post Permalink option removed, looking for possible causes
- How to separate an overgrown blog into sub-blogs – without breaking existing inbound links?
- Display post after choice two taxonomy terms
- Why does page for hierarchical taxonomy parent term go 404?
- Ajax Filtering Pagination
- How to get a clean pagination link without variable
- Added .html to Woocommerce permalink but pagination don’t work!
- Pagination links for taxonomy archive page 404 error on every page except first
- Apply filters when loading post via ajax
- I can get the permalink or the excerpt to work correctly, but not both
- Search and replace post URL’s on page output?
- WordPress Pagination Not Working After Transfer from Localhost
- Add Custom Pagination Permalink
- Search page Paginations not working
- Custom Permalinks and filters?
- Once redirected by Rewrite rules, how can WordPress know the page?
- Using a taxonomy value as part of a post URL
- How to update permalink on the fly?
- Pagination is not working, how to trace it properly?
- How to change pagination base from slash to query form?
- Category pagination first link works, remaining don’t
- Include other parameters in permalinks for better management of browser history
- Leverage permalinks with AJAX
- Post archive pages bringing me to a 404 page
- Not recognizing my custom templates in hierarchy
- Remove “?category=” in the URL wordpress ajax filter work for category
- ‘Unsupported Operand Types’ error stemming from taxonomy re-writes with PHP 8.1
- Rewrite permalink with PHP processing
- Pretty permalinks for search results with extra query var
- Random Alphanumeric Key URLs
- Change permalinks with ACF values
- Changing Custom Permalink with Filter
- Confusion about how a URL is being parsed
- How do I make 301 redirection from `/%post_id%/` to `/%postname%/`?
- Change permalinks for specific pages
- How can you create a Permalink structure on a WordPress site?
- How to create a standard WP Page that has the same url as an archive
- Link to a custom page without a permalink?
- How to make custom page link to root automatically?