Skip to content
  • Spider Themes
  • Subscription & Refund Policy (opens in a new tab)
  • Terms and Conditions (opens in a new tab)
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. (opens in a new tab)
  • Antimanual Antimanual Antimanual is an all-in-one AI plugin that automates chatbots, content generation, bulk rewriting, and SEO auditing for WordPress (opens in a new tab)
  • Forumax Forumax Forumax is an AI-powered standalone forum plugin featuring smart voting, solved topics, and automated support-to-knowledge-base conversion. (opens in a new tab)
  • 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. (opens in a new tab)
  • Changeloger Changeloger Changeloger creates beautiful visual release notes while managing public roadmaps and user feedback through a Kanban-style board. (opens in a new tab)
  • Spider Elements Spider Elements Spider Elements provides 25+ versatile Elementor widgets, including focused flipboxes, interactive hotspots, and creative image sliders. (opens in a new tab)
  • Jobus Jobus Jobus is an all-in-one ahiring platform for WordPress, featuring unlimited job postings, applicant tracking, and dedicated user dashboards. (opens in a new tab)
Loading...
  • 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. (opens in a new tab)
  • Antimanual Antimanual Antimanual is an all-in-one AI plugin that automates chatbots, content generation, bulk rewriting, and SEO auditing for WordPress (opens in a new tab)
  • Forumax Forumax Forumax is an AI-powered standalone forum plugin featuring smart voting, solved topics, and automated support-to-knowledge-base conversion. (opens in a new tab)
  • 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. (opens in a new tab)
  • Changeloger Changeloger Changeloger creates beautiful visual release notes while managing public roadmaps and user feedback through a Kanban-style board. (opens in a new tab)
  • Spider Elements Spider Elements Spider Elements provides 25+ versatile Elementor widgets, including focused flipboxes, interactive hotspots, and creative image sliders. (opens in a new tab)
  • Jobus Jobus Jobus is an all-in-one ahiring platform for WordPress, featuring unlimited job postings, applicant tracking, and dedicated user dashboards. (opens in a new tab)
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. (opens in a new tab)
  • Antimanual Antimanual Antimanual is an all-in-one AI plugin that automates chatbots, content generation, bulk rewriting, and SEO auditing for WordPress (opens in a new tab)
  • Forumax Forumax Forumax is an AI-powered standalone forum plugin featuring smart voting, solved topics, and automated support-to-knowledge-base conversion. (opens in a new tab)
  • 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. (opens in a new tab)
  • Changeloger Changeloger Changeloger creates beautiful visual release notes while managing public roadmaps and user feedback through a Kanban-style board. (opens in a new tab)
  • Spider Elements Spider Elements Spider Elements provides 25+ versatile Elementor widgets, including focused flipboxes, interactive hotspots, and creative image sliders. (opens in a new tab)
  • Jobus Jobus Jobus is an all-in-one ahiring platform for WordPress, featuring unlimited job postings, applicant tracking, and dedicated user dashboards. (opens in a new tab)

Mobile Navigation

  • 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 July 13, 2026

How to Add Category Filters and Customize Search in Docy

Minhaz Ahmed
3 minutes
371 Views
Share
If you’re using the Docy WordPress theme with EazyDocs, you may want to fine-tune the Hero Search feature so it filters results by specific categories. That way, visitors can find the right documentation faster instead of wading through unrelated content. In this post, I’ll walk through the requirements, technical considerations, and practical steps for making that happen.

Objective: Enhancing Hero Search

The main goal here is to customize the Docy Hero Search dropdown so it shows specific documentation categories, such as product modules or specialized guides, instead of the default post types or forum options. On top of that, the search should return only EazyDocs documentation titles from the selected categories, not regular blog posts or forum entries.

Functional Requirements

  • Dropdown Category Filter: Replace the default post type selectors in the search bar with a custom list of specific categories.
  • Targeted Search Source: Keep search results limited to EazyDocs items tied to the selected categories.
  • Versatile Placement: Make the filter usable in the main Hero section, sidebars, or tabbed components.
  • Scalability: Support hierarchical subcategories so the setup can grow with your content.
  • Consistent UI: Make sure any related tabs follow the same category logic as the search dropdown.

Implementation Considerations

  • Platform Limitations: Since this isn’t a built-in feature in Docy or EazyDocs, it needs custom development.
  • Customization Methods: The cleanest approach is usually through a child theme, template overrides, or a dedicated custom plugin.
  • Taxonomy Mapping: Be clear about whether the categories come from standard WordPress post categories or from EazyDocs custom taxonomies so the query logic pulls the right content.

Development Steps

  1. Identify Data Sources: Confirm how your EazyDocs content is structured and which taxonomy it uses.
  2. Customize the Dropdown: Add a custom select field in the Hero search form and populate it 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 supporting elements, like sidebar tabs, so they match the same category filters.
  5. Enable Subcategory Support: Build the query logic so it can handle hierarchical taxonomy terms without breaking the search flow.

Sample Code Snippet

Developers can use the following approach in a child theme’s functions.php file or in 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’ll still need additional custom code to populate the dropdown options and handle any frontend template overrides.

Project Management

  • Scope and Budget: Customization costs usually depend on the complexity of your setup and the exact behavior you want.
  • Timeline: Implementation often takes 2–3 business days, depending on the developer’s workload and project details.
  • Communication: Share your taxonomy structure and content organization clearly with your developer so the solution is built the right way from the start.

Conclusion

Docy and EazyDocs give you a solid base for documentation, but advanced search filtering usually needs a custom build. Once you map out your taxonomy structure and search behavior, you can work with a developer to create a smoother, 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

7 Proven WordPress Security Tips for Businesses
4 minutes July 7, 2026
7 Essential WordPress Security Tips for Businesses
6 minutes July 7, 2026
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

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 disable WooCommerce WordPress Docy Docy action button missing Docy Core plugin Docy header customization Docy ThemeForest theme eazydocs 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 plugin updates remove WooCommerce features site identity logo issue 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 navbar 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