• Spider Themes
  • Subscription & Refund Policy
  • Terms and Conditions
Spider Themes Helpdesk Spider Themes Helpdesk
  • EazyDocs EazyDocs EazyDocs is an AI-powered WordPress plugin for building professional knowledge bases, help centers, and searchable documentation.
  • Antimanual Antimanual Antimanual is an all-in-one AI plugin that automates chatbots, content generation, bulk rewriting, and SEO auditing for WordPress
  • Forumax Forumax Forumax is an AI-powered standalone forum plugin featuring smart voting, solved topics, and automated support-to-knowledge-base conversion.
  • Advanced Accordion Advanced Accordion Advanced Accordion Gutenberg Block is the #1 WordPress plugin for creating professional FAQ sections, expandable content accordions, and interactive tabs directly in the Gutenberg editor.
  • Changeloger Changeloger Changeloger creates beautiful visual release notes while managing public roadmaps and user feedback through a Kanban-style board.
  • Spider Elements Spider Elements Spider Elements provides 25+ versatile Elementor widgets, including focused flipboxes, interactive hotspots, and creative image sliders.
  • Jobus Jobus Jobus is an all-in-one ahiring platform for WordPress, featuring unlimited job postings, applicant tracking, and dedicated user dashboards.
  • Home
  • All Docs
    • Theme Docs
      • Docy
      • Docy Jekyll Theme
      • Ama
      • Zoomy
      • Banca
      • Landpagy
      • Listy
      • Jobi
    • Plugin Docs
      • EazyDocs
      • Forumax
      • Advanced Accordion Block
      • Spider Elements
      • Antimanual
      • Jobus
      • Changeloger
  • All Forums
    • Themes Support
      • Docy
      • Banca
      • Landpagy
      • Zoomy
      • AMA
      • Listy
      • Jobi
    • Plugin Support
      • EazyDocs
      • Antimanual
      • Forumax
      • Changeloger
      • Jobus
      • Spider Elements
      • Advanced Accordion
  • Blog
  • Hire Us
Ask
Spider Themes Helpdesk Spider Themes Helpdesk
  • EazyDocs EazyDocs EazyDocs is an AI-powered WordPress plugin for building professional knowledge bases, help centers, and searchable documentation.
  • Antimanual Antimanual Antimanual is an all-in-one AI plugin that automates chatbots, content generation, bulk rewriting, and SEO auditing for WordPress
  • Forumax Forumax Forumax is an AI-powered standalone forum plugin featuring smart voting, solved topics, and automated support-to-knowledge-base conversion.
  • Advanced Accordion Advanced Accordion Advanced Accordion Gutenberg Block is the #1 WordPress plugin for creating professional FAQ sections, expandable content accordions, and interactive tabs directly in the Gutenberg editor.
  • Changeloger Changeloger Changeloger creates beautiful visual release notes while managing public roadmaps and user feedback through a Kanban-style board.
  • Spider Elements Spider Elements Spider Elements provides 25+ versatile Elementor widgets, including focused flipboxes, interactive hotspots, and creative image sliders.
  • Jobus Jobus Jobus is an all-in-one ahiring platform for WordPress, featuring unlimited job postings, applicant tracking, and dedicated user dashboards.
Ask
Spider Themes Helpdesk Spider Themes Helpdesk
  • EazyDocs EazyDocs EazyDocs is an AI-powered WordPress plugin for building professional knowledge bases, help centers, and searchable documentation.
  • Antimanual Antimanual Antimanual is an all-in-one AI plugin that automates chatbots, content generation, bulk rewriting, and SEO auditing for WordPress
  • Forumax Forumax Forumax is an AI-powered standalone forum plugin featuring smart voting, solved topics, and automated support-to-knowledge-base conversion.
  • Advanced Accordion Advanced Accordion Advanced Accordion Gutenberg Block is the #1 WordPress plugin for creating professional FAQ sections, expandable content accordions, and interactive tabs directly in the Gutenberg editor.
  • Changeloger Changeloger Changeloger creates beautiful visual release notes while managing public roadmaps and user feedback through a Kanban-style board.
  • Spider Elements Spider Elements Spider Elements provides 25+ versatile Elementor widgets, including focused flipboxes, interactive hotspots, and creative image sliders.
  • Jobus Jobus Jobus is an all-in-one ahiring platform for WordPress, featuring unlimited job postings, applicant tracking, and dedicated user dashboards.
  • Home
  • All Docs
    • Theme Docs
      • Docy
      • Docy Jekyll Theme
      • Ama
      • Zoomy
      • Banca
      • Landpagy
      • Listy
      • Jobi
    • Plugin Docs
      • EazyDocs
      • Forumax
      • Advanced Accordion Block
      • Spider Elements
      • Antimanual
      • Jobus
      • Changeloger
  • All Forums
    • Themes Support
      • Docy
      • Banca
      • Landpagy
      • Zoomy
      • AMA
      • Listy
      • Jobi
    • Plugin Support
      • EazyDocs
      • Antimanual
      • Forumax
      • Changeloger
      • Jobus
      • Spider Elements
      • Advanced Accordion
  • Blog
  • Hire Us
  • banner shape
  • banner shape
  • plus icon
  • plus icon
