Skip to content

How to Create Search Filter for Custom Posts in Elementor?

Table Of Content

A search-input filter lets visitors type a keyword and narrow a listing to matching posts, without leaving the page.

The WP Search Filters widget’s Search sub-type turns any filter item into a keyword search box, with control over which fields it matches against.

For the full settings tour of the WP Search Filters widget, see WP Search Filters Widget Settings Overview.

Requirement – This widget is a part of The Plus Addons for Elementor Pro, make sure it’s installed & activated to enjoy all its powers.

Before You Start

  • Prerequisite: Elementor (free) installed and active.
  • Edition: WP Search Filters is a Pro widget – it requires The Plus Addons for Elementor Pro to be installed and active.
  • Widget to enable: go to The Plus Addons > Widgets, search for WP Filters and turn its toggle on.
  • A custom post type with several published entries.

Steps

Add the WP Filters widget, keep Filter Type set to WP Filter, then set Select Source to Search Input.

Wp filter type set to search input

Open Generic Filters and toggle which fields the keyword should match: Search in Title, Content, Name, Excerpt, Category or Tags.

Generic filters popover with per-field search switches

Settings Overview

SettingWhat it doesDefault
WP Filter TypeSet to Search Input to enable keyword filtering.–
Search in TitleInclude the post title in the keyword match.On
Search in ContentInclude the post body in the keyword match.Off
Search in ExcerptInclude the post excerpt in the keyword match.Off

Related Docs

Related Frequently Asked Questions

Related Docs