Post Grid - Version 1.5

Version Description

  • 13/05/2015 fix- flter content.
    • 13/05/2015 fix- social icons hover.
Download this release

Release Info

Developer paratheme
Plugin Icon 128x128 Post Grid
Version 1.5
Comparing to
See all releases

Code changes from version 1.4 to 1.5

css/style.css CHANGED
@@ -193,15 +193,7 @@
193
 
194
 
195
 
196
- .post-grid-container .grid-single:hover .social-icon {
197
- margin: 0 auto;
198
- padding: 0;
199
- position: absolute;
200
- text-align: center;
201
- top: 100px;
202
- width: 100%;
203
- z-index: 2147483647;
204
- }
205
 
206
 
207
 
193
 
194
 
195
 
196
+
 
 
 
 
 
 
 
 
197
 
198
 
199
 
post-grid.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Post Grid
4
  Plugin URI: http://paratheme.com
5
  Description: Awesome post grid for query post from any post-type and display on grid.
6
- Version: 1.4
7
  Author: paratheme
8
  Author URI: http://paratheme.com
9
  License: GPLv2 or later
@@ -97,7 +97,7 @@ register_activation_hook(__FILE__, 'post_grid_activation');
97
 
98
  function post_grid_activation()
99
  {
100
- $post_grid_version= "1.4";
101
  update_option('post_grid_version', $post_grid_version); //update plugin version.
102
 
103
  $post_grid_customer_type= "free"; //customer_type "free"
3
  Plugin Name: Post Grid
4
  Plugin URI: http://paratheme.com
5
  Description: Awesome post grid for query post from any post-type and display on grid.
6
+ Version: 1.5
7
  Author: paratheme
8
  Author URI: http://paratheme.com
9
  License: GPLv2 or later
97
 
98
  function post_grid_activation()
99
  {
100
+ $post_grid_version= "1.5";
101
  update_option('post_grid_version', $post_grid_version); //update plugin version.
102
 
103
  $post_grid_customer_type= "free"; //customer_type "free"
readme.txt CHANGED
@@ -3,8 +3,8 @@
3
  Donate link: http://paratheme.com
4
  Tags: post grid, grid, custom post grid, post type grid, grid display, category filter, custom post, filter, filtering, grid, layout, list, masonry, post, post filter, post layout, taxonomy, taxonomy filter,
5
  Requires at least: 3.8
6
- Tested up to: 4.2.1
7
- Stable tag: 1.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -84,6 +84,9 @@ then paste this shortcode anywhere in your page to display grid<br />
84
 
85
  == Changelog ==
86
 
 
 
 
87
 
88
  = 1.4 =
89
  * 05/03/2015 add- Post link to title.
3
  Donate link: http://paratheme.com
4
  Tags: post grid, grid, custom post grid, post type grid, grid display, category filter, custom post, filter, filtering, grid, layout, list, masonry, post, post filter, post layout, taxonomy, taxonomy filter,
5
  Requires at least: 3.8
6
+ Tested up to: 4.2.2
7
+ Stable tag: 1.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
84
 
85
  == Changelog ==
86
 
87
+ = 1.5 =
88
+ * 13/05/2015 fix- flter content.
89
+ * 13/05/2015 fix- social icons hover.
90
 
91
  = 1.4 =
92
  * 05/03/2015 add- Post link to title.
themes/flat/index.php CHANGED
@@ -187,6 +187,7 @@ function post_grid_themes_flat($post_id)
187
  if(!empty($post_grid_items_display[$key]))
188
  {
189
  $content = get_the_content();
 
190
  $content = wp_trim_words( $content , $post_grid_excerpt_count, ' <a class="read-more" href="'.get_the_permalink().'">'.$post_grid_read_more_text.'</a>' );
191
 
192
  if(!empty($post_grid_wrapper[$key]['start']))
187
  if(!empty($post_grid_items_display[$key]))
188
  {
189
  $content = get_the_content();
190
+ $content = apply_filters('the_content', $content);
191
  $content = wp_trim_words( $content , $post_grid_excerpt_count, ' <a class="read-more" href="'.get_the_permalink().'">'.$post_grid_read_more_text.'</a>' );
192
 
193
  if(!empty($post_grid_wrapper[$key]['start']))
themes/rounded/index.php CHANGED
@@ -185,6 +185,7 @@ function post_grid_themes_rounded($post_id)
185
  if(!empty($post_grid_items_display[$key]))
186
  {
187
  $content = get_the_content();
 
188
  $content = wp_trim_words( $content , $post_grid_excerpt_count, ' <a class="read-more" href="'.get_the_permalink().'">'.$post_grid_read_more_text.'</a>' );
189
 
190
  if(!empty($post_grid_wrapper[$key]['start']))
185
  if(!empty($post_grid_items_display[$key]))
186
  {
187
  $content = get_the_content();
188
+ $content = apply_filters('the_content', $content);
189
  $content = wp_trim_words( $content , $post_grid_excerpt_count, ' <a class="read-more" href="'.get_the_permalink().'">'.$post_grid_read_more_text.'</a>' );
190
 
191
  if(!empty($post_grid_wrapper[$key]['start']))