{"id":2552,"date":"2017-11-18T04:13:35","date_gmt":"2017-11-18T04:13:35","guid":{"rendered":"http:\/\/docs.contentviewspro.com\/?p=2552"},"modified":"2024-02-06T04:08:47","modified_gmt":"2024-02-06T04:08:47","password":"","slug":"live-filter-on-sidebar-or-on-side-of-posts","status":"publish","type":"docs","link":"https:\/\/contentviewspro.com\/documentation\/article\/live-filter-on-sidebar-or-on-side-of-posts\/","title":{"rendered":"Live Filter &#8211; show filters &#038; results in different places (for example: filters in sidebar, results in page)"},"content":{"rendered":"<p>Normally, Live filters will show above the result.<br \/>\nSince Content Views Pro 4.9.0 and Content Views 1.9.9.4, you can show the filters and the result in different places.<\/p>\n<h2>1. Show filters in one page, show result in another page (or show filters in sidebar, show results in a page)<\/h2>\n<ul>\n<li>to show the filters only, please add this shortcode to where you want to show:\n<pre style=\"font-size: 13px;\">[pt_view id=\"VIEW_ID\" show=\"filter\" submit_to=\"URL_OF_RESULT_PAGE\"]\n<\/pre>\n<\/li>\n<li>to show the results only, please add this shortcode to the result page\u2019s content editor:\n<pre style=\"font-size: 13px;\">[pt_view id=\"VIEW_ID\" show=\"result\" submit_to=\"URL_OF_RESULT_PAGE\"]\n<\/pre>\n<\/li>\n<\/ul>\n<blockquote><p>Please replace <code>VIEW_ID<\/code> with ID of your View,<br \/>\nreplace <code>URL_OF_RESULT_PAGE<\/code> with URL of the result page.<\/p><\/blockquote>\n<blockquote><p>The <code>VIEW_ID<\/code> to show filter and result <ins>must be the same<\/ins>. It is NOT possible to use 2 different Views.<\/p><\/blockquote>\n<blockquote><p>Please add shortcode to the &#8220;Text&#8221; tab to ensure that shortcode is not modified unexpectedly:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3030\" src=\"https:\/\/contentviewspro.com\/documentation\/wp-content\/uploads\/2017\/11\/CVP-add-shortcode-to-text-tab.png\" alt=\"CVP - add shortcode to text tab\" width=\"529\" height=\"210\" srcset=\"https:\/\/contentviewspro.com\/documentation\/wp-content\/uploads\/2017\/11\/CVP-add-shortcode-to-text-tab.png 529w, https:\/\/contentviewspro.com\/documentation\/wp-content\/uploads\/2017\/11\/CVP-add-shortcode-to-text-tab-300x119.png 300w\" sizes=\"auto, (max-width: 529px) 100vw, 529px\" \/><\/p><\/blockquote>\n<blockquote><p>By using this solution, the page <ins>will be reloaded<\/ins> when selecting or changing the filter option.<\/p><\/blockquote>\n<h2 id=\"samepage\">2. Show filters on left side, show result on right side of a page<\/h2>\n<p>Please check <a href=\"https:\/\/contentviewspro.com\/documentation\/article\/live-filter-show-filters-on-the-left-side-of-result\/\">this document<\/a>.<\/p>\n<p>Best regards,<\/p>\n<style>blockquote{margin-left: 15px !important;}<\/style>\n","protected":false},"excerpt":{"rendered":"<p>Normally, Live filters will show above the result. Since Content Views Pro 4.9.0 and Content Views 1.9.9.4, you can show the filters and the result in different places. 1. Show filters in one page, show result in another page (or show filters in sidebar, show results in a page) to show the filters only, please &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/contentviewspro.com\/documentation\/article\/live-filter-on-sidebar-or-on-side-of-posts\/\"> <span class=\"screen-reader-text\">Live Filter &#8211; show filters &#038; results in different places (for example: filters in sidebar, results in page)<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"doc_category":[46],"doc_tag":[35],"class_list":["post-2552","docs","type-docs","status-publish","hentry","doc_category-live-filter","doc_tag-live-filter"],"year_month":"2026-09","word_count":193,"total_views":"2","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"CVP","author_nicename":"cvp","author_url":"https:\/\/contentviewspro.com\/documentation\/author\/cvp\/"},"doc_category_info":[{"term_name":"Live Filter (Frontend Search &amp; Filter)","term_url":"https:\/\/contentviewspro.com\/documentation\/cats\/live-filter\/"}],"doc_tag_info":[{"term_name":"live filter","term_url":"https:\/\/contentviewspro.com\/documentation\/tags\/live-filter\/"}],"_links":{"self":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs\/2552","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/comments?post=2552"}],"version-history":[{"count":6,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs\/2552\/revisions"}],"predecessor-version":[{"id":5783,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/docs\/2552\/revisions\/5783"}],"wp:attachment":[{"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/media?parent=2552"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/doc_category?post=2552"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/contentviewspro.com\/documentation\/wp-json\/wp\/v2\/doc_tag?post=2552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}