Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 127925

Custom Post Types extend WordPress to support additional content.

0 votes

Custom query at top of archive search page, arguments are overridden

So I finally got this working, but not using wp_query(). Instead, I had to use a custom query with $wpdb. Example: $latest_document = $wpdb->get_results( $wpdb->prepare( " SELECT $wpdb->pos …
Paul Canning's user avatar
1 vote
2 answers
260 views

Custom query at top of archive search page, arguments are overridden

I am using a customised archive template for a custom post type. At the top of the page, I'd like to show a specific post, found using a new wp_query() call. $args = [ 'posts_per_page' => 1, …
Paul Canning's user avatar
0 votes
1 answer
40 views

Custom Archive - hide posts until a search is made?

I have a Custom Post Type with an Archive page. I have a filter form on the page so the user can select some options and then find matching results. How can I stop posts being displayed (using the lo …
Paul Canning's user avatar