Global Search supports command prefixes to filter results by content type. This allows users to quickly narrow their search to specific content types without navigating through multiple pages.
Syntax: >post [query]
Description:
>post prefix from search queryExamples:
>post - Shows all posts (no query)>post tutorial - Searches posts for "tutorial">post my article - Searches posts for "my article"Use Cases:
Syntax: >page [query]
Description:
>page prefix from search queryExamples:
>page - Shows all pages (no query)>page about - Searches pages for "about">page contact - Searches pages for "contact"Use Cases:
Syntax: @user [query]
Description:
@user prefix from search queryExamples:
@user - Shows all users (no query)@user john - Searches users for "john"@user admin - Searches users for "admin"Use Cases:
Permissions:
manage_options capabilitySyntax: #category [query]
Description:
#category prefix from search queryExamples:
#category - Shows all categories (no query)#category news - Searches categories for "news"#category blog - Searches categories for "blog"Use Cases:
Syntax: !action [query]
Description:
Examples:
!action - Shows all quick actions!action post - Filters actions for "post"!action new - Filters actions for "new"Use Cases:
Syntax: ?help
Description:
Examples:
?help - Shows help documentationUse Cases:
Syntax: >[custom-type] [query]
Description:
Examples:
>product widgets - Searches products>event conference - Searches events>portfolio design - Searches portfolio itemsConfiguration:
search_post_types settingHow It Works:
Requirements:
Process:
Prefix Matching:
What It Is:
Example:
>post tutorialtutorialpostSearch Posts:
>post
>post tutorial
>post my article
Search Pages:
>page
>page about
>page contact us
Search Users:
@user
@user john
@user [email protected]
Search Categories:
#category
#category news
#category blog posts
Combined with Query:
>post wordpress - Posts containing "wordpress"@user smith - Users with "smith" in name/email#category tech - Categories with "tech" in nameQuick Actions:
!action - All quick actions!action new - Actions with "new" in name!action post - Actions related to postsHelp:
?help - Command syntax help| Command | Filter | Example | Description |
|---|---|---|---|
>post | Posts | >post tutorial | Search posts only |
>page | Pages | >page about | Search pages only |
@user | Users | @user john | Search users only |
#category | Categories | #category news | Search categories only |
!action | Quick Actions | !action new | Show quick actions |
?help | Help | ?help | Show command help |
>[type] | Custom Type | >product widget | Search custom post type |
When to Use:
Tips:
Benefits:
Examples:
>post vs searching all content@user john vs browsing users!action vs finding actions manuallyCommand Not Working:
No Results:
Custom Type Not Found:
Verify Syntax:
?help commandCheck Permissions: