Quick Search

The Quick Search module makes it faster to navigate your WordPress site by adding a universal search bar to the admin area. Quickly find posts, pages, users, media, settings, and more with fuzzy matching, keyboard shortcuts, and context-aware results—streamlining your workflow.

How to use

To enable the Quick Search Module:

  1. Click on the “Utilities” category
  2. Search or scroll to locate the Quick Search Module
  3. Click on the switch to enable

What’s next?

Once enabled, the Quick Search bar will be available in the WordPress admin bar at the top of your screen. Use it to quickly find and navigate to any content, settings, or features in your WordPress admin.

1. Using Quick Search

  1. Click on the search icon in the admin bar or press Ctrl+K (Windows/Linux) or Cmd+K (Mac) to open the search bar
  2. Start typing to search through:
    • Posts, pages, and custom post types
    • Media library items
    • Comments
    • Users
    • Plugins and themes
    • Settings pages
    • And more…

2. Search Features

  • Fuzzy Matching: Finds results even with typos or partial matches
  • Keyboard Navigation: Use arrow keys to navigate results and Enter to select
  • Quick Access: Common actions like “Add New Post” are available as suggestions
  • Context-Aware: Results are tailored based on whether you’re in the admin area or frontend

3. Best Practices

  1. Use Keywords: Type just a few keywords instead of full sentences
  2. Keyboard Shortcuts: Use Esc to close the search or Tab to navigate between results
  3. Quick Actions: Access common tasks directly from search results
  4. Admin vs Frontend: Some options may differ based on your current context

4. Developer Hooks

The module provides several filters and actions for developers:

// Add custom search results
add_filter('wpextended/search_results', function($results, $search_term, $is_admin) {
// Add your custom results
$results['custom'] = [
[
'label' => 'Custom Result',
'url' => admin_url('custom-page.php'),
'type' => 'Custom Type',
'description' => 'Custom description'
]
];
return $results;
}, 10, 3);

// Modify maximum number of results
add_filter('wpextended/max_search_results', function($max) {
return 15; // Increase from default 8
});

5. Custom Integrations

You can add custom search integrations:

// Register a custom search integration
add_action('init', function() {
if (class_exists('WpextendedModulesQuickSearchProBootstrap')) {
$quick_search = WpextendedModulesQuickSearchProBootstrap::get_instance();
$quick_search->addIntegration('custom', function($search_term, $is_admin) {
// Your search logic here
return [
[
'label' => 'Custom Result',
'url' => '#',
'type' => 'Custom Type'
]
];
});
}
});

6. Performance Considerations

  • Search results are cached to improve performance
  • Heavy operations are performed asynchronously
  • The search index is built dynamically based on user permissions

7. Security

  • All searches are permission-aware (users only see what they have access to)
  • Search terms are sanitized before processing
  • Nonce verification is used for all AJAX requests

This module is ideal for:

  • Large WordPress sites with complex admin areas
  • Developers who need quick access to settings and tools
  • Content managers who work with many posts and pages
  • Anyone who wants to save time navigating the WordPress admin

Need help?

Still need help? Create a support ticket and our team will get back to you shortly.