Post Grid - Version 2.0.44

Version Description

  • 2020-02-06 fix - tag links issue fixed.
Download this release

Release Info

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

Code changes from version 2.0.43 to 2.0.44

Files changed (3) hide show
  1. post-grid.php +2 -2
  2. readme.txt +6 -2
  3. templates/layer-content.php +4 -1
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.43
7
  Author: PickPlugins
8
  Author URI: https://www.pickplugins.com/
9
  License: GPLv2 or later
@@ -26,7 +26,7 @@ if( !class_exists( 'PostGrid' )){
26
  define('post_grid_pro_url', 'https://www.pickplugins.com/item/post-grid-create-awesome-grid-from-any-post-type-for-wordpress/');
27
  define('post_grid_qa_url', 'https://www.pickplugins.com/forum/');
28
  define('post_grid_plugin_name', 'Post Grid');
29
- define('post_grid_version', '2.0.43');
30
 
31
 
32
  include('includes/classes/class-post-grid-support.php');
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.44
7
  Author: PickPlugins
8
  Author URI: https://www.pickplugins.com/
9
  License: GPLv2 or later
26
  define('post_grid_pro_url', 'https://www.pickplugins.com/item/post-grid-create-awesome-grid-from-any-post-type-for-wordpress/');
27
  define('post_grid_qa_url', 'https://www.pickplugins.com/forum/');
28
  define('post_grid_plugin_name', 'Post Grid');
29
+ define('post_grid_version', '2.0.44');
30
 
31
 
32
  include('includes/classes/class-post-grid-support.php');
readme.txt CHANGED
@@ -3,8 +3,8 @@
3
  Donate link: https://www.pickplugins.com/item/post-grid-create-awesome-grid-from-any-post-type-for-wordpress/?ref=wordpress.org
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.3
7
- Stable tag: 2.0.43
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -139,6 +139,10 @@ then paste this shortcode anywhere in your page to display grid<br />
139
 
140
  == Changelog ==
141
 
 
 
 
 
142
  = 2.0.43 =
143
  * 17/11/2019 fix - exclude current post when post grid display on single post/custom post types
144
 
3
  Donate link: https://www.pickplugins.com/item/post-grid-create-awesome-grid-from-any-post-type-for-wordpress/?ref=wordpress.org
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.4
7
+ Stable tag: 2.0.44
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
139
 
140
  == Changelog ==
141
 
142
+ = 2.0.44 =
143
+ * 2020-02-06 fix - tag links issue fixed.
144
+
145
+
146
  = 2.0.43 =
147
  * 17/11/2019 fix - exclude current post when post grid display on single post/custom post types
148
 
templates/layer-content.php CHANGED
@@ -217,7 +217,10 @@ if ( ! defined('ABSPATH')) exit; // if direct access
217
  $posttags = get_the_tags();
218
  if ($posttags) {
219
  foreach($posttags as $tag){
220
- $html_tags.= '<a href="#" class="'.$tag->slug.' category-'.$tag->term_id.'">'.$tag->name . '</a> ';
 
 
 
221
  }
222
  }
223
 
217
  $posttags = get_the_tags();
218
  if ($posttags) {
219
  foreach($posttags as $tag){
220
+
221
+ $tag_url = get_term_link($tag->term_id);
222
+
223
+ $html_tags.= '<a href="'.esc_url($tag_url).'" class="'.$tag->slug.' category-'.$tag->term_id.'">'.$tag->name . '</a> ';
224
  }
225
  }
226