A site with several custom post types – Events, Team Members, Portfolio items – usually wants its search to cover only some of them, not every post type at once.

The Search Bar widget’s Select Type control is a multi-select, so any combination of registered post types can be searched together.

For the full settings tour of the Search Bar widget, see Search Bar 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: Search Bar 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 Search Bar and turn its toggle on.
  • One or more custom post types with published entries.

Steps

Add the Search Bar widget, keep Source set to Post, then set Select Type to the specific post type(s) you want included.

Select type multi-select listing custom post types

Settings Overview

SettingWhat it doesDefault
Select TypeMulti-select of which post types to search.Post