Skip to content

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.

Your wiki dashboard includes a search field with live autocomplete. As you type:

  1. After 2 characters, matching page titles appear in a dropdown
  2. 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.

When you need to search page content (not just titles), submit the search form for full results:

  1. Enter your query in the dashboard search field
  2. Press Enter or click the search button
  3. 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.

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.

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}/

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.

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.