{"id":25732,"date":"2022-01-11T08:11:17","date_gmt":"2022-01-11T08:11:17","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=25732"},"modified":"2025-02-27T13:13:48","modified_gmt":"2025-02-27T13:13:48","slug":"jetsmartfilters-devtools-author-and-post-type-filter-addon","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-devtools-author-and-post-type-filter-addon\/","title":{"rendered":"How to Filter Posts by Author and Nicename"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"create-a-filter-for-authors-user-id\"><strong>Create a Filter for Authors (User ID)<\/strong><\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<h3 class=\"wp-block-heading\" id=\"configure-the-filter-settings\"><strong>Configure the filter settings<\/strong><\/h3>\n\n\n\n<p>Head to the <strong><em>WordPress Dashboard > JetSmartFilters > Add New<\/em><\/strong> page to create a new filter. Next, enter a title to the filter in the <strong>Filter Name <\/strong>field and fill in the <strong>Filter Label <\/strong>and <strong>Active Filter Label <\/strong>fields (we insert the &#8220;Filter by Author&#8221; text in this case).<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-labels.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-labels-1024x640.webp\" alt=\"filter by author labels\" class=\"wp-image-47179\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-labels-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-labels-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-labels-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-labels-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-labels-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-labels.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Then, move to the <strong>Filter Settings<\/strong> section and define the <strong>Filter Type<\/strong> by pressing the corresponding buttons. In this tutorial, we pick the \u201cCheckboxes list\u201d type, but you can use any desired option.<\/p>\n\n\n\n<p>Read the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/filter-creation-settings-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">Filter Creation Settings Overview<\/a> to learn how to create different types of filters and manage their settings.<\/p>\n\n\n\n<p>After that, scroll this page, select the &#8220;Manual Input&#8221; option as the <strong>Data Source<\/strong>, and click on the &#8220;<strong>+ Add New<\/strong>&#8221; button.\u00a0<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-checkbox-options-list.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-checkbox-options-list-1024x640.webp\" alt=\"filter by author checkbox options list\" class=\"wp-image-47180\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-checkbox-options-list-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-checkbox-options-list-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-checkbox-options-list-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-checkbox-options-list-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-checkbox-options-list-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-checkbox-options-list.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>The <strong>Value <\/strong>field represents the user ID, which can be found in the <strong><em>WordPress Dashboard > Users > All Users<\/em><\/strong><em> <\/em>directory. Hover over the user name to see their ID.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/02\/wordpress-all-users-tab.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/02\/wordpress-all-users-tab-1024x640.webp\" alt=\"wordpress all users tab\" class=\"wp-image-47182\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/02\/wordpress-all-users-tab-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/02\/wordpress-all-users-tab-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/02\/wordpress-all-users-tab-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/02\/wordpress-all-users-tab-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/02\/wordpress-all-users-tab-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/02\/wordpress-all-users-tab.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Return to the filter editor and fill in the needed ID. There is also a<strong> Label<\/strong> field where you can type the label to be displayed as an option. In this case, we add seven users and type their names in the <strong>Labe<\/strong>l fields and IDs in the <strong>Value<\/strong> fields.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-checkbox-options-list.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-checkbox-options-list-1024x640.webp\" alt=\"filter by author checkbox options list\" class=\"wp-image-47180\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-checkbox-options-list-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-checkbox-options-list-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-checkbox-options-list-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-checkbox-options-list-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-checkbox-options-list-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-checkbox-options-list.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Read the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-create-a-new-filter-and-apply-it-to-publications\/\" target=\"_blank\" rel=\"noreferrer noopener\">Checkboxes Filter Overview<\/a> to learn how to use the <strong>Checkboxes Filter<\/strong> and configure its settings.<\/p>\n\n\n<div class=\"note-banner d-flex border-bold border-jetsmartfilters rounded overflow-hidden p-20\"><div class=\"mr-12\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M1 21H23L12 2L1 21ZM13 18H11V16H13V18ZM13 14H11V10H13V14Z\" fill=\"#FA5450\"\/><\/svg><\/div><div class=\"d-flex flex-column\"><div class=\"text-900 mb-12\">Warning<\/div><p class=\"m-0\">The next option appears if the <i>JetEngine<\/i> plugin is installed and activated.<\/p><\/div><\/div>\n\n\n\n<p>You can enable<strong> <\/strong>the <strong>Is Checkbox Meta Field<\/strong> option to filter data from the<strong> Checkbox<\/strong> meta field type.<\/p>\n\n\n\n<p>Head to the <strong>Query Variable<\/strong> field. Press the \u201c<strong>dynamic tag<\/strong>\u201d icon and select the &#8220;Plain Query Variable&#8221; option in the newly-appeared drop-down list. Then, put the &#8220;author&#8221; value in the <strong>Variable Name<\/strong> field. After that, the &#8220;_plain_query::author&#8221; will appear in the <strong>Query Variable<\/strong> field.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-query-variable-field.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-query-variable-field-1024x640.webp\" alt=\"filter by author query variable field\" class=\"wp-image-47177\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-query-variable-field-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-query-variable-field-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-query-variable-field-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-query-variable-field-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-query-variable-field-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-query-variable-field.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>You can also set the predefined filter value if needed. Read the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/how-to-set-a-default-value-for-filter\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Set a Default Value for Filter<\/a> tutorial to learn how to select metadata and taxonomies without using query strings and display the results as the initial state in the filter widgets\/ blocks\/elements.<\/p>\n\n\n\n<p>Finally, move to the top of the <strong>Edit Filter<\/strong> page and click on the &#8220;<strong>Publish\/Update<\/strong>&#8221; button.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"add-the-filter-to-the-page\"><strong>Add the filter to the page<\/strong><\/h3>\n\n\n\n<p>Proceed to the page where you want to place the filter; it can be edited either with Elementor, Block Editor, or the Bricks theme. In this case, we use Elementor.<\/p>\n\n\n\n<p>Select a widget corresponding to the filter you have created and add it to the page. In our case, we divided the page into two columns and inserted the <strong>Checkboxes Filter<\/strong> widget into the left column and the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/listing-grid-widget-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Listing Grid<\/strong><\/a> into the right one.<\/p>\n\n\n\n<p>Type in the newly created filter title in the <strong>Select filter<\/strong> field and choose the filter provider in the <strong>This filter for<\/strong> drop-down list.<\/p>\n\n\n\n<p>Customize other filter settings according to your needs.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/checkboxes-filter-by-author-in-elementor.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/checkboxes-filter-by-author-in-elementor-1024x640.webp\" alt=\"checkboxes filter by author in elementor\" class=\"wp-image-47163\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/checkboxes-filter-by-author-in-elementor-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/checkboxes-filter-by-author-in-elementor-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/checkboxes-filter-by-author-in-elementor-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/checkboxes-filter-by-author-in-elementor-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/checkboxes-filter-by-author-in-elementor-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/checkboxes-filter-by-author-in-elementor.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n<div class=\"note-banner d-flex border-bold border-jetthemecore rounded overflow-hidden p-20\"><div class=\"mr-12\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M9 21C9 21.5 9.4 22 10 22H14C14.6 22 15 21.5 15 21V20H9V21ZM12 2C8.1 2 5 5.1 5 9C5 11.4 6.2 13.5 8 14.7V17C8 17.5 8.4 18 9 18H15C15.6 18 16 17.5 16 17V14.7C17.8 13.4 19 11.3 19 9C19 5.1 15.9 2 12 2Z\" fill=\"#F2D23C\"\/><\/svg><\/div><div class=\"d-flex flex-column\"><div class=\"text-900 mb-12\">Things to know<\/div><p class=\"m-0\">The <strong>Indexer<\/strong> option is not working with the <i>Author & post type<\/i> filters.<\/p><\/div><\/div>\n\n\n\n<p>Click on the &#8220;<strong>Update<\/strong>&#8221; button. Move to the front end and check the results. Here, we select the needed author and press &#8220;<strong>APPLY BUTTON<\/strong>.&#8221; After that, the<strong> Listing Grid<\/strong> widget displays <strong>CPT<\/strong> posts referring to the specified author.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/checkboxes-filter-by-author-on-the-front-end.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/checkboxes-filter-by-author-on-the-front-end-1024x640.webp\" alt=\"checkboxes filter by author on the front end\" class=\"wp-image-47162\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/checkboxes-filter-by-author-on-the-front-end-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/checkboxes-filter-by-author-on-the-front-end-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/checkboxes-filter-by-author-on-the-front-end-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/checkboxes-filter-by-author-on-the-front-end-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/checkboxes-filter-by-author-on-the-front-end-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/checkboxes-filter-by-author-on-the-front-end.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"create-a-filter-by-usernicename\"><strong>Create a Filter by &#8220;user_nicename&#8221;<\/strong><\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\"><div class=\"note-banner d-flex border-bold border-jetthemecore rounded overflow-hidden p-20\"><div class=\"mr-12\"><svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M9 21C9 21.5 9.4 22 10 22H14C14.6 22 15 21.5 15 21V20H9V21ZM12 2C8.1 2 5 5.1 5 9C5 11.4 6.2 13.5 8 14.7V17C8 17.5 8.4 18 9 18H15C15.6 18 16 17.5 16 17V14.7C17.8 13.4 19 11.3 19 9C19 5.1 15.9 2 12 2Z\" fill=\"#F2D23C\"\/><\/svg><\/div><div class=\"d-flex flex-column\"><div class=\"text-900 mb-12\">Things to know<\/div><p class=\"m-0\">Nicename is a specific version of the login based on the username entered during registration. The nicename is displayed in the slug when you go to the user page.<\/p><\/div><\/div>\n\n\n\n<p>Thus, if the user indicates their name during registration without special characters, it will also be used as the nicename, but in lowercase. So, if you use symbols in the login that cannot be used in the slug, they will not be displayed. For example, if a user chooses a &#8220;test@test.com&#8221; email as a login, the name will look like this: &#8220;testtest-com.&#8221;<\/p>\n\n\n\n<p>The main difference between filtering by author and filtering by nicename is where you can take the <strong>Value<\/strong> displayed in the <strong>Options List<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"configure-the-filter-settings\"><strong>Configure the filter settings<\/strong><\/h3>\n\n\n\n<p>As in the previous case, head to the<strong><em> WordPress Dashboard &gt; <\/em><\/strong><strong><em>JetSmartFilters &gt; Add New<\/em><\/strong> page to create a new filter. Next, enter a title in the <strong>Filter Name <\/strong>field and fill in the <strong>Filter Label <\/strong>and <strong>Active Filter Label <\/strong>fields (we inserted the &#8220;Filter by Nicename&#8221; text in this case). Then, select the <strong>Filter Type<\/strong> in the <strong>Filter Settings<\/strong> section (in this case, we chose the \u201cCheckboxes list\u201d type). After that, scroll this page, select the &#8220;Manual Input&#8221; option as the <strong>Data Source<\/strong>, and click on the &#8220;<strong>+ Add New<\/strong>&#8221; button.&nbsp;<\/p>\n\n\n\n<p>After that, to get the corresponding <strong>Values<\/strong>, move to the <strong><em>WordPress Dashboard > Users > All Users<\/em><\/strong> pathway and push the &#8220;<strong>View<\/strong>&#8221; button that appears when you hover over a user.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/users-list-view-link.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/users-list-view-link-1024x640.webp\" alt=\"users list view link\" class=\"wp-image-47164\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/users-list-view-link-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/users-list-view-link-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/users-list-view-link-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/users-list-view-link-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/users-list-view-link-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/users-list-view-link.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>The user nicename will be displayed in the URL slug. In this case, the full slug text &#8220;findero.local\/author\/andrew-miller&#8221; includes the &#8220;andrew-miller&#8221; nicename. In turn, the &#8220;andrew-miller&#8221; nicename will be inserted into the <strong>Value<\/strong> field.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/user-nicename-value-in-a-slug.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"521\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/user-nicename-value-in-a-slug-1024x521.webp\" alt=\"\" class=\"wp-image-47165\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/user-nicename-value-in-a-slug-1024x521.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/user-nicename-value-in-a-slug-300x153.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/user-nicename-value-in-a-slug-768x391.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/user-nicename-value-in-a-slug-1536x781.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/user-nicename-value-in-a-slug-600x305.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/user-nicename-value-in-a-slug.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>After copying all the needed slugs, return to the filter editor and enter all the required <strong>Values<\/strong> and <strong>Labels<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-options.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-options-1024x640.webp\" alt=\"filter by nicename options\" class=\"wp-image-47176\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-options-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-options-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-options-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-options-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-options-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-options.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Head to the <strong>Query Variable<\/strong> field. Press the &#8220;<strong>dynamic tag<\/strong>&#8221; icon and select the &#8220;Plain Query Variable&#8221; option in the newly-appeared drop-down list. Then, put the &#8220;author&#8221; value in the <strong>Variable Name<\/strong> field. After that, the &#8220;_plain_query::author_name&#8221; will appear in the <strong>Query Variable<\/strong> field.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-query-variable.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-query-variable-1024x640.webp\" alt=\"filter by nicename query variable\" class=\"wp-image-47175\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-query-variable-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-query-variable-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-query-variable-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-query-variable-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-query-variable-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-query-variable.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Once completed, save the filter by pressing the &#8220;<strong>Publish\/Update<\/strong>&#8221; button.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"add-the-filter-to-the-page\"><strong>Add the filter to the page<\/strong><\/h3>\n\n\n\n<p>As in the previous case, place a widget that corresponds to the<strong> Filter Type<\/strong> you have chosen. Define the newly created filter and its provider in the<strong> Select filter <\/strong>and <strong>This filter for<\/strong> fields.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-widget-in-elementor.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-widget-in-elementor-1024x640.webp\" alt=\"filter by nicename widget in elementor\" class=\"wp-image-47174\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-widget-in-elementor-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-widget-in-elementor-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-widget-in-elementor-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-widget-in-elementor-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-widget-in-elementor-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-widget-in-elementor.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Publish the page and check the result on the front end.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-widget-on-the-front-end.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-widget-on-the-front-end-1024x640.webp\" alt=\"filter by nicename widget on the front end\" class=\"wp-image-47173\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-widget-on-the-front-end-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-widget-on-the-front-end-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-widget-on-the-front-end-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-widget-on-the-front-end-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-widget-on-the-front-end-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-nicename-widget-on-the-front-end.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"create-a-filter-for-different-post-types\"><strong>Create a Filter for Different Post Types<\/strong><\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>Here, we consider applying a filter to the<strong> Listing Grid<\/strong> widget that displays some <strong>CPT <\/strong>posts.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"configure-the-filter-settings\"><strong>Configure the filter settings<\/strong><\/h3>\n\n\n\n<p>Go to <strong><em>WordPress Dashboard &gt; <\/em><\/strong><strong><em>JetSmartFilters &gt; Add New<\/em><\/strong>. Complete the title, <strong>Filter Label<\/strong>, and <strong>Active Filter Label <\/strong>fields.<\/p>\n\n\n\n<p>The next step is to choose the <strong>Filter Type<\/strong>. We will create a &#8220;<a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-use-the-select-filter-to-filter-publications-or-products\/\" target=\"_blank\" rel=\"noreferrer noopener\">Select filter<\/a>&#8221; type now, but you can select any desired type. Also, pay attention to the<strong> Is Hierarchical<\/strong> toggle. Activate it to build a <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-how-to-create-a-hierarchical-filter-with-select-filter-type-based-on-jetengine\/\" target=\"_blank\" rel=\"noreferrer noopener\">Hierarchical Filter<\/a>. Then, choose the &#8220;Manual Input&#8221; <strong>Data Source<\/strong>. Move to the <strong>Options List <\/strong>section<strong> <\/strong>and push the &#8220;<strong>+ Add New<\/strong>&#8221; button.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-post-type-select-filter-options-list.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-post-type-select-filter-options-list-1024x640.webp\" alt=\"filter by post type select filter options list\" class=\"wp-image-47170\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-post-type-select-filter-options-list-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-post-type-select-filter-options-list-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-post-type-select-filter-options-list-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-post-type-select-filter-options-list-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-post-type-select-filter-options-list-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-post-type-select-filter-options-list.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>To set the <strong>Value<\/strong>, you need to know the post type slugs. You can find them by proceeding to <strong><em>WordPress Dashboard > JetEngine > Post Types<\/em><\/strong>. The <strong>Post Type Slug<\/strong> column values are the ones you need to put in the <strong>Value<\/strong> fields.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/jetengine-custom-post-types-slugs.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/jetengine-custom-post-types-slugs-1024x640.webp\" alt=\"jetengine custom post types slugs\" class=\"wp-image-47169\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/jetengine-custom-post-types-slugs-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/jetengine-custom-post-types-slugs-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/jetengine-custom-post-types-slugs-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/jetengine-custom-post-types-slugs-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/jetengine-custom-post-types-slugs-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/jetengine-custom-post-types-slugs.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Come back to the filter editor. Fill in the <strong>Value<\/strong> and <strong>Label<\/strong> fields.\u00a0<\/p>\n\n\n\n<p>Add as many options as you need and adjust the following \u201cSelect filter\u201d settings if required.<\/p>\n\n\n\n<p>In this case, we add three <strong>CPT<\/strong> posts to the filter and insert the &#8220;Properties,&#8221; Exclusive Offers,&#8221; and &#8220;Commercial Real Estate&#8221; values into the<strong> Label <\/strong>fields and the &#8220;exclusive-offers,&#8221; &#8220;commercial-real-esta,&#8221; and &#8220;properties&#8221; slug texts into the<strong> Value<\/strong> fields, respectively.<\/p>\n\n\n\n<div class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-post-type-options-1024x640.webp\" alt=\"filter by post type options\" class=\"wp-image-47172\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-post-type-options-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-post-type-options-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-post-type-options-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-post-type-options-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-post-type-options-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-post-type-options.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/div>\n\n\n\n<p>After that, paste the &#8220;post_type&#8221; value in the <strong>Query Variable<\/strong> field.<\/p>\n\n\n\n<p>Set the <strong>Comparison operator<\/strong> value to &#8220;Equals (=)&#8221; and hit the &#8220;<strong>Publish\/Update<\/strong>&#8221; button.\u00a0<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-post-type-query-variable-field.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-post-type-query-variable-field-1024x640.webp\" alt=\"filter by post type query variable field\" class=\"wp-image-47171\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-post-type-query-variable-field-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-post-type-query-variable-field-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-post-type-query-variable-field-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-post-type-query-variable-field-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-post-type-query-variable-field-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-post-type-query-variable-field.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"create-a-query-to-display-different-cpt-posts\"><strong>Create a query to display different CPT posts<\/strong><\/h3>\n\n\n\n<p>Since the filter is intended to display filtered posts from some <strong>CPT<\/strong>s, a query should be applied to the<strong> Listing Grid<\/strong> widget as a filter provider.<\/p>\n\n\n\n<p>Also, you can use the inject alternative listing items feature to the <strong>Listing Grid<\/strong>. Read the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-use-alternative-listing-template-injections-in-listing-grid\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Set Alternative Listing Template Injections in Listing Grid Widget<\/a> tutorial to learn how to manage the <strong>Listing Grid<\/strong> settings to display some <strong>CPT<\/strong> posts, taxonomies, and more via one <strong>Listing Grid.<\/strong><\/p>\n\n\n\n<p>First, move to the <strong><em>WordPress Dashboard > JetEngine > <\/em><\/strong><a href=\"https:\/\/crocoblock.com\/knowledge-base\/features\/query-builder-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong><em>Query Builder<\/em><\/strong><\/a><strong><em> <\/em><\/strong>tab. Here, press the &#8220;<strong>Add New<\/strong>&#8221; button on the top of the page to create a new query. Insert the query\u2019s<strong> Name<\/strong> (&#8220;Query Posts&#8221;, in this case) and select the &#8220;Post Query&#8221; <strong>Post Type<\/strong>. In the next step, scroll the page down to the <strong><em>Posts Query > General Settings<\/em><\/strong> tab and choose the needed <strong>CPT<\/strong>s in the <strong>Post Type<\/strong> drop-down list.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/posts-query-general-settings.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/posts-query-general-settings-1024x640.webp\" alt=\"posts query general settings\" class=\"wp-image-47167\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/posts-query-general-settings-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/posts-query-general-settings-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/posts-query-general-settings-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/posts-query-general-settings-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/posts-query-general-settings-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/posts-query-general-settings.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>In the last step, navigate to the top of the page and click the &#8220;<strong>Add Query \/ Update Query<\/strong>&#8221; button.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"add-the-filter-to-the-page\"><strong>Add the filter to the page<\/strong><\/h3>\n\n\n\n<p>Head to the page where you want to place the filter. Here, we divide the page into two columns; this time, we choose the <strong>Select Filter<\/strong> widget and insert it into the left column and the <strong>Listing Grid<\/strong> into the right one.<\/p>\n\n\n\n<p>Configure the <strong>Listing Grid<\/strong> settings: set the required listing in the <strong>Listing<\/strong> drop-down; then unroll the <strong>Custom Query<\/strong> tab, activate the<strong> Use Custom Query<\/strong> toggle, and choose the pre-created query in the <strong>Custom Query<\/strong> drop-down list (the &#8220;Query Posts&#8221; in this case).<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/listing-grid-widget-in-elementor.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/listing-grid-widget-in-elementor-1024x640.webp\" alt=\"listing grid widget in elementor\" class=\"wp-image-47168\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/listing-grid-widget-in-elementor-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/listing-grid-widget-in-elementor-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/listing-grid-widget-in-elementor-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/listing-grid-widget-in-elementor-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/listing-grid-widget-in-elementor-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/listing-grid-widget-in-elementor.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>For more details on managing some listings in the same <strong>Listing Grid<\/strong>, read the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/jetengine\/how-to-display-several-custom-post-types-in-one-listing-grid-widget\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Display Several Custom Post Types in One Listing Grid Widget<\/a> tutorial.<\/p>\n\n\n\n<p>In the next step, adjust the <strong>Select<\/strong> <strong>Filter<\/strong> settings. Define the newly created filter in the <strong>Select Filter<\/strong> field and apply it to the needed provider with the help of<strong> This filter for<\/strong> drop-down list.\u00a0<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/select-filter-by-post-type-in-elementor.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/select-filter-by-post-type-in-elementor-1024x640.webp\" alt=\"select filter by post type in elementor\" class=\"wp-image-47166\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/select-filter-by-post-type-in-elementor-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/select-filter-by-post-type-in-elementor-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/select-filter-by-post-type-in-elementor-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/select-filter-by-post-type-in-elementor-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/select-filter-by-post-type-in-elementor-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/select-filter-by-post-type-in-elementor.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n\n\n\n<p>Adjust the remaining filter settings and style it up if needed. Click the &#8220;<strong>Publish\/Update<\/strong>&#8221; button and look at the results. Select the needed <strong>CPT<\/strong> and observe if the filter works correctly.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/cpt-posts-filtered.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/cpt-posts-filtered-1024x640.webp\" alt=\"cpt posts filtered\" class=\"wp-image-47181\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/cpt-posts-filtered-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/cpt-posts-filtered-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/cpt-posts-filtered-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/cpt-posts-filtered-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/cpt-posts-filtered-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/cpt-posts-filtered.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<p>That&#8217;s it. Now you know how to filter the content using the <em>Author &amp; post type filter<\/em> add-on from the <em>JetSmartFilters<\/em> plugin for WordPress.<\/p>\n","protected":false},"excerpt":{"rendered":"<p> Learn how to enable additional sources for filtering, e.g., filter CPT posts by author (user ID), comments count, dates, and meta values, and filter some CPT posts using the JetSmartFilters Author &#038; post type filter free add-on.<\/p>\n","protected":false},"author":11,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[421],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Filter Posts by Author and Nicename \u2014 JetSmartFilters | Crocoblock<\/title>\n<meta name=\"description\" content=\"Discover how to filter content by author or post type on the WordPress website with the help of JetSmartFilters plugin and its Author &amp; Post Type filter add-on.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-devtools-author-and-post-type-filter-addon\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Filter Posts by Author and Nicename \u2014 JetSmartFilters | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Discover how to filter content by author or post type on the WordPress website with the help of JetSmartFilters plugin and its Author &amp; Post Type filter add-on.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-devtools-author-and-post-type-filter-addon\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-27T13:13:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-labels-1024x640.webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-devtools-author-and-post-type-filter-addon\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-devtools-author-and-post-type-filter-addon\/\",\"name\":\"How to Filter Posts by Author and Nicename \u2014 JetSmartFilters | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2022-01-11T08:11:17+00:00\",\"dateModified\":\"2025-02-27T13:13:48+00:00\",\"description\":\"Discover how to filter content by author or post type on the WordPress website with the help of JetSmartFilters plugin and its Author & Post Type filter add-on.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-devtools-author-and-post-type-filter-addon\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-devtools-author-and-post-type-filter-addon\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-devtools-author-and-post-type-filter-addon\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Filter Posts by Author and Nicename\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"name\":\"Help Center\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\",\"name\":\"Help Center\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"contentUrl\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"caption\":\"Help Center\"},\"image\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Filter Posts by Author and Nicename \u2014 JetSmartFilters | Crocoblock","description":"Discover how to filter content by author or post type on the WordPress website with the help of JetSmartFilters plugin and its Author & Post Type filter add-on.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-devtools-author-and-post-type-filter-addon\/","og_locale":"en_US","og_type":"article","og_title":"How to Filter Posts by Author and Nicename \u2014 JetSmartFilters | Crocoblock","og_description":"Discover how to filter content by author or post type on the WordPress website with the help of JetSmartFilters plugin and its Author & Post Type filter add-on.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-devtools-author-and-post-type-filter-addon\/","og_site_name":"Help Center","article_modified_time":"2025-02-27T13:13:48+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2022\/01\/filter-by-author-labels-1024x640.webp"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-devtools-author-and-post-type-filter-addon\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-devtools-author-and-post-type-filter-addon\/","name":"How to Filter Posts by Author and Nicename \u2014 JetSmartFilters | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2022-01-11T08:11:17+00:00","dateModified":"2025-02-27T13:13:48+00:00","description":"Discover how to filter content by author or post type on the WordPress website with the help of JetSmartFilters plugin and its Author & Post Type filter add-on.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-devtools-author-and-post-type-filter-addon\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-devtools-author-and-post-type-filter-addon\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetsmartfilters\/jetsmartfilters-devtools-author-and-post-type-filter-addon\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crocoblock.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Articles","item":"https:\/\/crocoblock.com\/knowledge-base\/articles\/"},{"@type":"ListItem","position":3,"name":"How to Filter Posts by Author and Nicename"}]},{"@type":"WebSite","@id":"https:\/\/crocoblock.com\/knowledge-base\/#website","url":"https:\/\/crocoblock.com\/knowledge-base\/","name":"Help Center","description":"","publisher":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization","name":"Help Center","url":"https:\/\/crocoblock.com\/knowledge-base\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/","url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","contentUrl":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","caption":"Help Center"},"image":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article\/25732"}],"collection":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/users\/11"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=25732"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=25732"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=25732"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}