Search & Filtering
Finding a specific wiki page is fast - whether you type a quick search, browse by category, or filter by tag, you can get to the right page in seconds without scrolling through a long list.
Live Search (Autocomplete)
Section titled “Live Search (Autocomplete)”Your wiki dashboard includes a search field with live autocomplete. As you type:
- After 2 characters, matching page titles appear in a dropdown
- Click any suggestion to go directly to that page
The autocomplete returns up to 10 suggestions, ordered alphabetically by title. For example, if your wiki has pages on “Climate Change”, “CRISPR”, and “Coral Reefs”, typing “c” and “l” immediately surfaces “Climate Change” and you can navigate without finishing the query.
Full Search
Section titled “Full Search”When you need to search page content (not just titles), submit the search form for full results:
- Enter your query in the dashboard search field
- Press Enter or click the search button
- Results display as a paginated list ranked by WordPress relevance scoring
Full search matches against both page titles and content, returning only published wiki pages.
Category Filtering
Section titled “Category Filtering”Your wiki pages are organized into categories. You can:
- Browse pages by category from the dashboard listing
- Click any category badge on a page to see all pages in that category
- Navigate directly to a category archive:
yourdomain.com/wiki-category/{category-slug}/
For example, if you have a “Science & Technology” category, clicking its badge shows only those pages - useful when your wiki covers many topics and you want to focus on one area.
Tag Filtering
Section titled “Tag Filtering”Tags let you find pages that share a theme across multiple categories:
- Tags appear on individual wiki pages
- Clicking a tag shows all pages with that tag
- Tag archive URL:
yourdomain.com/wiki-tag/{tag-slug}/
Random Page
Section titled “Random Page”You can jump to a random wiki page using the ?wbmw_action=random URL parameter on your dashboard page. This is handy for discovery when you want to browse the wiki casually rather than search for something specific.
Developer: Customizing Search
Section titled “Developer: Customizing Search”Developers can modify search behavior using the wbmw_search_args filter:
add_filter( 'wbmw_search_args', function( $args, $query ) { // Boost title matches $args['orderby'] = 'relevance';
// Limit to specific category $args['tax_query'] = array( array( 'taxonomy' => 'wiki_category', 'field' => 'slug', 'terms' => 'guides', ), );
return $args;}, 10, 2 );The filter receives the WP_Query arguments array and the original search query string.

