{"id":2408987,"date":"2022-07-01T07:27:48","date_gmt":"2022-07-01T07:27:48","guid":{"rendered":"https:\/\/toolset.com\/?post_type=course-lesson&#038;p=2408987"},"modified":"2022-07-27T11:57:15","modified_gmt":"2022-07-27T11:57:15","slug":"filtering-custom-lists-of-posts","status":"publish","type":"course-lesson","link":"https:\/\/toolset.com\/de\/course-lesson\/filtering-custom-lists-of-posts\/","title":{"rendered":"Filtering Custom Lists of Posts"},"content":{"rendered":"\n<p class=\"lead\">The Toolset View block lets you dynamically display lists of posts. You can add Query Filters to a View so that it only displays posts that meet specific criteria you choose.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">On This Page<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"#how-to-add-a-query-filter\">How to Add a Query Filter<\/a><\/li><li><a href=\"#filtering-options\">Filtering Options<\/a><\/li><li><a href=\"#available-query-filters\">Available Query Filters<\/a><ul><li><a href=\"#filtering-by-post-id\">Filtering by Post ID<\/a><\/li><li><a href=\"#filtering-by-post-status\">Filtering by Post Status<\/a><\/li><li><a href=\"#filtering-by-post-parent\">Filtering by Post Parent<\/a><\/li><li><a href=\"#filtering-by-sticky-posts\">Filtering by Sticky Posts<\/a><\/li><li><a href=\"#filtering-by-custom-field\">Filtering by Custom Field<\/a><\/li><li><a href=\"#filtering-by-taxonomy\">Filtering by Taxonomy<\/a><\/li><li><a href=\"#filtering-by-author\">Filtering by Author<\/a><\/li><li><a href=\"#filtering-by-text-string\">Filtering by Text String<\/a><\/li><li><a href=\"#filtering-by-date\">Filtering by Date<\/a><\/li><\/ul><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How to Add a Query Filter<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Select the main <strong>View<\/strong> block&nbsp;<\/li><li>In the right sidebar, expand the <strong>Content Selection<\/strong> menu<\/li><li>Click <strong>Add a filter<\/strong><\/li><\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic tb-image-frame-none aligncenter\" data-toolset-blocks-image=\"8deee83ca3d324eaa8f0c08c1093b2a5\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/add-a-filter.png\"><img decoding=\"async\" width=\"1024\" height=\"653\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/add-a-filter-1024x653.png\" alt=\"\" class=\"wp-image-2426205\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/add-a-filter-1024x653.png 1024w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/add-a-filter-300x191.png 300w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/add-a-filter-150x96.png 150w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/add-a-filter-768x489.png 768w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/add-a-filter-1536x979.png 1536w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/add-a-filter-805x513.png 805w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/add-a-filter.png 1999w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption><div class=\"tb-image-caption\">Adding a Query Filter<\/div><\/figcaption><\/figure>\n<\/div>\n\n\n<p>You can filter by many different options. We will go through the most popular options on this page.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic tb-image-frame-none aligncenter\" data-toolset-blocks-image=\"ea76445143c0ab57ec1eb6a6ea9c8101\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/available-filters.png\"><img decoding=\"async\" width=\"1024\" height=\"653\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/available-filters-1024x653.png\" alt=\"\" class=\"wp-image-2426225\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/available-filters-1024x653.png 1024w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/available-filters-300x191.png 300w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/available-filters-150x96.png 150w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/available-filters-768x489.png 768w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/available-filters-1536x979.png 1536w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/available-filters-805x513.png 805w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/available-filters.png 1999w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption><div class=\"tb-image-caption\">Available Query Filters<\/div><\/figcaption><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Filtering Options<\/h2>\n\n\n\n<p>Each Query Filter offers different options for providing the value to filter by. The most common options are to filter by a specific value, URL parameter, or shortcode attribute.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Filtering by a specific value means the View will always display or exclude what you tell it to.<\/li><li>Filtering by URL parameter or shortcode attribute allows you to build a View once, then have it show different outputs based on how the URL or shortcode is configured.<\/li><\/ul>\n\n\n\n<p>As an example, we can look at the Post ID Query Filter.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic tb-image-frame-none aligncenter\" data-toolset-blocks-image=\"bb6f87610bd98ce3390b83b213f1245c\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/filtering-options.png\"><img decoding=\"async\" width=\"1024\" height=\"686\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/filtering-options-1024x686.png\" alt=\"\" class=\"wp-image-2426235\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/filtering-options-1024x686.png 1024w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/filtering-options-300x201.png 300w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/filtering-options-150x101.png 150w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/filtering-options-768x515.png 768w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/filtering-options-776x520.png 776w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/filtering-options.png 1116w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption><div class=\"tb-image-caption\">Filtering options<\/div><\/figcaption><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Specific Post IDs<\/h3>\n\n\n\n<p>By choosing specific post IDs, this View will always display or exclude the posts mentioned.<\/p>\n\n\n\n<p>Select the <strong>Posts with those IDs<\/strong> option, and enter a single post ID, or a comma-separated list of post IDs, e.g. 302,12,309<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Value Set By URL Parameter<\/h3>\n\n\n\n<p>When you link to the page that contains your View, you can specify the post IDs you want filtered in or out as URL parameters. This allows you to link to the same View throughout your site, but change what it displays based on the URL.<\/p>\n\n\n\n<p>Select <strong>Posts with IDs set by this URL parameter<\/strong>, and enter the name of the URL parameter you want to use. The default is <strong>post_ids<\/strong>.<\/p>\n\n\n\n<p>For example:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>yoursite\/page-with-this-view\/?post_ids=302<\/code><\/pre>\n\n\n\n<p>or for multiple post IDs<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>yoursite\/page-with-this-view\/?post_ids[]=302&amp;post_ids[]=12&amp;post_ids[]=309<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Value set by View shortcode attribute<\/h3>\n\n\n\n<p>If you still use the <a href=\"https:\/\/toolset.com\/documentation\/legacy-features\/views-plugin\/\">legacy Views plugin<\/a> or you want to keep your URL free of parameters, you can specify the post IDs you want filtered in or out as a shortcode attribute.<\/p>\n\n\n\n<p>Select <strong>Posts with IDs set by the View shortcode attribute<\/strong> and enter the name of the attribute you want to use. The default is <strong>ids<\/strong>.<\/p>\n\n\n\n<p>For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>[wpv-view name=\"Filter by post id\" ids=\"302,12,309\"]<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Available Query Filters<\/h2>\n\n\n\n<p>You can filter your View using any of the following Query Filters. You can also apply multiple filters to customize your output even more.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Filtering by Post ID<\/h3>\n\n\n\n<p>The <strong>Post ID<\/strong> filter for Views allows you to include or exclude posts based on their IDs.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic tb-image-frame-none aligncenter\" data-toolset-blocks-image=\"cc8b924381ea67f271bcc06556a7f8c3\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-id-filter.png\"><img decoding=\"async\" width=\"1024\" height=\"686\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-id-filter-1024x686.png\" alt=\"\" class=\"wp-image-2426245\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-id-filter-1024x686.png 1024w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-id-filter-300x201.png 300w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-id-filter-150x101.png 150w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-id-filter-768x515.png 768w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-id-filter-776x520.png 776w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-id-filter.png 1116w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption><div class=\"tb-image-caption\"><em>Post ID filter values<\/em><\/div><\/figcaption><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Filtering by Post Status<\/h3>\n\n\n\n<p>Filtering by Post Status allows you to load only posts that match a certain status. This includes custom post statuses.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic tb-image-frame-none aligncenter\" data-toolset-blocks-image=\"f6e6d23c2dd794edf4dfc8f1c297874c\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-status-filter.png\"><img decoding=\"async\" width=\"1024\" height=\"680\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-status-filter-1024x680.png\" alt=\"\" class=\"wp-image-2426255\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-status-filter-1024x680.png 1024w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-status-filter-300x199.png 300w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-status-filter-150x100.png 150w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-status-filter-768x510.png 768w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-status-filter-784x520.png 784w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-status-filter.png 1118w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption><div class=\"tb-image-caption\"><em>Post status filter values<\/em><\/div><\/figcaption><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Filtering by Post Parent<\/h3>\n\n\n\n<p>You can filter Views that display hierarchical post types by Post Parent.<\/p>\n\n\n\n<p>WordPress has a built-in <strong>post hierarchy<\/strong> concept which allows you to set individual posts as parents of other posts of the same type. The native <strong>Pages<\/strong> post type is an example of this. When you register a new post type with Types, you can specify if the post type is hierarchical or not.<\/p>\n\n\n\n<p>This should not be confused with Types <a href=\"https:\/\/toolset.com\/glossary\/post-relationships\/\">post relationships<\/a> which allow you to specify parent-child relationships between different post types.<\/p>\n\n\n\n<p>The <strong>post_parent<\/strong> field is a standard WordPress field stored in the <strong>wp_posts<\/strong> table which contains the <strong>post ID<\/strong> of the parent post (zero if there is no parent).<\/p>\n\n\n\n<p>When you add a Parent Post query filter it is this field that is being compared.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic tb-image-frame-none aligncenter\" data-toolset-blocks-image=\"91badd9256525a67983725504de2b4c4\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-parent-filter.png\"><img decoding=\"async\" width=\"1024\" height=\"766\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-parent-filter-1024x766.png\" alt=\"\" class=\"wp-image-2426267\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-parent-filter-1024x766.png 1024w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-parent-filter-300x224.png 300w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-parent-filter-150x112.png 150w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-parent-filter-768x575.png 768w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-parent-filter-695x520.png 695w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-parent-filter.png 1112w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption><div class=\"tb-image-caption\"><em>Post parent filter values<\/em><\/div><\/figcaption><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Filtering by Sticky Posts<\/h3>\n\n\n\n<p>Standard WordPress posts can be marked as sticky, meaning they are shown before other posts on the posts archive (or a blog) page.<\/p>\n\n\n\n<p>You can add a Query Filter to a View which makes the standard WordPress loop return only sticky posts, or all posts except sticky posts.<\/p>\n\n\n\n<figure class=\"wp-block-image tb-image tb-image-dynamic tb-image-frame-none\" data-toolset-blocks-image=\"b61a198ce5ebd7f2ebb5389e9d119eba\"><img decoding=\"async\" width=\"1024\" height=\"525\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-stickiness-filter-1024x525.png\" alt=\"\" class=\"wp-image-2426277\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-stickiness-filter-1024x525.png 1024w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-stickiness-filter-300x154.png 300w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-stickiness-filter-150x77.png 150w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-stickiness-filter-768x394.png 768w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-stickiness-filter-805x413.png 805w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-stickiness-filter.png 1120w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption><div class=\"tb-image-caption\"><em>Post stickiness filter values<\/em><\/div><\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Filtering by Custom Field<\/h3>\n\n\n\n<p>Views lets you filter by as many custom fields as you need.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic tb-image-frame-none aligncenter\" data-toolset-blocks-image=\"773f2a330e118dae7aedca4d0977ccb3\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/custom-field-filter.png\"><img decoding=\"async\" width=\"1024\" height=\"675\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/custom-field-filter-1024x675.png\" alt=\"\" class=\"wp-image-2426287\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/custom-field-filter-1024x675.png 1024w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/custom-field-filter-300x198.png 300w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/custom-field-filter-150x99.png 150w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/custom-field-filter-768x506.png 768w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/custom-field-filter-789x520.png 789w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/custom-field-filter.png 1114w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption><div class=\"tb-image-caption\"><em>Filtering to show only gyms marked as featured in a custom field<\/em><\/div><\/figcaption><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Filtering by Taxonomy<\/h3>\n\n\n\n<p>Filtering views by taxonomy lets you load specific content arranged using tags, categories and custom taxonomy.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic tb-image-frame-none aligncenter\" data-toolset-blocks-image=\"f3d019e5c50c2e7183019c2bd461e856\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/taxonomy-filter-1.png\"><img decoding=\"async\" width=\"1024\" height=\"710\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/taxonomy-filter-1-1024x710.png\" alt=\"\" class=\"wp-image-2426309\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/taxonomy-filter-1-1024x710.png 1024w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/taxonomy-filter-1-300x208.png 300w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/taxonomy-filter-1-150x104.png 150w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/taxonomy-filter-1-768x533.png 768w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/taxonomy-filter-1-750x520.png 750w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/taxonomy-filter-1.png 1116w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption><div class=\"tb-image-caption\"><em>Taxonomy filter values<\/em><\/div><\/figcaption><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Filtering by Author<\/h3>\n\n\n\n<p>With a <strong>Post Author<\/strong> Query Filter, you can let users view:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Only their posts<\/li><li>Posts by a specific author<\/li><li>Posts by authors set by URL parameter<\/li><li>Posts by authors set by a Views shortcode attribute<\/li><\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic tb-image-frame-none aligncenter\" data-toolset-blocks-image=\"a1092eae484d23f3fafc50849c91d6de\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-author-filter.png\"><img decoding=\"async\" width=\"1024\" height=\"857\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-author-filter-1024x857.png\" alt=\"\" class=\"wp-image-2426325\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-author-filter-1024x857.png 1024w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-author-filter-300x251.png 300w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-author-filter-150x126.png 150w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-author-filter-768x643.png 768w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-author-filter-621x520.png 621w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-author-filter.png 1118w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption><div class=\"tb-image-caption\"><em>Post author filter options<\/em><\/div><\/figcaption><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Filtering by Text String<\/h3>\n\n\n\n<p>You can add text search to a View using the <strong>Post search<\/strong> filter. This returns only posts where the specified string is found in the post title or the post body.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic tb-image-frame-none aligncenter\" data-toolset-blocks-image=\"b6f0d1d9738ccf02fed11ccc2e45b456\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-search-filter.png\"><img decoding=\"async\" width=\"1024\" height=\"862\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-search-filter-1024x862.png\" alt=\"\" class=\"wp-image-2426335\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-search-filter-1024x862.png 1024w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-search-filter-300x253.png 300w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-search-filter-150x126.png 150w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-search-filter-768x647.png 768w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-search-filter-618x520.png 618w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-search-filter.png 1114w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption><div class=\"tb-image-caption\"><em>Post search filter options<\/em><\/div><\/figcaption><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Filtering by Date<\/h3>\n\n\n\n<p>Views allows you to filter based on the date you published or modified a post. You can find detailed information about this filter on our page about <a href=\"https:\/\/toolset.com\/course-lesson\/filtering-toolset-views-by-dates\/\">filtering by date<\/a>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic tb-image-frame-none aligncenter\" data-toolset-blocks-image=\"8b25d7ffdaad1844f180db38a99092b1\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-date-filter.png\"><img decoding=\"async\" width=\"932\" height=\"1024\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-date-filter-932x1024.png\" alt=\"\" class=\"wp-image-2426345\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-date-filter-932x1024.png 932w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-date-filter-273x300.png 273w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-date-filter-137x150.png 137w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-date-filter-768x844.png 768w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-date-filter-473x520.png 473w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-date-filter-300x330.png 300w, https:\/\/toolset.com\/wp-content\/uploads\/2022\/07\/post-date-filter.png 1116w\" sizes=\"auto, (max-width: 932px) 100vw, 932px\" \/><\/a><figcaption><div class=\"tb-image-caption\"><em>Post date filter options<\/em><\/div><\/figcaption><\/figure>\n<\/div>","protected":false},"author":4341,"featured_media":2408961,"template":"","related-lesson":[8411],"class_list":["post-2408987","course-lesson","type-course-lesson","status-publish","has-post-thumbnail","hentry","related-lesson-view"],"_links":{"self":[{"href":"https:\/\/toolset.com\/de\/wp-json\/wp\/v2\/course-lesson\/2408987","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/toolset.com\/de\/wp-json\/wp\/v2\/course-lesson"}],"about":[{"href":"https:\/\/toolset.com\/de\/wp-json\/wp\/v2\/types\/course-lesson"}],"author":[{"embeddable":true,"href":"https:\/\/toolset.com\/de\/wp-json\/wp\/v2\/users\/4341"}],"version-history":[{"count":6,"href":"https:\/\/toolset.com\/de\/wp-json\/wp\/v2\/course-lesson\/2408987\/revisions"}],"predecessor-version":[{"id":2426365,"href":"https:\/\/toolset.com\/de\/wp-json\/wp\/v2\/course-lesson\/2408987\/revisions\/2426365"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/toolset.com\/de\/wp-json\/wp\/v2\/media\/2408961"}],"wp:attachment":[{"href":"https:\/\/toolset.com\/de\/wp-json\/wp\/v2\/media?parent=2408987"}],"wp:term":[{"taxonomy":"related-lesson","embeddable":true,"href":"https:\/\/toolset.com\/de\/wp-json\/wp\/v2\/related-lesson?post=2408987"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}