Version Description
- 2021-02-19 remove - remove old layout editor
Download this release
Release Info
Developer | pickplugins |
Plugin | Post Grid |
Version | 2.1.0 |
Comparing to | |
See all releases |
Code changes from version 2.0.76 to 2.1.0
- includes/classes/class-meta-boxes.php +8 -8
- includes/classes/class-settings.php +1 -1
- post-grid.php +2 -2
- readme.txt +4 -1
includes/classes/class-meta-boxes.php
CHANGED
@@ -235,16 +235,16 @@ class post_grid_meta_boxs{
|
|
235 |
'active' => ($current_tab == 'query_post') ? true : false,
|
236 |
);
|
237 |
|
238 |
-
$settings_tabs[] = array(
|
239 |
-
'id' => 'skin_layout',
|
240 |
-
'title' => sprintf(__('%s Skin & Layout (Old)','post-grid'), '<i class="fas fa-magic"></i>'),
|
241 |
-
'priority' => 20,
|
242 |
-
'active' => ($current_tab == 'skin_layout') ? true : false,
|
243 |
-
);
|
244 |
|
245 |
$settings_tabs[] = array(
|
246 |
'id' => 'layouts',
|
247 |
-
'title' => sprintf(__('%s Layouts
|
248 |
'priority' => 30,
|
249 |
'active' => ($current_tab == 'layouts') ? true : false,
|
250 |
);
|
@@ -256,7 +256,7 @@ class post_grid_meta_boxs{
|
|
256 |
'title' => sprintf(__('%s Grid settings','post-grid'), '<i class="fas fa-th"></i>'),
|
257 |
'priority' => 35,
|
258 |
'active' => ($current_tab == 'grid_settings') ? true : false,
|
259 |
-
'data_visible' => 'grid',
|
260 |
'hidden' => ($grid_type == 'grid')? false : true ,
|
261 |
);
|
262 |
|
235 |
'active' => ($current_tab == 'query_post') ? true : false,
|
236 |
);
|
237 |
|
238 |
+
// $settings_tabs[] = array(
|
239 |
+
// 'id' => 'skin_layout',
|
240 |
+
// 'title' => sprintf(__('%s Skin & Layout (Old)','post-grid'), '<i class="fas fa-magic"></i>'),
|
241 |
+
// 'priority' => 20,
|
242 |
+
// 'active' => ($current_tab == 'skin_layout') ? true : false,
|
243 |
+
// );
|
244 |
|
245 |
$settings_tabs[] = array(
|
246 |
'id' => 'layouts',
|
247 |
+
'title' => sprintf(__('%s Layouts','post-grid'),'<i class="fas fa-qrcode"></i>'),
|
248 |
'priority' => 30,
|
249 |
'active' => ($current_tab == 'layouts') ? true : false,
|
250 |
);
|
256 |
'title' => sprintf(__('%s Grid settings','post-grid'), '<i class="fas fa-th"></i>'),
|
257 |
'priority' => 35,
|
258 |
'active' => ($current_tab == 'grid_settings') ? true : false,
|
259 |
+
'data_visible' => 'grid filterable',
|
260 |
'hidden' => ($grid_type == 'grid')? false : true ,
|
261 |
);
|
262 |
|
includes/classes/class-settings.php
CHANGED
@@ -24,7 +24,7 @@ class class_post_grid_settings{
|
|
24 |
$data_update_status = isset($post_grid_info['data_update_status']) ? $post_grid_info['data_update_status'] : 'pending';
|
25 |
|
26 |
|
27 |
-
add_submenu_page('edit.php?post_type=post_grid', __('Layout Editor(Old)', 'post-grid'), __('Layout Editor(Old)', 'post-grid'), 'manage_options', 'layout_editor', array( $this, 'layout_editor' ));
|
28 |
|
29 |
add_submenu_page('edit.php?post_type=post_grid', __('Settings', 'post-grid'), __('Settings', 'post-grid'), 'manage_options', 'post-grid-settings', array( $this, 'settings' ));
|
30 |
add_submenu_page('edit.php?post_type=post_grid', __('Addons', 'post-grid'), __('Addons', 'post-grid'), 'manage_options', 'post-grid-addons', array( $this, 'addons' ));
|
24 |
$data_update_status = isset($post_grid_info['data_update_status']) ? $post_grid_info['data_update_status'] : 'pending';
|
25 |
|
26 |
|
27 |
+
// add_submenu_page('edit.php?post_type=post_grid', __('Layout Editor(Old)', 'post-grid'), __('Layout Editor(Old)', 'post-grid'), 'manage_options', 'layout_editor', array( $this, 'layout_editor' ));
|
28 |
|
29 |
add_submenu_page('edit.php?post_type=post_grid', __('Settings', 'post-grid'), __('Settings', 'post-grid'), 'manage_options', 'post-grid-settings', array( $this, 'settings' ));
|
30 |
add_submenu_page('edit.php?post_type=post_grid', __('Addons', 'post-grid'), __('Addons', 'post-grid'), 'manage_options', 'post-grid-addons', array( $this, 'addons' ));
|
post-grid.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Post Grid by PickPlugins
|
4 |
Plugin URI: https://www.pickplugins.com/item/post-grid-create-awesome-grid-from-any-post-type-for-wordpress/
|
5 |
Description: Awesome post grid for query post from any post type and display on grid.
|
6 |
-
Version: 2.0
|
7 |
Author: PickPlugins
|
8 |
Author URI: https://www.pickplugins.com/
|
9 |
License: GPLv2 or later
|
@@ -21,7 +21,7 @@ if( !class_exists( 'PostGrid' )){
|
|
21 |
define('post_grid_plugin_dir', plugin_dir_path(__FILE__));
|
22 |
define('post_grid_plugin_basename', plugin_basename(__FILE__));
|
23 |
define('post_grid_plugin_name', 'Post Grid');
|
24 |
-
define('post_grid_version', '2.0
|
25 |
//define('post_grid_server_url', 'http://localhost/wp/');
|
26 |
define('post_grid_server_url', 'https://www.pickplugins.com/demo/post-grid/');
|
27 |
|
3 |
Plugin Name: Post Grid by PickPlugins
|
4 |
Plugin URI: https://www.pickplugins.com/item/post-grid-create-awesome-grid-from-any-post-type-for-wordpress/
|
5 |
Description: Awesome post grid for query post from any post type and display on grid.
|
6 |
+
Version: 2.1.0
|
7 |
Author: PickPlugins
|
8 |
Author URI: https://www.pickplugins.com/
|
9 |
License: GPLv2 or later
|
21 |
define('post_grid_plugin_dir', plugin_dir_path(__FILE__));
|
22 |
define('post_grid_plugin_basename', plugin_basename(__FILE__));
|
23 |
define('post_grid_plugin_name', 'Post Grid');
|
24 |
+
define('post_grid_version', '2.1.0');
|
25 |
//define('post_grid_server_url', 'http://localhost/wp/');
|
26 |
define('post_grid_server_url', 'https://www.pickplugins.com/demo/post-grid/');
|
27 |
|
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: 5.6
|
7 |
-
Stable tag: 2.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -222,6 +222,9 @@ then paste this shortcode anywhere in your page to display grid<br />
|
|
222 |
|
223 |
== Changelog ==
|
224 |
|
|
|
|
|
|
|
225 |
= 2.0.76 =
|
226 |
* 2021-02-15 add - lazy load image alt text added
|
227 |
|
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: 5.6
|
7 |
+
Stable tag: 2.1.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
222 |
|
223 |
== Changelog ==
|
224 |
|
225 |
+
= 2.1.0 =
|
226 |
+
* 2021-02-19 remove - remove old layout editor
|
227 |
+
|
228 |
= 2.0.76 =
|
229 |
* 2021-02-15 add - lazy load image alt text added
|
230 |
|