I have a custom post type with custom fields, the one in particular is “zip”. […]
Tag: pre-get-posts
Custom Table Column Sortable by Taxonomy Query
I am looking to add a custom column to a custom post type post listing […]
WP_Query orderby post__in remains ineffective in the Loop
Iâm trying to query a custom array of posts for the homepage, trying to maintain […]
tax_query not working on main query
I’m using the following code to do a tax_query and it doesn’t seem to work […]
Exclude category on blog list page
I’ve got a site with a News page (archive for category ‘news’) and a separate […]
Using pre_get_posts to filter one loop in a multiloop archive
I have a custom-post-type archive (archive-rg_blog.php) with two loops in it. One of the loops […]
orderby meta_value breaks taxonomy term archives
I have a People post type with a Person Type taxonomy (e.g. “Staff”). On the […]
WP_Error not displaying errors
I am trying to utilize WP_Error for my plugin, but nothing happens. Is this too […]
How to pass custom parameter to WP_Query for filtering in pre_get_posts
I have an ajax request that returns the result of a WP_Query loop. I would […]
Sort on meta value but include posts that don’t have one
I’ve been modifying the built in WP search using the pre_get_posts filter, allowing the user […]
No More Posts Available.
No more pages to load.