Version Description
- 2018/09/22 =
- Fix: No line-break in Text widget caused by a change in version 2.1
Download this release
Release Info
Developer | PT Guy |
Plugin | Content Views – Post Grid & List for WordPress |
Version | 2.1.1 |
Comparing to | |
See all releases |
Code changes from version 2.1 to 2.1.1
- README.txt +4 -1
- content-views.php +2 -2
- includes/compatibility.php +0 -11
README.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.contentviewspro.com/?utm_source=wporg&utm_medium=link&u
|
|
4 |
Tags: post grid, grid plugin, grid, latest post, display post, post, page, category, responsive, list, thumbnail
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 4.9.8
|
7 |
-
Stable tag: 2.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -163,6 +163,9 @@ If you are using "Your latest posts" as home page, you should paste this code `<
|
|
163 |
|
164 |
== Changelog ==
|
165 |
|
|
|
|
|
|
|
166 |
= 2.1 - 2018/09/21 =
|
167 |
* Update: SEO friendly URL for non-Ajax pagination (change from /?_page=N to /pages/N)
|
168 |
* Update: Prevent private taxonomies from being shown in meta fields
|
4 |
Tags: post grid, grid plugin, grid, latest post, display post, post, page, category, responsive, list, thumbnail
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 4.9.8
|
7 |
+
Stable tag: 2.1.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
163 |
|
164 |
== Changelog ==
|
165 |
|
166 |
+
= 2.1.1 - 2018/09/22 =
|
167 |
+
* Fix: No line-break in Text widget caused by a change in version 2.1
|
168 |
+
|
169 |
= 2.1 - 2018/09/21 =
|
170 |
* Update: SEO friendly URL for non-Ajax pagination (change from /?_page=N to /pages/N)
|
171 |
* Update: Prevent private taxonomies from being shown in meta fields
|
content-views.php
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
* Plugin Name: Content Views
|
11 |
* Plugin URI: http://wordpress.org/plugins/content-views-query-and-display-post-page/
|
12 |
* Description: Query and display <strong>posts, pages</strong> in awesome layouts (<strong>grid, scrollable list, collapsible list</strong>) easier than ever, without coding!
|
13 |
-
* Version: 2.1
|
14 |
* Author: CVSOFT LLC
|
15 |
* Author URI: http://profiles.wordpress.org/pt-guy
|
16 |
* Text Domain: content-views-query-and-display-post-page
|
@@ -25,7 +25,7 @@ if ( !defined( 'ABSPATH' ) ) {
|
|
25 |
}
|
26 |
|
27 |
// Define Constant
|
28 |
-
define( 'PT_CV_VERSION', '2.1' );
|
29 |
define( 'PT_CV_FILE', __FILE__ );
|
30 |
define( 'PT_CV_PATH', plugin_dir_path( __FILE__ ) );
|
31 |
include_once( PT_CV_PATH . 'includes/defines.php' );
|
10 |
* Plugin Name: Content Views
|
11 |
* Plugin URI: http://wordpress.org/plugins/content-views-query-and-display-post-page/
|
12 |
* Description: Query and display <strong>posts, pages</strong> in awesome layouts (<strong>grid, scrollable list, collapsible list</strong>) easier than ever, without coding!
|
13 |
+
* Version: 2.1.1
|
14 |
* Author: CVSOFT LLC
|
15 |
* Author URI: http://profiles.wordpress.org/pt-guy
|
16 |
* Text Domain: content-views-query-and-display-post-page
|
25 |
}
|
26 |
|
27 |
// Define Constant
|
28 |
+
define( 'PT_CV_VERSION', '2.1.1' );
|
29 |
define( 'PT_CV_FILE', __FILE__ );
|
30 |
define( 'PT_CV_PATH', plugin_dir_path( __FILE__ ) );
|
31 |
include_once( PT_CV_PATH . 'includes/defines.php' );
|
includes/compatibility.php
CHANGED
@@ -379,17 +379,6 @@ function cv_pretty_nonajax_pagination() {
|
|
379 |
}
|
380 |
}
|
381 |
|
382 |
-
/** Prevent WordPress from adding p tag to text widget which shows Content Views
|
383 |
-
* @since 2.1
|
384 |
-
*/
|
385 |
-
add_filter( 'widget_text', 'cv_comp_prevent_wp_p_tag' );
|
386 |
-
function cv_comp_prevent_wp_p_tag( $text ) {
|
387 |
-
if ( has_shortcode( $text, PT_CV_POST_TYPE ) ) {
|
388 |
-
remove_filter( 'widget_text_content', 'wpautop' );
|
389 |
-
}
|
390 |
-
return $text;
|
391 |
-
}
|
392 |
-
|
393 |
/** Prevent (no title) issue caused by other plugins */
|
394 |
add_action( PT_CV_PREFIX_ . 'view_process_start', 'cv_comp_prevent_no_title' );
|
395 |
function cv_comp_prevent_no_title() {
|
379 |
}
|
380 |
}
|
381 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
382 |
/** Prevent (no title) issue caused by other plugins */
|
383 |
add_action( PT_CV_PREFIX_ . 'view_process_start', 'cv_comp_prevent_no_title' );
|
384 |
function cv_comp_prevent_no_title() {
|