<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Live Filter (Frontend Search &amp; Filter) &#8211; Content Views Pro</title>
	<atom:link href="https://contentviewspro.com/documentation/cats/live-filter/feed/" rel="self" type="application/rss+xml" />
	<link>https://contentviewspro.com/documentation</link>
	<description>Most Popular Filter &#38; Grid Plugin For WordPress</description>
	<lastBuildDate>Tue, 07 Apr 2026 13:08:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>Live Filter Introduction</title>
		<link>https://contentviewspro.com/documentation/article/live-filter-introduction/</link>
		
		<dc:creator><![CDATA[admin1]]></dc:creator>
		<pubDate>Wed, 28 Jun 2017 11:17:57 +0000</pubDate>
				<guid isPermaLink="false">http://docs.contentviewspro.com/?p=1730</guid>

					<description><![CDATA[I. Introduction Live Filter was built to help your visitors to find what they want quickly and easily. Click here to see the demo of Live Filter. To show filters in sidebar, please check this document. To show filters on the left/right side, please check this document. With Live Filter, you can show filters as: &#8230;<p class="read-more"> <a class="" href="https://contentviewspro.com/documentation/article/live-filter-introduction/"> <span class="screen-reader-text">Live Filter Introduction</span> Read More &#187;</a></p>]]></description>
										<content:encoded><![CDATA[<h2>I. Introduction</h2>
<p>Live Filter was built to help your visitors to find what they want quickly and easily.</p>
<blockquote><p><a href="https://contentviewspro.com/demo/faceted-search-live-filter/" target="_blank" rel="noopener noreferrer">Click here to see the demo of Live Filter</a>.</p></blockquote>
<blockquote><p>To show filters in sidebar, <a href="https://contentviewspro.com/documentation/article/live-filter-on-sidebar-or-on-side-of-posts/">please check this document</a>.</p></blockquote>
<blockquote><p>To show filters on the left/right side, <a href="https://contentviewspro.com/documentation/article/live-filter-show-filters-on-the-left-side-of-result/">please check this document</a>.</p></blockquote>
<p>With Live Filter, you can show filters as:</p>
<ul>
<li>Checkbox</li>
<li>Dropdown</li>
<li>Radio button</li>
<li>Buttons group</li>
<li>Range slider (*)</li>
<li>Date range (*)</li>
<li>Text search</li>
</ul>
<p>(*): These options are only available when showing custom field as filter.</p>
<h2 id="howto">II. How to use?</h2>
<h3 id="taxonomy">1. Show taxonomy (category, tag&#8230;) as filters</h3>
<p>In <strong>Filter Settings</strong> tab, in <strong>Advance</strong> group:<br />
+ select <code>Taxonomy (Categories, Tags...)</code> ,<br />
+ select the taxonomy you want to show,<br />
+ select the <code>Show as filters to visitors</code> checkbox:</p>
<p><img fetchpriority="high" decoding="async" class="alignnone wp-image-5807 size-full" src="https://contentviewspro.com/documentation/wp-content/uploads/2017/06/live-filter-taxonomy-new.png" alt="" width="990" height="531" srcset="https://contentviewspro.com/documentation/wp-content/uploads/2017/06/live-filter-taxonomy-new.png 990w, https://contentviewspro.com/documentation/wp-content/uploads/2017/06/live-filter-taxonomy-new-300x161.png 300w, https://contentviewspro.com/documentation/wp-content/uploads/2017/06/live-filter-taxonomy-new-768x412.png 768w" sizes="(max-width: 990px) 100vw, 990px" /></p>
<h3 id="customfield">2. Show custom field values as filters</h3>
<p>In <strong>Filter Settings</strong> tab, in <strong>Advance</strong> group:<br />
+ select <code>Custom Fields</code> , then click <code>Add New</code> button.<br />
+ select custom field in &#8220;Field Key&#8221;, select type in &#8220;Value Type&#8221;<br />
+ select <code>Show as filters to visitors</code>:</p>
<p><img decoding="async" class="alignnone wp-image-5808 size-full" src="https://contentviewspro.com/documentation/wp-content/uploads/2017/06/live-filter-custom-field.png" alt="" width="887" height="510" srcset="https://contentviewspro.com/documentation/wp-content/uploads/2017/06/live-filter-custom-field.png 887w, https://contentviewspro.com/documentation/wp-content/uploads/2017/06/live-filter-custom-field-300x172.png 300w, https://contentviewspro.com/documentation/wp-content/uploads/2017/06/live-filter-custom-field-768x442.png 768w" sizes="(max-width: 887px) 100vw, 887px" /></p>
<p>There are extra settings depend on the Type option which help you to customize the filter output.</p>
<p>For example, these are settings to display price of WooCommerce products in a range slider:<br />
<img decoding="async" class="alignnone size-full wp-image-3507" src="https://contentviewspro.com/documentation/wp-content/uploads/2017/06/Content-Views-Pro-live-filter-for-WooCommerce-price.png" alt="Content Views Pro - live filter for WooCommerce price" width="601" height="381" srcset="https://contentviewspro.com/documentation/wp-content/uploads/2017/06/Content-Views-Pro-live-filter-for-WooCommerce-price.png 601w, https://contentviewspro.com/documentation/wp-content/uploads/2017/06/Content-Views-Pro-live-filter-for-WooCommerce-price-300x190.png 300w" sizes="(max-width: 601px) 100vw, 601px" /></p>
<h3 id="textsearch">3. Show text search field</h3>
<p>In <strong>Filter Settings</strong> tab, in <strong>Advance</strong> group, select <code>Keyword</code>, then select <code>Show search field to visitors</code>:</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-12354" src="https://www.contentviewspro.com/wp-content/uploads/2017/06/Faceted-search-search-box.png" alt="Faceted search - search box" width="659" height="327" /></p>
<h3 id="sortby">4. Show custom field as sort options</h3>
<p>In <strong>Filter Settings</strong> tab, in <strong>Advance</strong> group:<br />
+ select <code>Sort by</code><br />
+ click <code>Add New</code> button in <code>Custom Fields</code> group. New field will be added.<br />
+ select custom field in &#8220;Field Key&#8221;, select type in &#8220;Value Type&#8221;, select Ascending/Descending in &#8220;Order&#8221;<br />
+ select <code>Show as sort option to visitors</code>:</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5814" src="https://contentviewspro.com/documentation/wp-content/uploads/2017/06/live-filter-sort-new.png" alt="" width="905" height="441" srcset="https://contentviewspro.com/documentation/wp-content/uploads/2017/06/live-filter-sort-new.png 905w, https://contentviewspro.com/documentation/wp-content/uploads/2017/06/live-filter-sort-new-300x146.png 300w, https://contentviewspro.com/documentation/wp-content/uploads/2017/06/live-filter-sort-new-768x374.png 768w" sizes="auto, (max-width: 905px) 100vw, 905px" /></p>
<p>To show both ascending and descending options of a same custom field, please configure as below:<br />
(the only difference is the value of the <strong>Order</strong> option)</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-3065" src="https://contentviewspro.com/documentation/wp-content/uploads/2017/06/Live-Filter-sort.png" alt="Live Filter - sort custom field" width="579" height="591" srcset="https://contentviewspro.com/documentation/wp-content/uploads/2017/06/Live-Filter-sort.png 579w, https://contentviewspro.com/documentation/wp-content/uploads/2017/06/Live-Filter-sort-294x300.png 294w" sizes="auto, (max-width: 579px) 100vw, 579px" /></p>
<h3 id="sortbytitle">5. Show options to sort by Title, Date, Comment</h3>
<p>In <strong>Filter Settings</strong> tab, in <strong>Advance</strong> group:<br />
+ select <code>Sort by</code><br />
+ in <code>Live Filter</code> group, select options that you want to show<br />
+ customize the texts if you want</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5816" src="https://contentviewspro.com/documentation/wp-content/uploads/2017/06/live-filter-sort-common.png" alt="" width="1042" height="559" srcset="https://contentviewspro.com/documentation/wp-content/uploads/2017/06/live-filter-sort-common.png 1042w, https://contentviewspro.com/documentation/wp-content/uploads/2017/06/live-filter-sort-common-300x161.png 300w, https://contentviewspro.com/documentation/wp-content/uploads/2017/06/live-filter-sort-common-1024x549.png 1024w, https://contentviewspro.com/documentation/wp-content/uploads/2017/06/live-filter-sort-common-768x412.png 768w" sizes="auto, (max-width: 1042px) 100vw, 1042px" /></p>
<p>Here is the list of available options:</p>
<ul>
<li>Date (Oldest)</li>
<li>Date (Newest)</li>
<li>Title (A &#8211; Z)</li>
<li>Title (Z &#8211; A)</li>
<li>Comments count (asc)</li>
<li>Comments count (desc)</li>
</ul>
<hr />
<p>We love to hear your questions and feedbacks. Please <a href="https://www.contentviewspro.com/contact/">contact us here</a>.</p>
<p>Thank you,</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Live Filter &#8211; change display order of filters</title>
		<link>https://contentviewspro.com/documentation/article/live-filter-changing-the-order-of-filters/</link>
		
		<dc:creator><![CDATA[admin1]]></dc:creator>
		<pubDate>Sat, 27 Jun 2020 09:02:11 +0000</pubDate>
				<guid isPermaLink="false">https://docs.contentviewspro.com/?p=4024</guid>

					<description><![CDATA[To change the appearance order of filters in a View, please edit the view, click &#8220;Show Preview&#8221; button. In the Preview panel, please drag &#038; drop the filters in the order that you want, then save the view: Best regards,]]></description>
										<content:encoded><![CDATA[<p>To change the appearance order of filters in a View, please edit the view, click &#8220;Show Preview&#8221; button.<br />
In the Preview panel, please drag &#038; drop the filters in the order that you want, then save the view:</p>
<p><img loading="lazy" decoding="async" src="https://contentviewspro.com/documentation/wp-content/uploads/2020/06/drag-drop-live-filter.png" alt="drag drop live filter" width="682" height="146" class="alignnone size-full wp-image-4025" srcset="https://contentviewspro.com/documentation/wp-content/uploads/2020/06/drag-drop-live-filter.png 682w, https://contentviewspro.com/documentation/wp-content/uploads/2020/06/drag-drop-live-filter-300x64.png 300w" sizes="auto, (max-width: 682px) 100vw, 682px" /></p>
<p>Best regards,</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Live Filter – show filters on the left/right side of result</title>
		<link>https://contentviewspro.com/documentation/article/live-filter-show-filters-on-the-left-side-of-result/</link>
					<comments>https://contentviewspro.com/documentation/article/live-filter-show-filters-on-the-left-side-of-result/#respond</comments>
		
		<dc:creator><![CDATA[admin1]]></dc:creator>
		<pubDate>Tue, 01 Aug 2023 03:03:24 +0000</pubDate>
				<guid isPermaLink="false">https://contentviewspro.com/documentation/?post_type=docs&#038;p=4884</guid>

					<description><![CDATA[There are 2 ways to do it: A. With Content Views Pro since 5.8.4 In the &#8220;Style Settings&#8221; tab, please select the checkbox Wrap live filters to a div, then enter value for 2 text fields as below: HTML Class For View: col-md-8 col-sm-6 (To show it wider, please use col-md-9 col-sm-6) Text field below &#8230;<p class="read-more"> <a class="" href="https://contentviewspro.com/documentation/article/live-filter-show-filters-on-the-left-side-of-result/"> <span class="screen-reader-text">Live Filter – show filters on the left/right side of result</span> Read More &#187;</a></p>]]></description>
										<content:encoded><![CDATA[<p>There are 2 ways to do it:</p>
<h3>A. With Content Views Pro since 5.8.4</h3>
<p>In the &#8220;Style Settings&#8221; tab, please select the checkbox <code>Wrap live filters to a div</code>,<br />
then enter value for 2 text fields as below:</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-4142" src="https://contentviewspro.com/documentation/wp-content/uploads/2017/11/Split-live-filters-and-results-CVP-5.8.4.png" alt="" width="641" height="180" srcset="https://contentviewspro.com/documentation/wp-content/uploads/2017/11/Split-live-filters-and-results-CVP-5.8.4.png 641w, https://contentviewspro.com/documentation/wp-content/uploads/2017/11/Split-live-filters-and-results-CVP-5.8.4-300x84.png 300w" sizes="auto, (max-width: 641px) 100vw, 641px" /></p>
<ul>
<li>HTML Class For View: <code>col-md-8 col-sm-6</code><br />
(To show it wider, please use <code>col-md-9 col-sm-6</code>)</li>
<li>Text field below the Live Filters checkbox: <code>col-md-4 col-sm-6</code><br />
(To show it narrower, please use <code>col-md-3 col-sm-6</code>)</p>
<p>To show filters on the <strong>right side</strong>, please use: <code>col-md-4 col-sm-6 pull-right</code></li>
</ul>
<p>To change the width of each side, please change the value <code>col-md-8</code> and <code>col-md-4</code> (the sum of numbers must be <code>12</code>).</p>
<p>The <code>col-sm-6</code> value helps to show filters on the side of result on Tablet devices.<br />
To show filters above result on Tablet devices, please remove this value.</p>
<p>To show filters on the side of results on Mobile devices, please add <code data-start="878" data-end="888">col-xs-6</code> to both elements.</p>
<h3>B. With Content Views Pro before 5.8.4</h3>
<p>For older Content Views Pro version, you can show filters on the left side and result on the right side with this code:</p>
<blockquote><p>Notice: when using this solution, the page <ins>will be reloaded</ins> when selecting or changing the filter option.</p></blockquote>
<pre style="font-size: 13px;">&lt;div class="pt-cv-wrapper"&gt;
	&lt;div class="row"&gt;
		&lt;div class="col-md-4 col-sm-6"&gt;
			[pt_view id="VIEW_ID" show="filter"]
		&lt;/div&gt;
		&lt;div class="col-md-8 col-sm-6"&gt;
			[pt_view id="VIEW_ID" show="result"]
		&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;
</pre>
<p>You can switch positions of shortcodes to show filters on the right side, result on the left side.<br />
To change the width of each side, please change the <code>col-md-4</code> and <code>col-md-8</code> (the sum of numbers must be <code>12</code>).</p>
<p>Best regards,</p>
]]></content:encoded>
					
					<wfw:commentRss>https://contentviewspro.com/documentation/article/live-filter-show-filters-on-the-left-side-of-result/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Live Filter &#8211; show filters &#038; results in different places (for example: filters in sidebar, results in page)</title>
		<link>https://contentviewspro.com/documentation/article/live-filter-on-sidebar-or-on-side-of-posts/</link>
		
		<dc:creator><![CDATA[CVP]]></dc:creator>
		<pubDate>Sat, 18 Nov 2017 04:13:35 +0000</pubDate>
				<guid isPermaLink="false">http://docs.contentviewspro.com/?p=2552</guid>

					<description><![CDATA[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 &#8230;<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 &#187;</a></p>]]></description>
										<content:encoded><![CDATA[<p>Normally, Live filters will show above the result.<br />
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.</p>
<h2>1. Show filters in one page, show result in another page (or show filters in sidebar, show results in a page)</h2>
<ul>
<li>to show the filters only, please add this shortcode to where you want to show:
<pre style="font-size: 13px;">[pt_view id="VIEW_ID" show="filter" submit_to="URL_OF_RESULT_PAGE"]
</pre>
</li>
<li>to show the results only, please add this shortcode to the result page’s content editor:
<pre style="font-size: 13px;">[pt_view id="VIEW_ID" show="result" submit_to="URL_OF_RESULT_PAGE"]
</pre>
</li>
</ul>
<blockquote><p>Please replace <code>VIEW_ID</code> with ID of your View,<br />
replace <code>URL_OF_RESULT_PAGE</code> with URL of the result page.</p></blockquote>
<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>
<blockquote><p>Please add shortcode to the &#8220;Text&#8221; tab to ensure that shortcode is not modified unexpectedly:<br />
<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>
<blockquote><p>By using this solution, the page <ins>will be reloaded</ins> when selecting or changing the filter option.</p></blockquote>
<h2 id="samepage">2. Show filters on left side, show result on right side of a page</h2>
<p>Please check <a href="https://contentviewspro.com/documentation/article/live-filter-show-filters-on-the-left-side-of-result/">this document</a>.</p>
<p>Best regards,</p>
<style>blockquote{margin-left: 15px !important;}</style>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Live Filter &#8211; set default active filter</title>
		<link>https://contentviewspro.com/documentation/article/live-filter-set-default-filter-activate-filter-beginning/</link>
		
		<dc:creator><![CDATA[CVP]]></dc:creator>
		<pubDate>Tue, 10 Oct 2017 01:54:35 +0000</pubDate>
				<guid isPermaLink="false">http://docs.contentviewspro.com/?p=2311</guid>

					<description><![CDATA[By default, the &#8220;All&#8221; option is active for the Checkbox, Radio, Dropdown, Button types of Live Filter. To activate another option at the beginning, you can use one of 2 solutions below: 1. Please add the view to the page where you want to show it. Visit the page, select the option that you want &#8230;<p class="read-more"> <a class="" href="https://contentviewspro.com/documentation/article/live-filter-set-default-filter-activate-filter-beginning/"> <span class="screen-reader-text">Live Filter &#8211; set default active filter</span> Read More &#187;</a></p>]]></description>
										<content:encoded><![CDATA[<p>By default, the &#8220;All&#8221; option is active for the Checkbox, Radio, Dropdown, Button types of Live Filter.<br />
To activate another option at the beginning, you can use one of 2 solutions below:</p>
<p>1. Please add the view to the page where you want to show it.<br />
Visit the page, select the option that you want to set as default.<br />
Copy the URL in browser&#8217;s address bar and use it as the link to the page.</p>
<p>2. Or there is another way.<br />
Please add this code to <strong>Custom JS</strong> field in Content Views &gt;&gt; Settings page:</p>
<pre style="font-size: 13px;">/* Live Filter - set default filter */
function cvp_lf_default_option(term_slug, view_id){
    if (!window.location.search) {
        var $el = $('[value="' + term_slug + '"]', '[data-sid="' + view_id + '"]');
        if ($el.length) {
        $el.attr("checked", true);
        $el.attr("selected", true);
        $el.trigger('change'); 
        // let event = new Event('change'); $el[0].dispatchEvent(event);
        }
    }
};
// duplicate the below line for another view, and change values respectively
cvp_lf_default_option('DEFAULT_VALUE', 'VIEW_ID');
</pre>
<p>then:</p>
<ul>
<li>replace <code>DEFAULT_VALUE</code> with the value you want to select by default.<br />
To find the right value, please follow these steps:<br />
+ open the page with Live Filter<br />
+ select the option that you want to select by default<br />
+ the URL in browser&#8217;s address bar will be changed accordingly and end with:</p>
<pre style="font-size: 13px;">/?NAME=VALUE
</pre>
<p>+ copy the <code>VALUE</code> to replace the <code>DEFAULT_VALUE</code> in the code.</p>
<p>For example, you show categories as filters and want to select the &#8220;Business&#8221; option by default.<br />
When you select that option, the URL ends with: <code>/?tx_category=business</code><br />
Then you should use <code>cvp_lf_default_option('business', 'VIEW_ID');</code></li>
<li>replace <code>VIEW_ID</code> with <a href="https://contentviewspro.com/documentation/article/what-is-id-of-a-view/">ID of your View</a>.</li>
</ul>
<p>Best regards,</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Live Filter – set default sort option</title>
		<link>https://contentviewspro.com/documentation/article/live-filter-set-default-sort-option/</link>
		
		<dc:creator><![CDATA[admin1]]></dc:creator>
		<pubDate>Fri, 31 Aug 2018 02:25:52 +0000</pubDate>
				<guid isPermaLink="false">https://docs.contentviewspro.com/?p=3271</guid>

					<description><![CDATA[With the Live Filter feature in Pro version, you can show sort options in frontend, to help your users to sort content themselves. To set the default sort option, please add this code to Custom JS field (the right textarea) in Content Views >> Settings page: /*Live Filter – set default sort option*/ if (!window.location.search) &#8230;<p class="read-more"> <a class="" href="https://contentviewspro.com/documentation/article/live-filter-set-default-sort-option/"> <span class="screen-reader-text">Live Filter – set default sort option</span> Read More &#187;</a></p>]]></description>
										<content:encoded><![CDATA[<p>With the Live Filter feature in Pro version, you can show sort options in frontend, to help your users to sort content themselves.<br />
To set the default sort option, please add this code to <strong>Custom JS</strong> field (the right textarea) in <a href="https://contentviewspro.com/documentation/wp-content/uploads/2018/03/Content-Views-_-Settings.png">Content Views >> Settings</a> page:</p>
<pre style="font-size:13px">
/*Live Filter – set default sort option*/
if (!window.location.search) {
    var viewid = 'VIEW_ID', default_sort = 'SORT_VALUE';
    if ($('[data-sid="' + viewid + '"] [name="_orderby"]').val() == '') {
        $('[data-sid="' + viewid + '"] [name="_orderby"]').val(default_sort).trigger('change');
    }
}
</pre>
<p>then:</p>
<ul>
<li>replace <strong>VIEW_ID</strong> with <a href="https://contentviewspro.com/documentation/article/what-is-id-of-a-view/">ID of your View</a></li>
<li>replace <strong>SORT_VALUE</strong> with the sort option you want to set as default, it can be <code>title</code>, <code>date</code>, or custom field key (to get correct custom field key, select that field from the live filter, the URL will change to <code>?_orderby=FIELD_KEY</code>, then copy the FIELD_KEY in URL).</li>
</ul>
<p>Best regards,</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Live Filter – prevent reload/refresh on changing filter (with Divi theme/plugin)</title>
		<link>https://contentviewspro.com/documentation/article/live-filter-prevent-reload-refresh-with-divi/</link>
					<comments>https://contentviewspro.com/documentation/article/live-filter-prevent-reload-refresh-with-divi/#respond</comments>
		
		<dc:creator><![CDATA[admin1]]></dc:creator>
		<pubDate>Fri, 15 Mar 2024 08:55:07 +0000</pubDate>
				<guid isPermaLink="false">https://contentviewspro.com/documentation/?post_type=docs&#038;p=5831</guid>

					<description><![CDATA[Please add this code to Custom JS field in Content Views >> Settings page: Best regards,]]></description>
										<content:encoded><![CDATA[
<p><span class="prokeys-snippet-text">Please add this code to <strong>Custom JS</strong> field in <a href="https://contentviewspro.com/documentation/wp-content/uploads/2018/03/Content-Views-_-Settings.png">Content Views >> Settings</a> page:</span></p>



<pre class="wp-block-code"><code>window.cvp_lf_reload_url = false;</code></pre>



<p><span class="prokeys-snippet-text">Best regards,</span></p>
]]></content:encoded>
					
					<wfw:commentRss>https://contentviewspro.com/documentation/article/live-filter-prevent-reload-refresh-with-divi/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Live Filter &#8211; force to reload/refresh on changing filter</title>
		<link>https://contentviewspro.com/documentation/article/live-filter-shortcode-is-visible-in-filter-result/</link>
		
		<dc:creator><![CDATA[CVP]]></dc:creator>
		<pubDate>Wed, 11 Oct 2017 03:05:41 +0000</pubDate>
				<guid isPermaLink="false">http://docs.contentviewspro.com/?p=2322</guid>

					<description><![CDATA[By default, the Live filter uses AJAX technique to load filter results. It means the page doesn’t reload, and an asynchronous request is sent to the webserver to retrieve the result. If the shortcodes of the theme or another plugin are visible in the retrieved result, the reason is these shortcodes are not available (and &#8230;<p class="read-more"> <a class="" href="https://contentviewspro.com/documentation/article/live-filter-shortcode-is-visible-in-filter-result/"> <span class="screen-reader-text">Live Filter &#8211; force to reload/refresh on changing filter</span> Read More &#187;</a></p>]]></description>
										<content:encoded><![CDATA[<p>By default, the Live filter uses AJAX technique to load filter results. It means the page doesn’t reload, and an asynchronous request is sent to the webserver to retrieve the result.<br />
If the shortcodes of the theme or another plugin are visible in the retrieved result, the reason is these shortcodes are not available (and not executable) in the AJAX request.</p>
<p>To resolve this issue, please add this code to <strong>Custom JS</strong> field in Content Views &gt;&gt; Settings page:</p>
<pre style="font-size: 13px;">/* Live Filter force to reload page */
window.cvp_lf_reload_url = true;
</pre>
<p>The page will reload, and shortcodes will be available and executable in the results.</p>
<h3 id="scrollback">Extra:</h3>
<p>If you want to <strong>scroll back to the same position after reload</strong>, please add this code to <strong>Custom JS</strong> field in Content Views &gt;&gt; Settings page:</p>
<pre style="font-size: 13px;">
/* Live Filter - scroll back to the same section after reload */
$("input, select",".cvp-live-filter").on("change",function(){setTimeout(function(t){(window.cvp_lf_reload_url||0===t.closest(".pt-cv-wrapper").find(".pt-cv-view").length)&&sessionStorage.setItem("cvp_offsettop_"+t.closest(".cvp-live-filter").data("sid"),$(this).scrollTop())},100,$(this))}),$(function(){if($("input, select",".cvp-live-filter").length>0){var t=$("input, select",".cvp-live-filter").first().closest(".cvp-live-filter").data("sid"),e=sessionStorage.getItem("cvp_offsettop_"+t);e&&$("html, body").animate({scrollTop:e},500),e&&sessionStorage.removeItem("cvp_offsettop_"+t)}});
</pre>
<p>Best regards,</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Live Filter &#8211; show filters vertically or horizontally</title>
		<link>https://contentviewspro.com/documentation/article/live-filter-show-filters-vertically-or-horizontally/</link>
		
		<dc:creator><![CDATA[CVP]]></dc:creator>
		<pubDate>Wed, 07 Feb 2018 09:12:00 +0000</pubDate>
				<guid isPermaLink="false">https://docs.contentviewspro.com/?p=2860</guid>

					<description><![CDATA[Vertically To show filter vertically, please add this code to Custom CSS field (the left textarea) in Content Views &#62;&#62; Settings page: /* Live Filter - show filters vertically */ .cvp-live-filter {display: block!important;} Horizontally (next to each other) To show filter horizontally, please add this code to Custom CSS field (the left textarea) in Content &#8230;<p class="read-more"> <a class="" href="https://contentviewspro.com/documentation/article/live-filter-show-filters-vertically-or-horizontally/"> <span class="screen-reader-text">Live Filter &#8211; show filters vertically or horizontally</span> Read More &#187;</a></p>]]></description>
										<content:encoded><![CDATA[<h2>Vertically</h2>
<p>To show filter vertically, please add this code to <strong>Custom CSS</strong> field (the left textarea) in Content Views &gt;&gt; Settings page:</p>
<pre style="font-size: 13px;">/* Live Filter - show filters vertically */
.cvp-live-filter {display: block!important;}
</pre>
<h2>Horizontally (next to each other)</h2>
<p>To show filter horizontally, please add this code to <strong>Custom CSS</strong> field (the left textarea) in Content Views &gt;&gt; Settings page:</p>
<pre style="font-size: 13px;">/* Live Filter - show filters horizontally */
.cvp-live-filter,.cvp-live-button{display:inline-block!important;vertical-align:bottom!important}
</pre>
<p>Best regards,</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Live Filter &#8211; show checkboxes and radio buttons horizontally in rows &#038; columns</title>
		<link>https://contentviewspro.com/documentation/article/live-filter-show-checkboxes-radio-buttons-rows-columns-instead-vertical-list/</link>
		
		<dc:creator><![CDATA[admin1]]></dc:creator>
		<pubDate>Mon, 23 Apr 2018 11:40:54 +0000</pubDate>
				<guid isPermaLink="false">https://docs.contentviewspro.com/?p=3050</guid>

					<description><![CDATA[To show Live Filter checkboxes and radio buttons in rows and columns (instead of vertical list), please add this code to Custom CSS field (the left textarea) in Content Views &#62;&#62; Settings page: /* Live Filter - show checkboxes &#38; radio buttons horizontally in rows, columns */ .cvp-live-filter, .cvp-live-filter label { display: block !important; } &#8230;<p class="read-more"> <a class="" href="https://contentviewspro.com/documentation/article/live-filter-show-checkboxes-radio-buttons-rows-columns-instead-vertical-list/"> <span class="screen-reader-text">Live Filter &#8211; show checkboxes and radio buttons horizontally in rows &#038; columns</span> Read More &#187;</a></p>]]></description>
										<content:encoded><![CDATA[<p>To show Live Filter checkboxes and radio buttons in rows and columns (instead of vertical list), please add this code to <strong>Custom CSS</strong> field (the left textarea) in <a href="https://contentviewspro.com/documentation/wp-content/uploads/2018/03/Content-Views-_-Settings.png">Content Views &gt;&gt; Settings</a> page:</p>
<pre style="font-size: 13px;">/* Live Filter - show checkboxes &amp; radio buttons horizontally in rows, columns */
.cvp-live-filter, .cvp-live-filter label {
    display: block !important;
}

.cvp-live-filter .checkbox, .cvp-live-filter .radio {
    display: inline-block;
    width: 33%;
}

/* on mobile */
@media (max-width: 768px) {
    .cvp-live-filter .checkbox, .cvp-live-filter .radio {
        width: 50% !important;
    }
}
</pre>
<p>Please replace 33% by another value (for example: 25%) to change the number of columns.</p>
<h2>Notice:</h2>
<p>To use above styles for <strong>specific View only</strong>, please replace</p>
<pre style="font-size: 13px;">.cvp-live-filter
</pre>
<p>with</p>
<pre style="font-size: 13px;">.cvp-live-filter[data-sid="VIEW_ID"]
</pre>
<p>(replace <strong>VIEW_ID</strong> with <a href="https://contentviewspro.com/documentation/article/what-is-id-of-a-view/">ID of your View</a>)</p>
<p>Best regards,</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
