<?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>Work with Themes &amp; Plugins &#8211; Content Views Pro</title>
	<atom:link href="https://contentviewspro.com/documentation/cats/plugins/feed/" rel="self" type="application/rss+xml" />
	<link>https://contentviewspro.com/documentation</link>
	<description>Most Popular Filter &#38; Grid Plugin For WordPress</description>
	<lastBuildDate>Thu, 28 Dec 2023 11:21:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>Show multiple languages posts (by WPML, Polylang plugin)</title>
		<link>https://contentviewspro.com/documentation/article/show-multilingual-posts-with-wpml-polylang-plugin/</link>
		
		<dc:creator><![CDATA[CVP]]></dc:creator>
		<pubDate>Thu, 08 Dec 2016 10:00:01 +0000</pubDate>
				<guid isPermaLink="false">http://docs.contentviewspro.com/?p=2666</guid>

					<description><![CDATA[This feature is only available in the Pro version. Content Views Pro will help you to show posts in all languages by WPML (or Polylang) plugin in your WordPress site easily. You only need to create one View to show content in ALL languages. For example, your content is available in 3 languages: English (default), &#8230;<p class="read-more"> <a class="" href="https://contentviewspro.com/documentation/article/show-multilingual-posts-with-wpml-polylang-plugin/"> <span class="screen-reader-text">Show multiple languages posts (by WPML, Polylang plugin)</span> Read More &#187;</a></p>]]></description>
										<content:encoded><![CDATA[<blockquote><p>This feature is only available in the <a href="https://www.contentviewspro.com/#buynow" rel="noopener noreferrer" target="_blank">Pro version</a>.</p></blockquote>
<p>Content Views Pro will help you to show posts in all languages by WPML (or Polylang) plugin in your WordPress site easily.<br />
You only need to <strong>create one View to show content in ALL languages</strong>.</p>
<p>For example, your content is available in 3 languages: English (default), Spanish, Russian. And you want to show some posts in an English page (this page has translation pages in Spanish, Russian).</p>
<p>Please do simple steps below:</p>
<ul>
<li>Click Content Views > Add New to add new View, or edit an existing View</li>
<li>In admin toolbar at top of the page, switch to the default language:<br />
<img fetchpriority="high" decoding="async" src="https://contentviewspro.com/documentation/wp-content/uploads/2016/12/WPML-Change-language-in-admin.png" alt="WPML - Change language in admin" width="744" height="106" class="alignnone size-full wp-image-3282" srcset="https://contentviewspro.com/documentation/wp-content/uploads/2016/12/WPML-Change-language-in-admin.png 744w, https://contentviewspro.com/documentation/wp-content/uploads/2016/12/WPML-Change-language-in-admin-300x43.png 300w" sizes="(max-width: 744px) 100vw, 744px" /><br />
<em>(mouse over the language bar, click the default language)</em></p>
<p>For WordPress.com Business users, the WPML language bar (until version 4.0.6) doesn&#8217;t show at top. To switch to the default language, please append<br />
<code>&language=CODE</code><br />
to the end of current URL, then press Enter.<br />
With CODE is the code of default language in <a href="https://wpml.org/documentation/support/editing-wpmls-languages-table/" rel="noopener nofollow noreferrer" target="_blank">the WPML languages table</a>.
</li>
<li>Adjust View settings to filter and show posts in your desired way</li>
<li>Save the View</li>
<li>Paste the View shortcode to the page of the default language, and all of its translation pages.</li>
</ul>
<p>Thank you,</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Use the sorted order of another plugin</title>
		<link>https://contentviewspro.com/documentation/article/how-to-use-the-sorted-order-of-a-post-order-plugin-in-view/</link>
		
		<dc:creator><![CDATA[admin1]]></dc:creator>
		<pubDate>Fri, 23 Aug 2019 04:19:32 +0000</pubDate>
				<guid isPermaLink="false">https://docs.contentviewspro.com/?p=3712</guid>

					<description><![CDATA[Content Views and Content Views Pro help you to sort posts, pages and custom post types in many ways (see document). What if you used a post order plugin (for example: Post Types Order, Simple Custom Post Order, Intuitive Custom Post Order) to manually sort posts, then want to apply that order in Content Views? &#8230;<p class="read-more"> <a class="" href="https://contentviewspro.com/documentation/article/how-to-use-the-sorted-order-of-a-post-order-plugin-in-view/"> <span class="screen-reader-text">Use the sorted order of another plugin</span> Read More &#187;</a></p>]]></description>
										<content:encoded><![CDATA[<p>Content Views and Content Views Pro help you to sort posts, pages and custom post types in many ways (<a href="https://contentviewspro.com/documentation/article/how-to-sort-wordpress-posts-in-view/">see document</a>).</p>
<p>What if you used a post order plugin (for example: <strong>Post Types Order, Simple Custom Post Order, Intuitive Custom Post Order</strong>) to manually sort posts, then want to apply that order in Content Views?<br />
That is easy. Please enable the sort feature in the View, then select <strong>Menu Order</strong> option:</p>
<p><img decoding="async" src="https://contentviewspro.com/documentation/wp-content/uploads/2019/08/Content-Views-Pro-use-order-of-post-order-plugin.png" alt="Content Views Pro - use order of post order plugin" width="595" height="367" class="alignnone size-full wp-image-3713" srcset="https://contentviewspro.com/documentation/wp-content/uploads/2019/08/Content-Views-Pro-use-order-of-post-order-plugin.png 595w, https://contentviewspro.com/documentation/wp-content/uploads/2019/08/Content-Views-Pro-use-order-of-post-order-plugin-300x185.png 300w" sizes="(max-width: 595px) 100vw, 595px" /></p>
<p>Best regards,</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Translate text using WPML</title>
		<link>https://contentviewspro.com/documentation/article/translation-content-views-pro-text-using-wpml/</link>
		
		<dc:creator><![CDATA[admin1]]></dc:creator>
		<pubDate>Mon, 05 Dec 2016 02:56:43 +0000</pubDate>
				<guid isPermaLink="false">http://docs.contentviewspro.com/?p=1086</guid>

					<description><![CDATA[To translate Content Views (Pro) text with WPML, you need to install &#038; activate 3 packages: WPML Multilingual CMS, WPML String Translation and WPML Translation Management. To start translating Content Views (Pro), please follow these steps: 1. Go to WPML > Theme and plugins localization select Translate the theme and plugins using WPML's String Translation &#8230;<p class="read-more"> <a class="" href="https://contentviewspro.com/documentation/article/translation-content-views-pro-text-using-wpml/"> <span class="screen-reader-text">Translate text using WPML</span> Read More &#187;</a></p>]]></description>
										<content:encoded><![CDATA[<p>To translate Content Views (Pro) text with WPML, you need to install &#038; activate 3 packages: WPML Multilingual CMS, WPML String Translation and WPML Translation Management.</p>
<p>To start translating Content Views (Pro), please follow these steps:<br />
1. Go to <code>WPML > Theme and plugins localization</code> select <code>Translate the theme and plugins using WPML's String Translation</code> and click Save<br />
<img decoding="async" src="https://contentviewspro.com/documentation/wp-content/uploads/2016/12/Theme-and-plugins-localization-1.png" alt="theme-and-plugins-localization-1" width="577" height="187" class="alignnone size-full wp-image-1087" srcset="https://contentviewspro.com/documentation/wp-content/uploads/2016/12/Theme-and-plugins-localization-1.png 577w, https://contentviewspro.com/documentation/wp-content/uploads/2016/12/Theme-and-plugins-localization-1-300x97.png 300w" sizes="(max-width: 577px) 100vw, 577px" /></p>
<p>2. Scroll down to <code>Strings in the plugins</code> section, tick <code>Content Views</code> and <code>Content Views Pro</code>, then click button <code>Scan the selected plugins for strings</code>.<br />
<img loading="lazy" decoding="async" src="https://contentviewspro.com/documentation/wp-content/uploads/2016/12/Strings-in-the-plugins-CVP.png" alt="strings-in-the-plugins-cvp" width="697" height="550" class="alignnone size-full wp-image-1093" srcset="https://contentviewspro.com/documentation/wp-content/uploads/2016/12/Strings-in-the-plugins-CVP.png 697w, https://contentviewspro.com/documentation/wp-content/uploads/2016/12/Strings-in-the-plugins-CVP-300x237.png 300w" sizes="auto, (max-width: 697px) 100vw, 697px" /></p>
<p>3. Reload current page to get updated info. Click on button <code>View strings that need translation</code> of Content Views (or Content Views Pro).<br />
<img loading="lazy" decoding="async" src="https://contentviewspro.com/documentation/wp-content/uploads/2016/12/Theme-and-plugins-localization-‹-View-strings-that-need-translation.png" alt="theme-and-plugins-localization-view-strings-that-need-translation" width="764" height="136" class="alignnone size-full wp-image-1088" srcset="https://contentviewspro.com/documentation/wp-content/uploads/2016/12/Theme-and-plugins-localization-‹-View-strings-that-need-translation.png 764w, https://contentviewspro.com/documentation/wp-content/uploads/2016/12/Theme-and-plugins-localization-‹-View-strings-that-need-translation-300x53.png 300w" sizes="auto, (max-width: 764px) 100vw, 764px" /></p>
<p>4. All the plugin text will be visible on the list. Enter the string you want to translate into <code>Search for</code> text field, then click <code>Search</code> button. Click on the <code>translations</code> link to translate text string.<br />
<img loading="lazy" decoding="async" src="https://contentviewspro.com/documentation/wp-content/uploads/2016/12/String-Translation-‹-do-translate.png" alt="string-translation-do-translate" width="803" height="184" class="alignnone size-full wp-image-1089" srcset="https://contentviewspro.com/documentation/wp-content/uploads/2016/12/String-Translation-‹-do-translate.png 803w, https://contentviewspro.com/documentation/wp-content/uploads/2016/12/String-Translation-‹-do-translate-300x69.png 300w, https://contentviewspro.com/documentation/wp-content/uploads/2016/12/String-Translation-‹-do-translate-768x176.png 768w" sizes="auto, (max-width: 803px) 100vw, 803px" /></p>
<p>Finally, tick <code>Translation is complete</code> and click <code>Save</code> after translating.</p>
<p>Best regards,</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Show results of custom code, api, another plugin</title>
		<link>https://contentviewspro.com/documentation/article/show-posts-list-of-custom-code-or-another-plugin-in-content-views-pro-layout/</link>
		
		<dc:creator><![CDATA[admin1]]></dc:creator>
		<pubDate>Tue, 06 Nov 2018 02:23:56 +0000</pubDate>
				<guid isPermaLink="false">https://docs.contentviewspro.com/?p=3435</guid>

					<description><![CDATA[In case you used custom code to query posts, or used another plugin to get posts, you can use Content Views Pro to display these posts in a beautiful grid or list. Here is the code you need to use: $pids = array(); // #1: If there is existing variable contains array of post objects &#8230;<p class="read-more"> <a class="" href="https://contentviewspro.com/documentation/article/show-posts-list-of-custom-code-or-another-plugin-in-content-views-pro-layout/"> <span class="screen-reader-text">Show results of custom code, api, another plugin</span> Read More &#187;</a></p>]]></description>
										<content:encoded><![CDATA[<p>In case you used custom code to query posts, or used another plugin to get posts, you can use Content Views Pro to display these posts in a beautiful grid or list.<br />
Here is the code you need to use:</p>
<pre style="font-size:13px">
$pids = array();

// #1: If there is existing variable contains array of post objects
// Replace $posts by the existing variable
if ( isset( $posts ) ) {
	foreach ( $posts as $post ) {
		$pids[] = $post->ID;
	}
} 
else {
	// #2: If there is existing loop
	// Replace null by the query variable
	$query_obj = null;
	while ( $query_obj ? $query_obj->have_posts() : have_posts() ) :
		$query_obj ? $query_obj->the_post() : the_post();
		$pids[] = get_the_ID();
	endwhile;
}

// Replace VIEW_ID with the ID string of your grid/list View
echo do_shortcode('&#91;pt_view id="VIEW_ID" post_type="any" post_id="' . implode( ',', $pids ) . '"&#93;');
</pre>
<blockquote><p>Notice: Above code requires your knowledge of PHP.<br />
Also, the view should NOT enable Live Filter or any kind of other filters, it should use default Filter Settings.</p></blockquote>
<p>Best regards,</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Translate View by Polylang plugin</title>
		<link>https://contentviewspro.com/documentation/article/translate-view-by-polylang-plugin/</link>
		
		<dc:creator><![CDATA[admin1]]></dc:creator>
		<pubDate>Tue, 19 Jun 2018 11:07:22 +0000</pubDate>
				<guid isPermaLink="false">https://docs.contentviewspro.com/?p=3147</guid>

					<description><![CDATA[The Polylang plugin helps you to create multilingual WordPress website. And our Content Views Pro plugin helps you to show WordPress content of these languages easily. For most case, you only need to create one View for all languages (read more). But sometimes you need to create each View for each language, that is supported &#8230;<p class="read-more"> <a class="" href="https://contentviewspro.com/documentation/article/translate-view-by-polylang-plugin/"> <span class="screen-reader-text">Translate View by Polylang plugin</span> Read More &#187;</a></p>]]></description>
										<content:encoded><![CDATA[<p>The Polylang plugin helps you to create multilingual WordPress website.<br />
And our Content Views Pro plugin helps you to show WordPress content of these languages easily.<br />
For most case, you only need to create one View for all languages (<a href="https://contentviewspro.com/documentation/article/show-multilingual-posts-with-wpml-polylang-plugin/" target="_blank" rel="noopener noreferrer">read more</a>).<br />
But sometimes you need to create each View for each language, that is supported by Content Views Pro too.</p>
<h2>Set language for a View</h2>
<ul>
<li>In the admin Content Views &gt; All Views page, mouse over the View which you want to set language, click <strong>Edit Language</strong>:<br />
<img loading="lazy" decoding="async" src="https://contentviewspro.com/documentation/wp-content/uploads/2018/06/CVP-with-Polylang-edit-view-language.png" alt="CVP with Polylang - edit view language" width="663" height="125" class="alignnone size-full wp-image-3148" srcset="https://contentviewspro.com/documentation/wp-content/uploads/2018/06/CVP-with-Polylang-edit-view-language.png 663w, https://contentviewspro.com/documentation/wp-content/uploads/2018/06/CVP-with-Polylang-edit-view-language-300x57.png 300w" sizes="auto, (max-width: 663px) 100vw, 663px" /></li>
<li>It will navigate you to a page, where you can select language of the View. After finishing, please click the <strong>Update</strong> button.</li>
</ul>
<h2>Add translation of a View</h2>
<p>For example, you have a View in English, now you want to create the same purpose View in Deutsch, please follow these steps:</p>
<ul>
<li>In the admin Content Views &gt; All Views page, click on the plus &#8220;+&#8221; icon to add a translation of a View:<br />
<img loading="lazy" decoding="async" src="https://contentviewspro.com/documentation/wp-content/uploads/2018/06/CVP-with-Polylang-add-translation-of-View.png" alt="CVP with Polylang - add translation of View" width="880" height="229" class="alignnone size-full wp-image-3149" srcset="https://contentviewspro.com/documentation/wp-content/uploads/2018/06/CVP-with-Polylang-add-translation-of-View.png 880w, https://contentviewspro.com/documentation/wp-content/uploads/2018/06/CVP-with-Polylang-add-translation-of-View-300x78.png 300w, https://contentviewspro.com/documentation/wp-content/uploads/2018/06/CVP-with-Polylang-add-translation-of-View-768x200.png 768w" sizes="auto, (max-width: 880px) 100vw, 880px" /></li>
<li>Enter the title of the translation View, then click <strong>Publish</strong> button:<br />
<img loading="lazy" decoding="async" src="https://contentviewspro.com/documentation/wp-content/uploads/2018/06/CVP-with-Polylang-add-title-of-the-translation-View.png" alt="CVP with Polylang - add title of the translation View" width="704" height="520" class="alignnone size-full wp-image-3150" srcset="https://contentviewspro.com/documentation/wp-content/uploads/2018/06/CVP-with-Polylang-add-title-of-the-translation-View.png 704w, https://contentviewspro.com/documentation/wp-content/uploads/2018/06/CVP-with-Polylang-add-title-of-the-translation-View-300x222.png 300w" sizes="auto, (max-width: 704px) 100vw, 704px" /></li>
<li>Then click the button:<br />
<strong>[Content Views] Filter Posts Now</strong></p>
<p><img loading="lazy" decoding="async" src="https://contentviewspro.com/documentation/wp-content/uploads/2018/06/CVP-with-Polylang-edit-the-translation-View.png" alt="CVP with Polylang - edit the translation View" width="860" height="141" class="alignnone size-full wp-image-3151" srcset="https://contentviewspro.com/documentation/wp-content/uploads/2018/06/CVP-with-Polylang-edit-the-translation-View.png 860w, https://contentviewspro.com/documentation/wp-content/uploads/2018/06/CVP-with-Polylang-edit-the-translation-View-300x49.png 300w, https://contentviewspro.com/documentation/wp-content/uploads/2018/06/CVP-with-Polylang-edit-the-translation-View-768x126.png 768w" sizes="auto, (max-width: 860px) 100vw, 860px" /></li>
<p>(after version 5.8.1, the button text is: <strong>Required next step: click here to save the view</strong>)</p>
<blockquote style="border:5px solid #FF5722;margin:30px 0"><p>Notice: This step and below step are required. If not, the translation View won&#8217;t be created successfully.</p></blockquote>
<li>It will navigate to the View settings page, change settings to filter content in new language, then click the <strong>Save</strong> button:<br />
<img loading="lazy" decoding="async" src="https://contentviewspro.com/documentation/wp-content/uploads/2018/06/CVP-with-Polylang-filter-content-of-new-language.png" alt="CVP with Polylang - filter content of new language" width="1053" height="409" class="alignnone size-full wp-image-3152" srcset="https://contentviewspro.com/documentation/wp-content/uploads/2018/06/CVP-with-Polylang-filter-content-of-new-language.png 1053w, https://contentviewspro.com/documentation/wp-content/uploads/2018/06/CVP-with-Polylang-filter-content-of-new-language-300x117.png 300w, https://contentviewspro.com/documentation/wp-content/uploads/2018/06/CVP-with-Polylang-filter-content-of-new-language-1024x398.png 1024w, https://contentviewspro.com/documentation/wp-content/uploads/2018/06/CVP-with-Polylang-filter-content-of-new-language-768x298.png 768w" sizes="auto, (max-width: 1053px) 100vw, 1053px" /></li>
</ul>
<p>Best regards,</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Use a third-party lightbox</title>
		<link>https://contentviewspro.com/documentation/article/use-third-party-lightbox/</link>
		
		<dc:creator><![CDATA[CVP]]></dc:creator>
		<pubDate>Thu, 28 Dec 2017 05:15:48 +0000</pubDate>
				<guid isPermaLink="false">https://docs.contentviewspro.com/?p=2695</guid>

					<description><![CDATA[Content Views Pro helps you to show posts in a lightbox on clicking the post thumbnail easily (click to see sample). If you want to use a third-party lightbox, please: install a lightbox plugin you want disable the lightbox in the View (not select the lightbox option in Display Settings &#62;&#62; Others &#62;&#62; Open Item &#8230;<p class="read-more"> <a class="" href="https://contentviewspro.com/documentation/article/use-third-party-lightbox/"> <span class="screen-reader-text">Use a third-party lightbox</span> Read More &#187;</a></p>]]></description>
										<content:encoded><![CDATA[<p>Content Views Pro helps you to show posts in a lightbox on clicking the post thumbnail easily (<a href="https://contentviewspro.com/demo/open-link-options/" target="_blank" rel="noopener noreferrer">click to see sample</a>).</p>
<p>If you want to use a third-party lightbox, please:</p>
<ul>
<li>install a lightbox plugin you want</li>
<li>disable the lightbox in the View (not select the lightbox option in Display Settings &gt;&gt; Others &gt;&gt; Open Item In)</li>
</ul>
<p>Some lightbox plugins will work with images in our grid/list automatically.</p>
<p>Some other lightbox plugins need manual configuration. The most popular configuration is adding HTML attribute to images. If so, please add this code to file <strong>functions.php</strong> in the theme&#8217;s folder:</p>
<pre style="font-size: 13px;">// Content Views Pro - Use third party lightbox
add_filter( 'pt_cv_field_href_attrs', 'cvp_theme_use_another_lightbox', 100, 3 );
function cvp_theme_use_another_lightbox( $custom_attr, $open_in, $oargs = array() ) {

	/** For example:
	  $custom_attr[] = 'rel="lightbox"';
	  $custom_attr[] = 'data-rel="iLightbox[gallery-1]"';
	 */

	$custom_attr[] = 'LIGHTBOX_HTML_ATTRIBUTE_HERE';

	return $custom_attr;
}
</pre>
<p>The <code>LIGHTBOX_HTML_ATTRIBUTE_HERE</code> depends on the third-party lightbox you use.</p>
<p>Best regards,</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