category filter, documentation, Docy, EazyDocs, hero search, Uncategorized
Updated on March 17, 2026

How to Add Category Filters and Customize Search in Docy

Minhaz Ahmed
3 minutes
350 Views
Share
If you are using the Docy WordPress theme and EazyDocs, you may wish to customize the Hero Search feature to filter results by specific categories, ensuring users find relevant documentation efficiently. This post outlines the requirements, technical considerations, and implementation strategies for achieving this level of customization.

Objective: Enhancing Hero Search

The primary goal is to modify the Docy Hero Search bar dropdown to display specific documentation categories (such as product-specific modules or specialized guides) instead of default post types or forums. Additionally, the search functionality should be restricted to return only titles from EazyDocs documentation within those selected categories, excluding standard blog posts or forum entries.

Functional Requirements

  • Dropdown Category Filter: Replace default post type selectors in the search bar with a custom list of specific categories.
  • Targeted Search Source: Ensure search results are limited to EazyDocs items associated with the selected categories.
  • Versatile Placement: The filter should be configurable for use in the main Hero section, sidebars, or tabbed components.
  • Scalability: The solution must support hierarchical subcategories to accommodate future content growth.
  • Consistent UI: Any associated tabs should reflect the same category logic as the search dropdown.

Implementation Considerations

  • Platform Limitations: Since this is not a native feature within Docy or EazyDocs, custom development is required.
  • Customization Methods: Implementation is best handled via child theme modifications, template overrides, or a dedicated custom plugin.
  • Taxonomy Mapping: Clearly define whether the categories originate from standard WordPress post categories or EazyDocs custom taxonomies to ensure accurate data retrieval.

Development Steps

  1. Identify Data Sources: Verify the taxonomy structure of your EazyDocs content.
  2. Customize the Dropdown: Implement a custom select field in the Hero search form that dynamically populates with your chosen categories.
  3. Refine Query Logic: Use WordPress hooks to filter search results based on the category selected by the user.
  4. Ensure UI Consistency: Update secondary UI elements, such as sidebar tabs, to match the selected category filters.
  5. Enable Subcategory Support: Build the query logic to handle hierarchical taxonomy terms.

Sample Code Snippet

Developers can use the following approach in a child theme’s functions.php file or a custom plugin to adjust the search query:
add_filter('pre_get_posts', 'filter_docs_by_category');
function filter_docs_by_category($query) {
    if (is_search() && !is_admin() && isset($_GET['doc_category'])) {
        $query->set('post_type', 'eazydocs');
        $query->set('tax_query', array([
            'taxonomy' => 'doc_category',
            'field' => 'slug',
            'terms' => sanitize_text_field($_GET['doc_category'])
        ]));
    }
    return $query;
}
Note: You will require additional custom code to populate the dropdown options and manage frontend template overrides.

Project Management

  • Scope and Budget: Costs for such customizations generally vary based on complexity and specific requirements.
  • Timeline: Implementation typically takes 2–3 business days, depending on the developer’s workload and project specifications.
  • Communication: Clearly define your taxonomy requirements and content structure to your developer to ensure the solution is built correctly.

Conclusion

While Docy and EazyDocs provide a robust foundation for documentation, advanced search filtering often requires bespoke development. By defining your taxonomy structure and search behavior upfront, you can work with a qualified developer to create a seamless, category-aware search experience for your users.
Tags : category-filter custom-taxonomy Docy eazydocs hero-search
Rate the article

