I would like to propose on my site a search engine allowing to find categories (with suggestions), and not posts or pages.

I tried different plugins, including ajax search lite, but without success, because it always necesseray to select as source article or page.

Do you know a solution? With Ajax search lite or others?

Thanks in advance


You can use default wordpress function to search categories. get_terms() is the function you need to use where you need to pass your search string in a search parameter.

For details please check get_terms function in wordpress codex

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.