Content Views – Post Grid & List for WordPress - Version 1.1.6

Version Description

  • Fix bug auto selected terms which its value is number in Taxonomy settings box
Download this release

Release Info

Developer PT Guy
Plugin Icon 128x128 Content Views – Post Grid & List for WordPress
Version 1.1.6
Comparing to
See all releases

Code changes from version 1.1.5 to 1.1.6

README.txt CHANGED
@@ -1,10 +1,10 @@
1
- === Query posts and display posts without coding - Content Views ===
2
  Contributors: pt-guy
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=JGUF974QBRKQE
4
  Tags: post, posts, page, pages, query, queries, search, display, show, shortcode, thumbnail, title, content, excerpt, meta, date, author, term, taxonomy, pagination, grid, scrollable, collapsible, list, slide, layout, ui
5
  Requires at least: 3.3
6
  Tested up to: 3.9.1
7
- Stable tag: 1.1.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -14,7 +14,8 @@ Query and display <strong>posts</strong> in awesome layouts (<strong>grid, scrol
14
 
15
  Have you ever wanted to:
16
 
17
- * display recent posts in grid 3x3
 
18
  * display posts in descending order of Title
19
  * replace boring Next, Prev button of WordPress theme by a beautiful pagination
20
  * display thumbnail in different size than 150x150 or 300x300
@@ -145,6 +146,9 @@ You can create Unlimited Views, in Unlimited websites
145
 
146
  == Changelog ==
147
 
 
 
 
148
  = 1.1.5 =
149
  * Fix pagination bug (return 0)
150
 
@@ -186,6 +190,9 @@ You can create Unlimited Views, in Unlimited websites
186
 
187
  == Upgrade Notice ==
188
 
 
 
 
189
  = 1.1.5 =
190
  Fix pagination bug (return 0)
191
 
1
+ === Query posts and display posts in responsive grid layout without coding - Content Views ===
2
  Contributors: pt-guy
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=JGUF974QBRKQE
4
  Tags: post, posts, page, pages, query, queries, search, display, show, shortcode, thumbnail, title, content, excerpt, meta, date, author, term, taxonomy, pagination, grid, scrollable, collapsible, list, slide, layout, ui
5
  Requires at least: 3.3
6
  Tested up to: 3.9.1
7
+ Stable tag: 1.1.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
14
 
15
  Have you ever wanted to:
16
 
17
+ * display multiple posts in page
18
+ * display posts in responsive grid layout
19
  * display posts in descending order of Title
20
  * replace boring Next, Prev button of WordPress theme by a beautiful pagination
21
  * display thumbnail in different size than 150x150 or 300x300
146
 
147
  == Changelog ==
148
 
149
+ = 1.1.6 =
150
+ * Fix bug auto selected terms which its value is number in Taxonomy settings box
151
+
152
  = 1.1.5 =
153
  * Fix pagination bug (return 0)
154
 
190
 
191
  == Upgrade Notice ==
192
 
193
+ = 1.1.6 =
194
+ Fix bug auto selected terms which its value is number in Taxonomy settings box
195
+
196
  = 1.1.5 =
197
  Fix pagination bug (return 0)
198
 
admin/includes/templates/settings-section-two.php CHANGED
@@ -117,5 +117,5 @@
117
  <hr>
118
 
119
  <p>I hope you enjoy with Content Views!</p>
120
- <p>Plugin developed by PT Guy (palaceofthemes@gmail.com)</p>
121
  <p>Copyright &COPY; 2014</p>
117
  <hr>
118
 
119
  <p>I hope you enjoy with Content Views!</p>
120
+ <p>Plugin developed by PT Guy (support@contentviewspro.com)</p>
121
  <p>Copyright &COPY; 2014</p>
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.1.5
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.1.5' );
31
  define( 'PT_CV_FILE', __FILE__ );
32
  include_once( plugin_dir_path( __FILE__ ) . 'includes/defines.php' );
33
 
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.1.6
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.1.6' );
31
  define( 'PT_CV_FILE', __FILE__ );
32
  include_once( plugin_dir_path( __FILE__ ) . 'includes/defines.php' );
33
 
includes/values.php CHANGED
@@ -126,14 +126,12 @@ if ( ! class_exists( 'PT_CV_Values' ) ) {
126
 
127
  $args = array_merge( array( 'hide_empty' => false ), $args );
128
  $terms = get_terms( array( $taxonomy ), $args );
129
- if ( ! isset( $terms_of_taxonomies[$taxonomy] ) ) {
130
- $terms_of_taxonomies[$taxonomy] = array();
131
- }
132
  $term_slug_name = array();
133
  foreach ( $terms as $term ) {
134
  $term_slug_name[$term->slug] = $term->name;
135
  }
136
- $terms_of_taxonomies[$taxonomy] = array_merge( $terms_of_taxonomies[$taxonomy], $term_slug_name );
137
  }
138
 
139
  /**
126
 
127
  $args = array_merge( array( 'hide_empty' => false ), $args );
128
  $terms = get_terms( array( $taxonomy ), $args );
129
+
 
 
130
  $term_slug_name = array();
131
  foreach ( $terms as $term ) {
132
  $term_slug_name[$term->slug] = $term->name;
133
  }
134
+ $terms_of_taxonomies[$taxonomy] = $term_slug_name;
135
  }
136
 
137
  /**