Post Grid - Version 2.1.20

Version Description

  • 2022-03-16 - fix - More HTML string output for Search icon, loading icon, media html, no text found.
Download this release

Release Info

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

Code changes from version 2.1.19 to 2.1.20

includes/post-grid-layout-elements.php CHANGED
@@ -2188,7 +2188,7 @@ function post_grid_layout_element_excerpt_read_more($args){
2188
 
2189
  ?>
2190
  <div class="element element_<?php echo esc_attr($elementIndex); ?> <?php echo esc_attr($custom_class); ?> excerpt_read_more ">
2191
- <?php echo esc_html($post_excerpt); ?>
2192
  <a target="<?php echo esc_attr($link_target); ?>" href="<?php echo esc_url($post_link); ?>"><?php echo esc_html($read_more_text); ?></a>
2193
 
2194
  </div>
2188
 
2189
  ?>
2190
  <div class="element element_<?php echo esc_attr($elementIndex); ?> <?php echo esc_attr($custom_class); ?> excerpt_read_more ">
2191
+ <?php echo $post_excerpt; ?>
2192
  <a target="<?php echo esc_attr($link_target); ?>" href="<?php echo esc_url($post_link); ?>"><?php echo esc_html($read_more_text); ?></a>
2193
 
2194
  </div>
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.1.19
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.1.19');
25
  define('post_grid_server_url', 'https://www.pickplugins.com/demo/post-grid/');
26
 
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.20
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.20');
25
  define('post_grid_server_url', 'https://www.pickplugins.com/demo/post-grid/');
26
 
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.8
7
- Stable tag: 2.1.19
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -222,6 +222,16 @@ then paste this shortcode anywhere in your page to display grid<br />
222
 
223
  == Changelog ==
224
 
 
 
 
 
 
 
 
 
 
 
225
  = 2.1.19 =
226
  * 2022-03-16 - fix - HTML string output for category, tags, content, share button issue fixed.
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.8
7
+ Stable tag: 2.1.20
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
222
 
223
  == Changelog ==
224
 
225
+
226
+
227
+
228
+
229
+
230
+ = 2.1.20 =
231
+ * 2022-03-16 - fix - More HTML string output for Search icon, loading icon, media html, no text found.
232
+
233
+
234
+
235
  = 2.1.19 =
236
  * 2022-03-16 - fix - HTML string output for category, tags, content, share button issue fixed.
237
 
templates/post-grid-hook.php CHANGED
@@ -170,7 +170,7 @@ function post_grid_search_keyword_field($args){
170
  ?>
171
  <div class="field-wrap field-wrap-keyword">
172
 
173
- <span class="search-icon"><?php echo esc_html($nav_top_search_icon); ?></span>
174
  <input grid_id="<?php echo esc_attr($grid_id); ?>" title="<?php echo __('Press enter to reset', 'post-grid'); ?>" class="search" type="text" name="keyword" placeholder="<?php echo esc_attr($nav_top_search_placeholder); ?>" value="<?php echo esc_attr($keyword); ?>">
175
 
176
  </div>
@@ -213,7 +213,7 @@ function post_grid_search_submit_field($args){
213
  <?php wp_nonce_field( 'post_grid_search_nonce','_wpnonce', false ); ?>
214
 
215
  <input type="submit" value="<?php echo __('Search', 'post-grid'); ?>">
216
- <span class="search-loading"><?php echo esc_html($search_loading_icon); ?></span>
217
 
218
  </div>
219
 
@@ -442,7 +442,7 @@ function post_grid_loop_no_post($args){
442
 
443
  ?>
444
  <div class="no-post-found">
445
- <?php echo esc_html(apply_filters('post_grid_no_post_text', $no_post_text)); ?>
446
  </div>
447
  <?php
448
 
@@ -565,7 +565,7 @@ function post_grid_item_layout_media($args){
565
 
566
 
567
  ?>
568
- <div class="layer-media"><?php echo esc_html($html_media); ?></div>
569
  <?php
570
 
571
  }
170
  ?>
171
  <div class="field-wrap field-wrap-keyword">
172
 
173
+ <span class="search-icon"><?php echo $nav_top_search_icon; ?></span>
174
  <input grid_id="<?php echo esc_attr($grid_id); ?>" title="<?php echo __('Press enter to reset', 'post-grid'); ?>" class="search" type="text" name="keyword" placeholder="<?php echo esc_attr($nav_top_search_placeholder); ?>" value="<?php echo esc_attr($keyword); ?>">
175
 
176
  </div>
213
  <?php wp_nonce_field( 'post_grid_search_nonce','_wpnonce', false ); ?>
214
 
215
  <input type="submit" value="<?php echo __('Search', 'post-grid'); ?>">
216
+ <span class="search-loading"><?php echo $search_loading_icon; ?></span>
217
 
218
  </div>
219
 
442
 
443
  ?>
444
  <div class="no-post-found">
445
+ <?php echo apply_filters('post_grid_no_post_text', $no_post_text); ?>
446
  </div>
447
  <?php
448
 
565
 
566
 
567
  ?>
568
+ <div class="layer-media"><?php echo $html_media; ?></div>
569
  <?php
570
 
571
  }