Version Description
- Update filter priority
- Update plugin description
Download this release
Release Info
Developer | PT Guy |
Plugin | Content Views – Post Grid & List for WordPress |
Version | 1.3.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.3.0 to 1.3.0.1
- README.txt +9 -2
- admin/content-views-admin.php +0 -1
- admin/views/view.php +2 -0
- content-views.php +4 -4
- includes/functions.php +20 -2
README.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: post, posts, page, pages, query, queries, search, display, show, shortcode, thumbnail, title, content, excerpt, meta, date, author, term, taxonomy, pagination, grid, scrollable, slider, collapsible, list, slide, layout, ui
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.9.1
|
7 |
-
Stable tag: 1.3.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -30,7 +30,7 @@ But now, with Content Views plugin, you can do above things in minutes, without
|
|
30 |
|
31 |
[Content Views plugin](http://www.contentviewspro.com/?utm_source=wordpress&utm_medium=post&utm_campaign=content-views "Get Content Views Pro") provides an intuitive form to query posts and display posts in **responsive** layouts (grid layout, scrollable list/slider, accordion/collapsible list) quickly & easily, in very 3 simple steps:
|
32 |
|
33 |
-
* Step 1 : Choose filters (author, category
|
34 |
* Step 2 : Customize display options to display posts in a responsive layout
|
35 |
* Step 3 : Save View. You will see a shortcode **[pt_view id="UNIQUE_ID"]** at top of page, paste it to editor of a page or to a Text widget where you want to display your posts. If you are a developer, you can **`<?php echo do_shortcode('[pt_view id="UNIQUE_ID"]'); ?>`** in your WordPress theme.
|
36 |
|
@@ -144,6 +144,10 @@ You can create Unlimited Views, in Unlimited websites
|
|
144 |
|
145 |
== Changelog ==
|
146 |
|
|
|
|
|
|
|
|
|
147 |
= 1.3.0 =
|
148 |
* Bug fixed: Pagination returns Empty settings
|
149 |
* Improvement: UI improvement (Add icon to tabs. Show shortcode in text field for easier selecting. )
|
@@ -225,6 +229,9 @@ You can create Unlimited Views, in Unlimited websites
|
|
225 |
|
226 |
== Upgrade Notice ==
|
227 |
|
|
|
|
|
|
|
228 |
= 1.3.0 =
|
229 |
Bug fixed: Pagination returns Empty settings. Improvement: UI improvement (Add icon to tabs. Show shortcode in text field for easier selecting. ). Improvement: Assets loading improvement
|
230 |
|
4 |
Tags: post, posts, page, pages, query, queries, search, display, show, shortcode, thumbnail, title, content, excerpt, meta, date, author, term, taxonomy, pagination, grid, scrollable, slider, collapsible, list, slide, layout, ui
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.9.1
|
7 |
+
Stable tag: 1.3.0.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
30 |
|
31 |
[Content Views plugin](http://www.contentviewspro.com/?utm_source=wordpress&utm_medium=post&utm_campaign=content-views "Get Content Views Pro") provides an intuitive form to query posts and display posts in **responsive** layouts (grid layout, scrollable list/slider, accordion/collapsible list) quickly & easily, in very 3 simple steps:
|
32 |
|
33 |
+
* Step 1 : Choose filters (author, category, tag, order...) to query your posts
|
34 |
* Step 2 : Customize display options to display posts in a responsive layout
|
35 |
* Step 3 : Save View. You will see a shortcode **[pt_view id="UNIQUE_ID"]** at top of page, paste it to editor of a page or to a Text widget where you want to display your posts. If you are a developer, you can **`<?php echo do_shortcode('[pt_view id="UNIQUE_ID"]'); ?>`** in your WordPress theme.
|
36 |
|
144 |
|
145 |
== Changelog ==
|
146 |
|
147 |
+
= 1.3.0.1 =
|
148 |
+
* Update filter priority
|
149 |
+
* Update plugin description
|
150 |
+
|
151 |
= 1.3.0 =
|
152 |
* Bug fixed: Pagination returns Empty settings
|
153 |
* Improvement: UI improvement (Add icon to tabs. Show shortcode in text field for easier selecting. )
|
229 |
|
230 |
== Upgrade Notice ==
|
231 |
|
232 |
+
= 1.3.0.1 =
|
233 |
+
Update filter priority. Update plugin description
|
234 |
+
|
235 |
= 1.3.0 =
|
236 |
Bug fixed: Pagination returns Empty settings. Improvement: UI improvement (Add icon to tabs. Show shortcode in text field for easier selecting. ). Improvement: Assets loading improvement
|
237 |
|
admin/content-views-admin.php
CHANGED
@@ -278,7 +278,6 @@ class PT_Content_Views_Admin {
|
|
278 |
* @since 1.0.0
|
279 |
*/
|
280 |
public function add_plugin_admin_menu() {
|
281 |
-
|
282 |
/*
|
283 |
* Add a settings page for this plugin to the Settings menu.
|
284 |
*/
|
278 |
* @since 1.0.0
|
279 |
*/
|
280 |
public function add_plugin_admin_menu() {
|
|
|
281 |
/*
|
282 |
* Add a settings page for this plugin to the Settings menu.
|
283 |
*/
|
admin/views/view.php
CHANGED
@@ -47,6 +47,8 @@ if ( $id ) {
|
|
47 |
}
|
48 |
?>
|
49 |
|
|
|
|
|
50 |
<div class="preview-wrapper">
|
51 |
<?php
|
52 |
// Preview
|
47 |
}
|
48 |
?>
|
49 |
|
50 |
+
<?php PT_CV_Functions::util_show_promo_view(); ?>
|
51 |
+
|
52 |
<div class="preview-wrapper">
|
53 |
<?php
|
54 |
// Preview
|
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: 1.3.0
|
14 |
* Author: Palace Of Themes
|
15 |
* Author URI: http://profiles.wordpress.org/pt-guy
|
16 |
* Text Domain: content-views
|
@@ -27,7 +27,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
27 |
/*
|
28 |
* Define Constant
|
29 |
*/
|
30 |
-
define( 'PT_CV_VERSION', '1.3.0' );
|
31 |
define( 'PT_CV_FILE', __FILE__ );
|
32 |
include_once( plugin_dir_path( __FILE__ ) . 'includes/defines.php' );
|
33 |
|
@@ -91,7 +91,7 @@ add_action( 'admin_notices', array( 'PT_CV_Functions', 'util_show_promotion' ),
|
|
91 |
add_theme_support( 'post-thumbnails' );
|
92 |
|
93 |
// Enable shortcode in content
|
94 |
-
add_filter( 'the_content', 'do_shortcode',
|
95 |
|
96 |
// Enable shortcodes in text widgets.
|
97 |
-
add_filter( 'widget_text', 'do_shortcode' );
|
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: 1.3.0.1
|
14 |
* Author: Palace Of Themes
|
15 |
* Author URI: http://profiles.wordpress.org/pt-guy
|
16 |
* Text Domain: content-views
|
27 |
/*
|
28 |
* Define Constant
|
29 |
*/
|
30 |
+
define( 'PT_CV_VERSION', '1.3.0.1' );
|
31 |
define( 'PT_CV_FILE', __FILE__ );
|
32 |
include_once( plugin_dir_path( __FILE__ ) . 'includes/defines.php' );
|
33 |
|
91 |
add_theme_support( 'post-thumbnails' );
|
92 |
|
93 |
// Enable shortcode in content
|
94 |
+
add_filter( 'the_content', 'do_shortcode', 15 );
|
95 |
|
96 |
// Enable shortcodes in text widgets.
|
97 |
+
add_filter( 'widget_text', 'do_shortcode', 15 );
|
includes/functions.php
CHANGED
@@ -1135,14 +1135,32 @@ if ( ! class_exists( 'PT_CV_Functions' ) ) {
|
|
1135 |
<div class="update-nag wrap" style="display: block; border-left: 4px solid #7ad03a; background-color: #fef7f1;">
|
1136 |
<h2>30% Off Content Views Pro - YOU SAVE $10 TODAY</h2>
|
1137 |
<h3>Just $19 - Until July 31, 2014</h3>
|
1138 |
-
<a href="http://www.contentviewspro.com/pricing
|
1139 |
</div>
|
1140 |
<?php
|
1141 |
-
set_transient( PT_CV_PREFIX_ . 'promotion_shown', 1,
|
1142 |
}
|
1143 |
}
|
1144 |
}
|
1145 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1146 |
}
|
1147 |
|
1148 |
}
|
1135 |
<div class="update-nag wrap" style="display: block; border-left: 4px solid #7ad03a; background-color: #fef7f1;">
|
1136 |
<h2>30% Off Content Views Pro - YOU SAVE $10 TODAY</h2>
|
1137 |
<h3>Just $19 - Until July 31, 2014</h3>
|
1138 |
+
<a href="http://www.contentviewspro.com/pricing/?utm_source=wordpress&utm_medium=notice" target="_blank" class="button button-primary">Get It Now!</a>
|
1139 |
</div>
|
1140 |
<?php
|
1141 |
+
set_transient( PT_CV_PREFIX_ . 'promotion_shown', 1, 6 * HOUR_IN_SECONDS );
|
1142 |
}
|
1143 |
}
|
1144 |
}
|
1145 |
|
1146 |
+
/**
|
1147 |
+
* Show promotion text in View page
|
1148 |
+
*/
|
1149 |
+
static function util_show_promo_view() {
|
1150 |
+
$pro_installed = get_option( 'pt_cv_version_pro' );
|
1151 |
+
if ( ! $pro_installed ) {
|
1152 |
+
?>
|
1153 |
+
<div class="pull-right">
|
1154 |
+
<h3 style="margin-top: 0;">Pro version is only $19 - Until July 31, 2014.</h3>
|
1155 |
+
<a class="btn btn-success" target="_blank" href="http://www.contentviewspro.com/pricing/?utm_source=client&utm_medium=view">» Get it now</a>
|
1156 |
+
or <a class="btn btn-info" target="_blank" href="http://sample.contentviewspro.com/?utm_source=client&utm_medium=view">Check demo site</a>
|
1157 |
+
</div>
|
1158 |
+
<div class="clear"></div>
|
1159 |
+
<hr>
|
1160 |
+
<?php
|
1161 |
+
}
|
1162 |
+
}
|
1163 |
+
|
1164 |
}
|
1165 |
|
1166 |
}
|