Version 3.9.8.2

* New
– [One & Others layout] Able to show Taxonomy

* Fix
– [Compatibility with QTranslate X plugin v3.4.6.8] Posts (which language was not set) are not shown when selecting specific language

* Update
– Use ‘inherit’ (instead of ‘any’) status when filtering Media (attachment)
– Apply custom style settings of Content to all elements (except Read more button) under content wrapper
– Set line height as 1.3 multiples of element’s custom font size

Content Views Pro is officially WPML compatible!

Dear all customers and friends,
Content Views Pro has supported WPML (the WordPress multilingual plugin) from initial versions. But we didn’t work with WPML team officially yet. Until recently, we had time & chance to work with friends at WPML.

Today we are pleased to announce that we’ve received the official certificate of WPML compatibility for Content Views Pro. This certifies that our plugin as officially WPML compatible and it is multilingual-ready.


content-views-pro

Thank all friends at WPML team for setting up the environment, testing Content Views Pro to confirm it as WPML compatible. Especially, we want to say big thank to all customers, you are the only reason to encourage us to archive this.

Best regards,

Version 3.9.8

* New
– Hover Animation, Scrollable list: Able to show mask/caption directly on Mobile devices & small screens (<=480px)
– Able to show navigation in Lightbox of thumbnail

* Update
– Cache social share count of posts in 2 hours to prevent prohibition of access these APIs
– Apply forced mask, post border for Grid layout only
– Add explicit option for using current page as current/base page
– Remove setting “Show only glossary index” of Glossary layout

* Fix
– Reusing View with limit, offset parameters does not work with pagination

Version 3.9.7.1

* Fix: No media found when querying media without specifying status
* Improvement: Smoother initiation of Shuffle Filter layout in hidden area (tab, toggle) when it becomes visible

Version 3.9.7

* Fix: Conflict with Elementor pagebuilder plugin
* Improvement: [Line up fields across items] faster, better
* Improvement: [Custom Fields] Support more date formats when customizing date output
* Update: Restructure Content Views Settings page

Version 3.9.6

* New: [Shuffle Filter] Able to set operator cross taxonomies, hide filter bar of any taxonomy
* New: [For Woocommerce] One-Click to display “Out of stock products”
* New: Able to show custom field when display taxonomy as output
* New: Able to set manual positions for Advertisements
* Update: Show tab “Advertisement” by default. Add option to display ads when replacing theme layout

How to display WordPress posts in Grid layout: The Easiest Way

You can create as many posts as you want on your WordPress site. And these posts will be shown on the Blog page, categories pages, archives pages and search page.
Do you want to display WordPress posts in a beautiful grid layout to engage your site visitors?
This article will introduce you the easiest way to display grid of WordPress posts in any theme without coding & hassle.

Grid posts for WordPress
Posts grid for WordPress

Continue reading “How to display WordPress posts in Grid layout: The Easiest Way”

How to display most popular WordPress posts with Content Views Pro?

A popular post has many number of views (visits). As a website owner, you might want to display the most popular WordPress posts in a beautiful layout.
WordPress doesn’t have a built-in feature to count the number of views of each post. There are some WordPress plugins were created to implement this feature, one of them is WP-PostViews.

Here are some easy steps to show your most popular WordPress posts in a beautiful layout, with Content Views Pro:

  • Install & activate the WP-PostViews plugin (*)
  • Open your homepage (or any another post or page) to start counting
  • In Admin area, click Content Views > Add New to start showing the most popular posts.
  • Select the Sort by option in the Filter Settings tab, Advance section of the View
  • In the “Sort by” group, click Add New button, then select options as below image:
     
    CVP - show most popular posts

Notice:

  • This feature is very limited. It is NOT able to show most popular posts by time frame (today, last week, last month, etc.)
  • At the beginning, the View will return no posts found. Because of there are no posts have the views custom field. When someone visits your posts, the views custom field will be created and updated, and you will start seeing the popular posts.
  • (*) In case you want to make it work without an extra plugin, please add this code to file functions.php in the theme’s folder (or install this plugin Code Snippets then add this code to the “Code” textarea):
    /** Enqueue script to count views, support cache plugin */
    add_action( 'wp_enqueue_scripts', 'cv_theme_count_pviews_js', PHP_INT_MAX );
    function cv_theme_count_pviews_js() {
    	if ( !is_singular() ) {
    		return;
    	}
    
    	if ( !wp_script_is( 'jquery', 'done' ) ) {
    		wp_enqueue_script( 'jquery' );
    	}
    
    	// Must use "jquery-migrate"
    	wp_add_inline_script( 'jquery-migrate', 'jQuery(document).ready(function(){	jQuery.ajax({type:"GET",url:"' . admin_url( 'admin-ajax.php' ) . '",data:"post_id=' . $GLOBALS[ 'post' ]->ID . '&action=cv_count_pviews",cache:0});});' );
    }
    
    /** Count views */
    add_action( 'wp_ajax_cv_count_pviews', 'cv_theme_count_pviews_php' );
    add_action( 'wp_ajax_nopriv_cv_count_pviews', 'cv_theme_count_pviews_php' );
    function cv_theme_count_pviews_php() {
    	if ( !isset( $_GET[ 'post_id' ] ) )
    		return;
    
    	$post_id = intval( $_GET[ 'post_id' ] );
    	if ( $post_id > 0 ) {
    		update_post_meta( $post_id, 'views', (int) get_post_meta( $post_id, 'views', true ) + 1 );
    		exit();
    	}
    }
    

Best regards,

Version 3.9.5.2

* Fix: Facebook share count returns 0 (due to the recent changes in Facebook Graph API)
* Fix: Notice undefined index in file wp-updates-plugin.php
* Improvement: Cleanup some CSS code

Version 3.9.5

* New: Cool Grid layout with mask of fields & without space between posts (sample)
* New: Able to add border between posts for Grid layout
* New: Add option to exclude content of any HTML tags in excerpt
* New: Add option “Do not show default image”
* New: [Hover animation] Make it clickable on hover
* Update: Drop View count sorting option (more detail)
* Update: Add License Details link to Content Views Settings page
* Improvement: More friendly padding, margin settings
* Improvement: More friendly settings for Scrollable list