{"id":603,"date":"2022-04-22T11:18:01","date_gmt":"2022-04-22T11:18:01","guid":{"rendered":"https:\/\/www.radiustheme.com\/docs\/the-post-grid\/?p=603"},"modified":"2025-02-25T06:24:34","modified_gmt":"2025-02-25T06:24:34","password":"","slug":"create-front-end-filter","status":"publish","type":"docs","link":"https:\/\/www.radiustheme.com\/docs\/the-post-grid\/docs\/elementor-addons\/create-front-end-filter\/","title":{"rendered":"Create Front-end Filter"},"content":{"rendered":"\n<h4 class=\"has-text-color wp-block-heading\" style=\"color:#fd0808\"><strong>It\u2019s not any layout, rather it\u2019s a feature for The Post Grid Addons. But this feature doesn&#8217;t work for TPG \u2013 Slider Layout addon.<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>First, you have to enable all filter options from [Content > Filter].<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Filter settings:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>If you want to show <strong>Categories or Tags (taxonomy)<\/strong> in your filter then you have to check the <strong>Taxonomy Filter <\/strong>button from Filter.<\/li><li>Check the <strong>Author button<\/strong> if you would like to display the author in the filter.<\/li><li>Check the <strong>Order By Filter<\/strong> if you would like to display the post order by feature in the filter.<\/li><li>Check the <strong>Sort Order Filter<\/strong> if you would like to display it in the filter.<\/li><li>Check the <strong>Search Filter<\/strong> if you would like to display the search form in the filter.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"358\" height=\"511\" src=\"https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-content\/uploads\/sites\/10\/2022\/04\/front-end-filter.png\" alt=\"\" class=\"wp-image-636\" srcset=\"https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-content\/uploads\/sites\/10\/2022\/04\/front-end-filter.png 358w, https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-content\/uploads\/sites\/10\/2022\/04\/front-end-filter-210x300.png 210w\" sizes=\"(max-width: 358px) 100vw, 358px\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<p class=\"has-digeco-button-dark-violet-color has-text-color wp-block-paragraph\" style=\"font-size:20px\"><b>1) Dropdown Filter (<strong>Default Filter<\/strong>): <\/b><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you keep the default setting from the filter then the front-end view will be like the below image-<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"981\" height=\"52\" src=\"https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-content\/uploads\/sites\/10\/2022\/04\/filter-default.png\" alt=\"\" class=\"wp-image-607\" srcset=\"https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-content\/uploads\/sites\/10\/2022\/04\/filter-default.png 981w, https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-content\/uploads\/sites\/10\/2022\/04\/filter-default-300x16.png 300w, https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-content\/uploads\/sites\/10\/2022\/04\/filter-default-768x41.png 768w\" sizes=\"(max-width: 981px) 100vw, 981px\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<p class=\"has-digeco-button-dark-violet-color has-text-color wp-block-paragraph\" style=\"font-size:20px\"><b>2) Button Filter: <\/b><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Select <strong>Button <\/strong>from<strong> Filter Type<\/strong> select box for <strong>Button style<\/strong>. Please see the screenshot-<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1118\" height=\"617\" src=\"https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-content\/uploads\/sites\/10\/2022\/04\/front-end-filter-button-example.png\" alt=\"\" class=\"wp-image-638\" srcset=\"https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-content\/uploads\/sites\/10\/2022\/04\/front-end-filter-button-example.png 1118w, https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-content\/uploads\/sites\/10\/2022\/04\/front-end-filter-button-example-300x166.png 300w, https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-content\/uploads\/sites\/10\/2022\/04\/front-end-filter-button-example-1024x565.png 1024w, https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-content\/uploads\/sites\/10\/2022\/04\/front-end-filter-button-example-768x424.png 768w\" sizes=\"(max-width: 1118px) 100vw, 1118px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">If you do not choose some categories from <strong>[Query Build &gt; Advanced Filter &gt; By Categories ]<\/strong> then all categories will display in the filter wrapper. But the layout does not look good. So you have to choose some categories from <strong>Query Build<\/strong> for the best view. Let&#8217;s choose some categories from <strong>Query Builder<\/strong> and see the result.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1119\" height=\"377\" src=\"https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-content\/uploads\/sites\/10\/2022\/04\/select-category-from-query-ex.png\" alt=\"\" class=\"wp-image-642\" srcset=\"https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-content\/uploads\/sites\/10\/2022\/04\/select-category-from-query-ex.png 1119w, https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-content\/uploads\/sites\/10\/2022\/04\/select-category-from-query-ex-300x101.png 300w, https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-content\/uploads\/sites\/10\/2022\/04\/select-category-from-query-ex-1024x345.png 1024w, https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-content\/uploads\/sites\/10\/2022\/04\/select-category-from-query-ex-768x259.png 768w\" sizes=\"(max-width: 1119px) 100vw, 1119px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now It&#8217;s looking more professional than before.<\/p>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<p class=\"has-digeco-button-dark-violet-color has-text-color wp-block-paragraph\" style=\"font-size:20px\"><b>3) Collapsable Filter: <\/b><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you would like to make a collapsable filter then first, you have to choose<strong> [ Filter Type = Button and Filter Style = Collapsable ]<\/strong> from <strong>[ Content &gt; Filter]<\/strong> <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><em>Settings:<\/em><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"338\" height=\"81\" src=\"https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-content\/uploads\/sites\/10\/2022\/04\/button-filter-3-1.png\" alt=\"\" class=\"wp-image-617\" srcset=\"https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-content\/uploads\/sites\/10\/2022\/04\/button-filter-3-1.png 338w, https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-content\/uploads\/sites\/10\/2022\/04\/button-filter-3-1-300x72.png 300w\" sizes=\"(max-width: 338px) 100vw, 338px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span style=\"text-decoration: underline;\"><em>Screenshot:<\/em><\/span><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1116\" height=\"484\" src=\"https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-content\/uploads\/sites\/10\/2022\/04\/collapsible-filter.png\" alt=\"\" class=\"wp-image-644\" srcset=\"https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-content\/uploads\/sites\/10\/2022\/04\/collapsible-filter.png 1116w, https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-content\/uploads\/sites\/10\/2022\/04\/collapsible-filter-300x130.png 300w, https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-content\/uploads\/sites\/10\/2022\/04\/collapsible-filter-1024x444.png 1024w, https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-content\/uploads\/sites\/10\/2022\/04\/collapsible-filter-768x333.png 768w\" sizes=\"(max-width: 1116px) 100vw, 1116px\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>It\u2019s not any layout, rather it\u2019s a feature for The Post Grid Addons. But this feature doesn&#8217;t work for TPG \u2013 Slider Layout addon. First, you have to enable all filter options from [Content > Filter]. Filter settings: If you want to show Categories or Tags (taxonomy) in your filter then you have to check [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":8,"comment_status":"closed","ping_status":"open","template":"","meta":{"footnotes":""},"doc_category":[10],"doc_tag":[],"class_list":["post-603","docs","type-docs","status-publish","hentry","doc_category-elementor-addons"],"year_month":"2026-11","word_count":259,"total_views":"71","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"RadiusTheme","author_nicename":"rttlp","author_url":"https:\/\/www.radiustheme.com\/docs\/the-post-grid\/author\/rttlp\/"},"doc_category_info":[{"term_name":"Elementor Addons","term_url":"https:\/\/www.radiustheme.com\/docs\/the-post-grid\/docs-category\/elementor-addons\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-json\/wp\/v2\/docs\/603","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-json\/wp\/v2\/comments?post=603"}],"version-history":[{"count":14,"href":"https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-json\/wp\/v2\/docs\/603\/revisions"}],"predecessor-version":[{"id":691,"href":"https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-json\/wp\/v2\/docs\/603\/revisions\/691"}],"wp:attachment":[{"href":"https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-json\/wp\/v2\/media?parent=603"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-json\/wp\/v2\/doc_category?post=603"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.radiustheme.com\/docs\/the-post-grid\/wp-json\/wp\/v2\/doc_tag?post=603"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}