Leave a Comment Cancel reply

Search

Recent Posts

How to Add a Description to Your Forum in WordPress
3 minutes October 15, 2025
How to Remove Footer Text in WordPress (Blog, Forums, Get Help)
2 minutes September 22, 2025
How to Import Demo Data in the Docy Theme
2 minutes September 18, 2025
How to Install the Docy Theme for WordPress: A Step-by-Step Guide
2 minutes September 18, 2025

Tags

change 404 page image WordPress changelog clean up WordPress dashboard clear cache logo issue collaboration tools for support Customer Support customize 404 page WordPress deactivate bbPress WordPress demo import not working WordPress disable WooCommerce WordPress Docy Docy action button missing Docy child theme error Docy Core plugin Docy ThemeForest theme eazydocs EazyDocs carrot buttons hidden EazyDocs navigation buttons EazyDocs plugin update fix EazyDocs support edit 404.php WordPress feedback sharing tips Fixed header logo not displaying helpdesk logo not showing WordPress logo not updating WordPress missing plugins after demo import navbar button not showing WordPress New remove WooCommerce features support ticket best practices Theme Settings Troubleshooting Tweaked update theme visual feedback for support WordPress WordPress documentation navigation WordPress error page design WordPress forum plugin WordPress logo issue wordpress plugin WordPress plugin notification WordPress theme customization
  • Our Portfolio
  • Theme Demos
  • Privacy Policy

This website is made with Docy

ChatbotKnowledge BaseContact
You are offline
Chatbot Avatar
Hi there! How can I help you today?

Not sure what to ask?

  1. Home
  2. Docs
  3. Antimanual
  4. Broken Link Checker
  5. Scheduled Scans and Alerts

Scheduled Scans and Alerts

Put your link maintenance on autopilot. Configure automated background scans on

  1. Home
  2. Docs
  3. Antimanual
  4. Broken Link Checker
  5. Scanning and Auditing

Scanning and Auditing

Learn how to configure post types, bypass the transient cache, and initiate a sm

  1. Home
  2. Docs
  3. Antimanual
  4. Broken Link Checker
  5. Redirect Chain Bypass

Redirect Chain Bypass

Bypass latency-inducing redirect chains and circular redirect loops. Antimanual

  1. Home
  2. Docs
  3. Antimanual
  4. Broken Link Checker
  5. Resolving Link Issues

Resolving Link Issues

Discover how to fix broken links directly from your dashboard using 1-click data

  1. Home
  2. Docs
  3. Antimanual
  4. Broken Link Checker

Broken Link Checker

Antimanual's Broken Link Checker is a resource-friendly, ProMax feature that aut

  1. Home
  2. Docs
  3. EazyLMS
  4. Advanced Configuration
  5. Developer Resources
  6. Template Overrides

Template Overrides

Learn how to safely customize EazyLMS course pages using template overrides. Fol

  1. Home
  2. Docs
  3. EazyLMS
  4. Advanced Configuration
  5. Developer Resources
  6. Working with REST API

Working with REST API

Discover how to interact with EazyLMS data using the WordPress REST API. Learn t

  1. Home
  2. Docs
  3. EazyLMS
  4. Advanced Configuration
  5. Developer Resources
  6. Plugin Directory Structure

Plugin Directory Structure

Learn how the EazyLMS directory structure is organized. Explore how the plugin u

  1. Home
  2. Docs
  3. EazyLMS
  4. Advanced Configuration
  5. Developer Resources

Developer Resources

This guide provides developers with insights into the EazyLMS architecture, incl

  1. Home
  2. Docs
  3. EazyLMS
  4. Advanced Configuration
  5. Customization Options
  6. Access Control Settings

Access Control Settings

Discover how EazyLMS secures your course content with advanced access control se

  1. Home
  2. Docs
  3. EazyLMS
  4. Advanced Configuration
  5. Customization Options
  6. Course Page Customization

Course Page Customization

Learn to customize your EazyLMS course pages by adjusting labels, featured media

  1. Home
  2. Docs
  3. EazyLMS
  4. Advanced Configuration
  5. Customization Options
  6. Configuring Labels and Text

Configuring Labels and Text

Learn how to customize every label, button, and heading in EazyLMS. Easily rebra

How to Add Category Filters and Customize Search in Docy

Or copy link

Clipboard Icon