Menu icon
RedCrackle
Menu icon
Services
01Design Transformation
About UsCase StudiesBlogContact Us

<

Blog post

Using Views Exposed Filter In Drupal 8

Neerav Mehta

Founder & CEO

Introduction

The Views Exposed Filter functionality helps users select or filter data on the display. In our example, we are going to cover the basic steps involved to use the Views Exposed Filter. Here, we are going to create a views display with content titles by setting an exposed filter for the content types. The resulting display will look similar to the one below:
views exposed

For achieving this, we need to do the following steps.

  1. Create a View
    Click "Structure" [Manage >> Structure] on the administration menu or go to the path "admin/structure".
    views exposed

Click "Add new view" or go to the path "admin/structure/views/add". views exposed

In the new form, type in Views Exposed Filter in the "Views name" field. Tick the box against the "Create a page" field.
Provide a value to the "Path" field. Here we are providing the path views-exposed-filter.
Under "Display format", select Unformatted list and titles from the dropdowns. Click "Save and edit". Refer the following picture for more details.
views exposed

  1. Add the filter field to be exposed
    In the Views Display settings page, click "Add" in the "FILTER CRITERIA" section. views exposed

You will get a configuration page similar to the one shown below:
views exposed

Scroll down and select "Content: Type". Click "Apply (all displays)". You will get the "Configure filter criterion: Content: Type" box as shown below:
views exposed

Tick the box against "Expose this filter to visitors, to allow them to change it" and click "Apply". Save the view and go to the path earlier defined by you (views-exposed-filter). Your display will be similar to the one below:
views exposed

Neerav Mehta

Neerav Mehta

Founder & CEO

Neerav Mehta is the Founder & CEO of Red Crackle. With sterling qualities, Neerav’s technological acumen is firing a generation of progressive companies on the digital path. With an undergraduate degree in Electrical Engineering from India's most prestigious institution IIT Bombay and having spent seven years developing and contributing to the launch of AMD's innovative line of computer products, Neerav founded Red Crackle where he is lauded for his dynamic and innovative genius.

View all posts

>

Read Next

10 Ways To Increase Productivity At Work

10 Ways To Increase Productivity At Work

Learn more

11 Project Management Tips For New Managers

11 Project Management Tips For New Managers

Learn more

30 best WordPress widgets for your site

30 best WordPress widgets for your site

Learn more

Let’s get you started!

Contact Us

>

RedCrackle

Explore

About Us

Services

Contact Us

Our address

5346 Gerine Blossom Dr,

San Jose, CA 95123

USA

Socials

Twitter
LinkedIn

© 2026 RedCrackle. All rights reserved.