<?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>Troubleshooting &#8211; Content Views Pro</title>
	<atom:link href="https://contentviewspro.com/documentation/cats/common-bugs/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, 15 Oct 2024 04:34:12 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>Fix: AJAX pagination (or Live Filter) not working on live page</title>
		<link>https://contentviewspro.com/documentation/article/fix-ajax-pagination-or-live-filter-not-working-on-live-page/</link>
		
		<dc:creator><![CDATA[admin1]]></dc:creator>
		<pubDate>Tue, 15 Oct 2024 04:21:22 +0000</pubDate>
				<guid isPermaLink="false">https://contentviewspro.com/documentation/?post_type=docs&#038;p=5991</guid>

					<description><![CDATA[Our Ajax pagination and Live Filter use the standard and secure AJAX endpoint of WordPress:/admin-ajax.php If these features didn&#8217;t work on your live page, the possible reason is the above URL was blocked. If you are using any Security setting (or .htaccess rule) to block request to this URL /admin-ajax.php, please disable that setting/rule. Best &#8230;<p class="read-more"> <a class="" href="https://contentviewspro.com/documentation/article/fix-ajax-pagination-or-live-filter-not-working-on-live-page/"> <span class="screen-reader-text">Fix: AJAX pagination (or Live Filter) not working on live page</span> Read More &#187;</a></p>]]></description>
										<content:encoded><![CDATA[
<p>Our Ajax pagination and Live Filter use the standard and secure <a href="https://developer.wordpress.org/plugins/javascript/ajax/#url" target="_blank" rel="noreferrer noopener nofollow">AJAX endpoint of WordPress</a>:<br><strong>/admin-ajax.php</strong></p>



<p>If these features didn&#8217;t work on your live page, the possible reason is the above URL was blocked.</p>



<p>If you are using any Security setting (or .htaccess rule) to block request to this URL /admin-ajax.php, please disable that setting/rule.</p>



<p><span class="prokeys-snippet-text">Best regards,</span></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Collapsible List – Fix: post doesn&#8217;t expand on click heading</title>
		<link>https://contentviewspro.com/documentation/article/collapsible-list-doesnt-work/</link>
		
		<dc:creator><![CDATA[admin1]]></dc:creator>
		<pubDate>Mon, 14 Dec 2015 04:24:41 +0000</pubDate>
				<guid isPermaLink="false">http://docs.contentviewspro.com/?p=691</guid>

					<description><![CDATA[In Collapsible list, item&#8217;s content will toggle (show/hide) when you click on item&#8217;s heading. If it doesn&#8217;t work like that, it should be conflict with script from another plugin or active theme. Please add this code to Custom JS field in Content Views >> Settings page: /* Fix Collapsible list - can't toggle item */ &#8230;<p class="read-more"> <a class="" href="https://contentviewspro.com/documentation/article/collapsible-list-doesnt-work/"> <span class="screen-reader-text">Collapsible List – Fix: post doesn&#8217;t expand on click heading</span> Read More &#187;</a></p>]]></description>
										<content:encoded><![CDATA[<p>In Collapsible list, item&#8217;s content will toggle (show/hide) when you click on item&#8217;s heading. If it doesn&#8217;t work like that, it should be conflict with script from another plugin or active theme.</p>
<p>Please add this code to <strong>Custom JS</strong> field in Content Views >> Settings page:</p>
<pre style="font-size:13px">
/* Fix Collapsible list - can't toggle item */
setTimeout(function() {
$(".pt-cv-view .panel-title").removeAttr("data-toggle"),$(".pt-cv-view .panel-title").off("click").on("click",function(e){e.preventDefault();var l=$(this).next("span").children("i"),i=$(this).parent().next(".panel-collapse");i.is(":visible")?(i.fadeOut(100),l.removeClass("glyphicon-minus").addClass("glyphicon-plus")):($(this).closest(".pt-cv-collapsible").find(".panel-collapse").fadeOut(100),i.animate({height:"toggle"},300),l.removeClass("glyphicon-plus").addClass("glyphicon-minus")),i.removeClass("collapse")}),$(".pt-cv-view .panel-heading span.panel-collapsed").off("click").on("click",function(e){$(this).parent(".panel-heading").find(".panel-title").trigger("click")});
}, 2000);
</pre>
<p>If you are using Content Views Free, please add above code with this instruction (<a href="http://contentviewspro.com/documentation/article/add-custom-javascript-content-views-free-version/" target="_blank" rel="noopener noreferrer">click here</a>).</p>
<p>Best regards,</p>
<p><!-- old code
$(".pt-cv-view .panel-title").removeAttr("data-toggle"),$(".panel-collapse").removeClass("collapse"),$(".panel-collapse").hide(),$(".pt-cv-view .panel-title").off("click").on("click",function(e){e.preventDefault();var l=$(this).next("span").children("i"),a=$(this).parent().next(".panel-collapse");a.is(":visible")?(a.fadeOut(100),l.removeClass("glyphicon-minus").addClass("glyphicon-plus")):($(this).closest(".pt-cv-collapsible").find(".panel-collapse").fadeOut(100),a.animate({height:"toggle"},300),l.removeClass("glyphicon-plus").addClass("glyphicon-minus"))}),$(".pt-cv-view .panel-heading span.panel-collapsed").off("click").on("click",function(e){$(this).parent(".panel-heading").find(".panel-title").trigger("click")});
--></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Scrollable list &#8211; Fix: click on next/prev button doesn&#8217;t work</title>
		<link>https://contentviewspro.com/documentation/article/nextprev-button-of-scrollable-list-doesnt-work/</link>
		
		<dc:creator><![CDATA[admin1]]></dc:creator>
		<pubDate>Mon, 14 Dec 2015 04:46:41 +0000</pubDate>
				<guid isPermaLink="false">http://docs.contentviewspro.com/?p=695</guid>

					<description><![CDATA[In Scrollable list, if slide doesn&#8217;t change when you click next/prev button, the possible reason is impact of theme&#8217;s or another plugin&#8217;s script. To resolve this issue, please add this code to Custom JS field in Content Views >> Settings page: /* Content Views - Fix Scrollable List next/prev doesn't work */ setTimeout(function() { $(".carousel-control.left").off("click").on("click",function(){$(this).parent().cvcarousel("prev")}),$(".carousel-control.right").off("click").on("click",function(){$(this).parent().cvcarousel("next")}); &#8230;<p class="read-more"> <a class="" href="https://contentviewspro.com/documentation/article/nextprev-button-of-scrollable-list-doesnt-work/"> <span class="screen-reader-text">Scrollable list &#8211; Fix: click on next/prev button doesn&#8217;t work</span> Read More &#187;</a></p>]]></description>
										<content:encoded><![CDATA[<p>In Scrollable list, if slide doesn&#8217;t change when you click next/prev button, the possible reason is impact of theme&#8217;s or another plugin&#8217;s script.</p>
<p>To resolve this issue, please add this code to <strong>Custom JS</strong> field in Content Views >> Settings page:</p>
<pre style="font-size:13px">
/* Content Views - Fix Scrollable List next/prev doesn't work */
setTimeout(function() {
$(".carousel-control.left").off("click").on("click",function(){$(this).parent().cvcarousel("prev")}),$(".carousel-control.right").off("click").on("click",function(){$(this).parent().cvcarousel("next")});
}, 2000);
</pre>
<p>If you are using Content Views Free, please add above code with this instruction (<a href="http://contentviewspro.com/documentation/article/add-custom-javascript-content-views-free-version/" target="_blank" rel="noopener noreferrer">click here</a>).</p>
<p>Best regards,</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Scrollable list &#8211; Fix: click on next/prev button caused the page to scroll</title>
		<link>https://contentviewspro.com/documentation/article/page-scrolls-updown-click-nextprevious-button-scrollable-list/</link>
		
		<dc:creator><![CDATA[admin1]]></dc:creator>
		<pubDate>Thu, 15 Jun 2017 03:06:08 +0000</pubDate>
				<guid isPermaLink="false">http://docs.contentviewspro.com/?p=1668</guid>

					<description><![CDATA[If the page moves up or down on click the navigation buttons (next, previous) of Scrollable list, it means there was a custom Javascript handle of theme or another plugin attached to these buttons. To resolve this issue, please add this code to Custom JS field in Content Views >> Settings page: /* Content Views &#8230;<p class="read-more"> <a class="" href="https://contentviewspro.com/documentation/article/page-scrolls-updown-click-nextprevious-button-scrollable-list/"> <span class="screen-reader-text">Scrollable list &#8211; Fix: click on next/prev button caused the page to scroll</span> Read More &#187;</a></p>]]></description>
										<content:encoded><![CDATA[<p>If the page moves up or down on click the navigation buttons (next, previous) of Scrollable list, it means there was a custom Javascript handle of theme or another plugin attached to these buttons.<br />
To resolve this issue, please add this code to <strong>Custom JS</strong> field in Content Views >> Settings page:</p>
<pre style="font-size:13px">
/* Content Views - Fix page scrolls on click next/previous button of Scrollable List */
setTimeout(function() {
$('.pt-cv-scrollable .carousel-control').off('click');
}, 2000);
</pre>
<p>If you are using Content Views Free, please add above code with this instruction (<a href="http://contentviewspro.com/documentation/article/add-custom-javascript-content-views-free-version/" target="_blank" rel="noopener noreferrer">click here</a>).</p>
<p>Best regards,</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Random order doesn’t work in the WP Engine Hosting</title>
		<link>https://contentviewspro.com/documentation/article/random-order-doesnt-work-wp-engine-server/</link>
		
		<dc:creator><![CDATA[admin1]]></dc:creator>
		<pubDate>Thu, 02 Feb 2017 09:14:36 +0000</pubDate>
				<guid isPermaLink="false">http://docs.contentviewspro.com/?p=1175</guid>

					<description><![CDATA[By default, WP Engine Hosting disabled random order of any MySQL queries. Please check this post to know how to make it works: Random order doesn’t work on WP Engine server Best regards,]]></description>
										<content:encoded><![CDATA[<p>By default, WP Engine Hosting disabled random order of any MySQL queries.<br />
Please check this post to know how to make it works: <a href="https://www.contentviewspro.com/random-order-doesnt-work-on-wp-engine-server/">Random order doesn’t work on WP Engine server</a></p>
<p>Best regards,</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Fix: images look blurry</title>
		<link>https://contentviewspro.com/documentation/article/thumbnail-quality-is-bad-images-look-blurry/</link>
		
		<dc:creator><![CDATA[admin1]]></dc:creator>
		<pubDate>Fri, 09 Jun 2017 10:07:33 +0000</pubDate>
				<guid isPermaLink="false">http://docs.contentviewspro.com/?p=1624</guid>

					<description><![CDATA[If images look blurry, the possible reasons are: the selected size is too small. Under Display Settings >> Fields Settings >> Thumbnail >> Size, please select another option which has bigger width and height. the responsive images are loaded. To fix this problem, please select the option Disable responsive image of WordPress under Display Settings &#8230;<p class="read-more"> <a class="" href="https://contentviewspro.com/documentation/article/thumbnail-quality-is-bad-images-look-blurry/"> <span class="screen-reader-text">Fix: images look blurry</span> Read More &#187;</a></p>]]></description>
										<content:encoded><![CDATA[<p>If images look blurry, the possible reasons are:</p>
<ul>
<li>the selected size is too small. Under Display Settings >> Fields Settings >> Thumbnail >> Size, please select another option which has bigger width and height.</li>
<li>the responsive images are loaded. To fix this problem, please select the option<br />
<strong>Disable responsive image of WordPress</strong><br />
under Display Settings >> Fields settings >> Thumbnail.</p>
<p><img fetchpriority="high" decoding="async" src="https://contentviewspro.com/documentation/wp-content/uploads/2017/06/Content-Views-thumbnail-quality.png" alt="" width="513" height="148" class="alignnone size-full wp-image-1625" srcset="https://contentviewspro.com/documentation/wp-content/uploads/2017/06/Content-Views-thumbnail-quality.png 513w, https://contentviewspro.com/documentation/wp-content/uploads/2017/06/Content-Views-thumbnail-quality-300x87.png 300w" sizes="(max-width: 513px) 100vw, 513px" /></li>
</ul>
<p>Thank you,</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Fix: &#8220;Element style not allowed as child of element div in this context&#8221;</title>
		<link>https://contentviewspro.com/documentation/article/fix-issue-element-style-not-allowed-child-element-div-context/</link>
		
		<dc:creator><![CDATA[admin1]]></dc:creator>
		<pubDate>Tue, 14 Feb 2017 07:16:11 +0000</pubDate>
				<guid isPermaLink="false">http://docs.contentviewspro.com/?p=1185</guid>

					<description><![CDATA[Please follow 2 steps below: 1. add this code to file functions.php of your active theme: // Content Views Pro - Disable print inline CSS, will print it at footer add_filter( 'pt_cv_inline_view_style', '__return_false' ); // Content Views Pro - Fix HTML validator issue "Element style not allowed as child of element body in this context" &#8230;<p class="read-more"> <a class="" href="https://contentviewspro.com/documentation/article/fix-issue-element-style-not-allowed-child-element-div-context/"> <span class="screen-reader-text">Fix: &#8220;Element style not allowed as child of element div in this context&#8221;</span> Read More &#187;</a></p>]]></description>
										<content:encoded><![CDATA[<p>Please follow 2 steps below:</p>
<p>1. add this code to file <strong>functions.php</strong> of your active theme:</p>
<pre style="font-size: 13px;">// Content Views Pro - Disable print inline CSS, will print it at footer
add_filter( 'pt_cv_inline_view_style', '__return_false' );

// Content Views Pro - Fix HTML validator issue "Element style not allowed as child of element body in this context"
add_filter( 'pt_cv_delayed_css', 'cvp_theme_delayed_css', 100, 1 );
function cvp_theme_delayed_css( $args ) {
	$args = str_replace( array( '&lt;style type="text/css"', 'style&gt;' ), array( '&lt;div style="display:none" data-type="cvpcss"', 'div&gt;' ), $args );
	return $args;
}
</pre>
<p>2. add this code to <strong>Custom JS</strong> field in Content Views &gt;&gt; Settings page:</p>
<pre style="font-size: 13px;">$('[data-type="cvpcss"]').each(function(){var t=$(this).html(),e='&lt;style type="text/css" class="cvpstyle"&gt;'+t+"&lt;/style&gt;";$("head").append(e),$(this).remove()});</pre>
<p>Best regards,</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Debug: get details message of error 500</title>
		<link>https://contentviewspro.com/documentation/article/get-real-error-message-500-error-debugging/</link>
		
		<dc:creator><![CDATA[admin1]]></dc:creator>
		<pubDate>Fri, 17 Mar 2017 14:24:46 +0000</pubDate>
				<guid isPermaLink="false">http://docs.contentviewspro.com/?p=1477</guid>

					<description><![CDATA[Hello, Sometimes you will encounter the 500 error when use a feature of theme or a plugin. To identify which causes the error, please follow 3 steps below: 1. Open file wp-config.php in the root folder of your website (you will need to login to Cpanel >> File Manager tool, or login to file server &#8230;<p class="read-more"> <a class="" href="https://contentviewspro.com/documentation/article/get-real-error-message-500-error-debugging/"> <span class="screen-reader-text">Debug: get details message of error 500</span> Read More &#187;</a></p>]]></description>
										<content:encoded><![CDATA[<p>Hello,<br />
Sometimes you will encounter the 500 error when use a feature of theme or a plugin. To identify which causes the error, please follow 3 steps below:</p>
<p>1. Open file <strong>wp-config.php</strong> in the root folder of your website (<em>you will need to login to Cpanel >> File Manager tool, or login to file server with FTP client software</em>), then replace this line:</p>
<pre style="font-size:13px">
define( 'WP_DEBUG', false );
</pre>
<p>with</p>
<pre style="font-size:13px">
define('WP_DEBUG', true);
define('WP_DEBUG_DISPLAY', true);
define('WP_DEBUG_LOG', true);
</pre>
<p>Then save the file.</p>
<p>2. Reuse the feature which causes problem (to catch the error).</p>
<p>3. The detail error message will appear.</p>
<p>After finishing, please undo step 1.</p>
<p>Best regards,</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Debug: show database query</title>
		<link>https://contentviewspro.com/documentation/article/debug-show-database-query-statement-views/</link>
		
		<dc:creator><![CDATA[admin1]]></dc:creator>
		<pubDate>Thu, 01 Jun 2017 02:51:36 +0000</pubDate>
				<guid isPermaLink="false">http://docs.contentviewspro.com/?p=2301</guid>

					<description><![CDATA[This document is used to show database query statement of Views, which helps to troubleshooting the result. Please follow following steps: Add this code to file functions.php of your active theme: // Content Views Pro - debug query add_filter( 'pt_cv_before_output_html', 'cvp_theme_show_debug_param', 100, 1 ); function cvp_theme_show_debug_param( $args ) { if ( PT_CV_Functions_Pro::user_can_manage_view() ) { global &#8230;<p class="read-more"> <a class="" href="https://contentviewspro.com/documentation/article/debug-show-database-query-statement-views/"> <span class="screen-reader-text">Debug: show database query</span> Read More &#187;</a></p>]]></description>
										<content:encoded><![CDATA[<p>This document is used to show database query statement of Views, which helps to troubleshooting the result.<br />
Please follow following steps: </p>
<ul>
<li>Add this code to file <strong>functions.php</strong> of your active theme:
<pre style="font-size:13px">
// Content Views Pro - debug query
add_filter( 'pt_cv_before_output_html', 'cvp_theme_show_debug_param', 100, 1 );
function cvp_theme_show_debug_param( $args ) {
	if ( PT_CV_Functions_Pro::user_can_manage_view() ) {
		global $wp;
		$arr = array();
		parse_str( $wp-&gt;query_string, $arr );
		$arr[ 'test123213x' ]	 = 1;
		$args .= sprintf( '&lt;a class=&quot;btn&quot; href=&quot;%s&quot;&gt;Show Debug Info&lt;/a&gt;', esc_url(add_query_arg( $arr, home_url( $wp-&gt;request ) )) );
	}
	return $args;
}
add_action( 'pt_cv_after_query', 'cvp_theme_show_debug', 99999, 1 );
function cvp_theme_show_debug($args) {
	if ( isset( $_GET[ 'test123213x' ] ) &amp;&amp; PT_CV_Functions_Pro::user_can_manage_view() ) {
		global $pt_cv_id;
		echo &quot;&lt;pre&gt;&quot;; var_dump( $pt_cv_id, $args ); echo &quot;&lt;/pre&gt;&quot;;
	}
}
</pre>
</li>
<li>Open your page which has issue, click on any <strong>Show Debug Info</strong> button. The page will reload.</li>
</ul>
<p>You will see the query statement string show before Views.<br />
Please copy that string then send us.</p>
<p>Thank you,</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Increase the WordPress Memory Limit</title>
		<link>https://contentviewspro.com/documentation/article/increasing-wordpress-memory-limit/</link>
		
		<dc:creator><![CDATA[admin1]]></dc:creator>
		<pubDate>Fri, 05 Aug 2016 18:49:11 +0000</pubDate>
				<guid isPermaLink="false">http://docs.contentviewspro.com/?p=928</guid>

					<description><![CDATA[To increasing the WordPress Memory Limit, please edit your wp-config.php file and enter something like: define('WP_MEMORY_LIMIT', '512M'); For more detail, please check http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP Notice: this setting may NOT work if your web hosting does not allow for increasing the PHP memory limit. In that case, please contact your web hosting to increase the PHP memory &#8230;<p class="read-more"> <a class="" href="https://contentviewspro.com/documentation/article/increasing-wordpress-memory-limit/"> <span class="screen-reader-text">Increase the WordPress Memory Limit</span> Read More &#187;</a></p>]]></description>
										<content:encoded><![CDATA[<p>To increasing the WordPress Memory Limit, please edit your <code>wp-config.php</code> file and enter something like:</p>
<pre style="font-size:13px">
define('WP_MEMORY_LIMIT', '512M');
</pre>
<p>For more detail, please check <a href="http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP">http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP</a></p>
<blockquote><p>Notice: this setting may NOT work if your web hosting does not allow for increasing the PHP memory limit.<br />
In that case, please <ins>contact your web hosting</ins> to increase the PHP memory limit.</p></blockquote>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
