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"
Bookmarks inbookmarks:mine
inbookmarks:1234
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 user 86574

The method by which users find information on your WordPress site

0
votes
0answers
In my wordpress site I am making use of the pre_get_posts filter to customise my site search query. In functions file I have the following below. … 'ID'; } return $groupby; } add_filter( 'posts_groupby', 'cf_posts_groupby' ); Modify the search query with posts_where for things like excluding images from the results: function cf_search_where …
asked Aug 31 '21 by odd_duck