Post Grid - Version 2.0.28

Version Description

  • 18/08/2018 fix - pagination issue fixed.
Download this release

Release Info

Developer pickplugins
Plugin Icon 128x128 Post Grid
Version 2.0.28
Comparing to
See all releases

Code changes from version 2.0.27 to 2.0.28

Files changed (3) hide show
  1. grid-items/nav-bottom-new.php +5 -1
  2. post-grid.php +2 -2
  3. readme.txt +4 -1
grid-items/nav-bottom-new.php CHANGED
@@ -40,6 +40,7 @@ if($grid_type=='grid'){
40
  $html.= '<div class="paginate">';
41
 
42
  $big = 999999999; // need an unlikely integer
 
43
 
44
  $html.= paginate_links( array(
45
  'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ),
@@ -127,7 +128,10 @@ if($grid_type=='grid'){
127
  }
128
 
129
  elseif($pagination_type=='loadmore'){
130
-
 
 
 
131
  if(!empty($paged))
132
  {
133
  $paged = $paged+1;
40
  $html.= '<div class="paginate">';
41
 
42
  $big = 999999999; // need an unlikely integer
43
+ global $paged;
44
 
45
  $html.= paginate_links( array(
46
  'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ),
128
  }
129
 
130
  elseif($pagination_type=='loadmore'){
131
+
132
+ global $paged;
133
+
134
+
135
  if(!empty($paged))
136
  {
137
  $paged = $paged+1;
post-grid.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Post Grid
4
  Plugin URI: https://www.pickplugins.com/item/post-grid-create-awesome-grid-from-any-post-type-for-wordpress/?ref=dashboard
5
  Description: Awesome post grid for query post from any post type and display on grid.
6
- Version: 2.0.27
7
  WC requires at least: 3.0.0
8
  WC tested up to: 3.3
9
  Author: PickPlugins
@@ -30,7 +30,7 @@ class PostGrid{
30
  define('post_grid_conatct_url', 'https://pickplugins.com/contact/' );
31
  define('post_grid_qa_url', 'https://www.pickplugins.com/questions/' );
32
  define('post_grid_plugin_name', 'Post Grid' );
33
- define('post_grid_version', '2.0.27' );
34
  define('post_grid_customer_type', 'free' );
35
  define('post_grid_share_url', 'https://wordpress.org/plugins/post-grid/' );
36
 
3
  Plugin Name: Post Grid
4
  Plugin URI: https://www.pickplugins.com/item/post-grid-create-awesome-grid-from-any-post-type-for-wordpress/?ref=dashboard
5
  Description: Awesome post grid for query post from any post type and display on grid.
6
+ Version: 2.0.28
7
  WC requires at least: 3.0.0
8
  WC tested up to: 3.3
9
  Author: PickPlugins
30
  define('post_grid_conatct_url', 'https://pickplugins.com/contact/' );
31
  define('post_grid_qa_url', 'https://www.pickplugins.com/questions/' );
32
  define('post_grid_plugin_name', 'Post Grid' );
33
+ define('post_grid_version', '2.0.28' );
34
  define('post_grid_customer_type', 'free' );
35
  define('post_grid_share_url', 'https://wordpress.org/plugins/post-grid/' );
36
 
readme.txt CHANGED
@@ -4,7 +4,7 @@
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.9
7
- Stable tag: 2.0.27
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -105,6 +105,9 @@ then paste this shortcode anywhere in your page to display grid<br />
105
  == Changelog ==
106
 
107
 
 
 
 
108
  = 2.0.27 =
109
  * 24/05/2018 fix - Grid items responsive height issue fixed, set auto height for mobile and tablets
110
  * 24/05/2018 fix - Grid items media responsive height issue fixed, set auto height for mobile and tablets
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.9
7
+ Stable tag: 2.0.28
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
105
  == Changelog ==
106
 
107
 
108
+ = 2.0.28 =
109
+ * 18/08/2018 fix - pagination issue fixed.
110
+
111
  = 2.0.27 =
112
  * 24/05/2018 fix - Grid items responsive height issue fixed, set auto height for mobile and tablets
113
  * 24/05/2018 fix - Grid items media responsive height issue fixed, set auto height for mobile and tablets