Post Grid - Version 2.0.25

Version Description

  • 15/02/2018 fix - Offset issue fixed.
Download this release

Release Info

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

Code changes from version 2.0.24 to 2.0.25

Files changed (3) hide show
  1. grid-items/query.php +18 -0
  2. post-grid.php +2 -2
  3. readme.txt +3 -1
grid-items/query.php CHANGED
@@ -57,6 +57,24 @@ $tax_query = array_merge($tax_query_relation, $tax_query );
57
58
59
60
61
if(is_search() && $enable_default_keyword=='yes'){
62
57
58
59
60
+ if(!empty($offset)){
61
+
62
+ //echo '<pre>'.var_export($offset, true).'</pre>';
63
+
64
+ $offset = $offset + ( ($paged-1) * $posts_per_page );
65
+ //echo '<pre>'.var_export($offset, true).'</pre>';
66
+
67
+ //$offset = ( $paged - 1 ) * $posts_per_page;
68
+ //echo '<pre>'.var_export($offset, true).'</pre>';
69
+
70
+
71
+
72
+
73
+ }
74
+
75
+
76
+
77
+ /* ################################ search ######################################*/
78
79
if(is_search() && $enable_default_keyword=='yes'){
80
post-grid.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: Post Grid
4
Plugin URI: http://pickplugins.com
5
Description: Awesome post grid for query post from any post type and display on grid.
6
- Version: 2.0.24
7
Author: pickplugins
8
Author URI: http://pickplugins.com
9
Text Domain: post-grid
@@ -28,7 +28,7 @@ class PostGrid{
28
define('post_grid_conatct_url', 'http://pickplugins.com/contact/' );
29
define('post_grid_qa_url', 'http://www.pickplugins.com/questions/' );
30
define('post_grid_plugin_name', 'Post Grid' );
31
- define('post_grid_version', '2.0.24' );
32
define('post_grid_customer_type', 'free' );
33
define('post_grid_share_url', 'https://wordpress.org/plugins/post-grid/' );
34
3
Plugin Name: Post Grid
4
Plugin URI: http://pickplugins.com
5
Description: Awesome post grid for query post from any post type and display on grid.
6
+ Version: 2.0.25
7
Author: pickplugins
8
Author URI: http://pickplugins.com
9
Text Domain: post-grid
28
define('post_grid_conatct_url', 'http://pickplugins.com/contact/' );
29
define('post_grid_qa_url', 'http://www.pickplugins.com/questions/' );
30
define('post_grid_plugin_name', 'Post Grid' );
31
+ define('post_grid_version', '2.0.25' );
32
define('post_grid_customer_type', 'free' );
33
define('post_grid_share_url', 'https://wordpress.org/plugins/post-grid/' );
34
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.24
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
@@ -104,6 +104,8 @@ then paste this shortcode anywhere in your page to display grid<br />
104
== Changelog ==
105
106
107
108
= 2.0.24 =
109
* 12/02/2018 fix - Default search keyword fatching, added an option to disable.
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.25
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
104
== Changelog ==
105
106
107
+ = 2.0.25 =
108
+ * 15/02/2018 fix - Offset issue fixed.
109
110
= 2.0.24 =
111
* 12/02/2018 fix - Default search keyword fatching, added an option to disable.