The Post Grid - Version 3.1.5

Version Description

  • Fixed: Multiple ShortCode same page preloader issue
Download this release

Release Info

Developer techlabpro1
Plugin Icon 128x128 The Post Grid
Version 3.1.5
Comparing to
See all releases

Code changes from version 3.1.4 to 3.1.5

README.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: techlabpro1
3
  Donate link:
4
  Tags: post grid, content grid, post display, post format, post view, blog display, news display, post
5
  Requires at least: 4.5
6
- Tested up to: 5.9.1
7
- Stable tag: 3.1.4
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -151,6 +151,9 @@ For any bug or suggestion please mail support@radiustheme.com
151
 
152
  == Changelog ==
153
 
 
 
 
154
  = 3.1.4 =
155
  * Fixed: PHP error
156
 
3
  Donate link:
4
  Tags: post grid, content grid, post display, post format, post view, blog display, news display, post
5
  Requires at least: 4.5
6
+ Tested up to: 5.9.3
7
+ Stable tag: 3.1.5
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
151
 
152
  == Changelog ==
153
 
154
+ = 3.1.5 =
155
+ * Fixed: Multiple ShortCode same page preloader issue
156
+
157
  = 3.1.4 =
158
  * Fixed: PHP error
159
 
assets/js/rttpg.js CHANGED
@@ -113,9 +113,9 @@
113
  });
114
 
115
  function tpgBottomScriptLoader() {
116
- $( "#bottom-script-loader" ).fadeOut(500, function() {
117
  // fadeOut complete. Remove the loading div
118
- $( "#bottom-script-loader" ).remove(); //makes page more lightweight
119
  });
120
  }
121
 
113
  });
114
 
115
  function tpgBottomScriptLoader() {
116
+ $( ".bottom-script-loader" ).fadeOut(500, function() {
117
  // fadeOut complete. Remove the loading div
118
+ $( ".bottom-script-loader" ).remove(); //makes page more lightweight
119
  });
120
  }
121
 
lib/classes/rtTPGShortCode.php CHANGED
@@ -511,7 +511,7 @@ if ( ! class_exists( 'rtTPGShortCode' ) ):
511
  }
512
 
513
  if ( ! $isCarousel && isset( $settings['tpg_load_script'] ) && isset( $settings['tpg_enable_preloader'] ) ) {
514
- $html .= '<div id="bottom-script-loader"><div class="rt-ball-clip-rotate"><div></div></div></div>';
515
  }
516
  if ( ! empty( $filters ) && ( $isGrid || $isOffset || $isWooCom || $isEdd ) ) {
517
  $html .= "<div class='rt-layout-filter-container rt-clear'><div class='rt-filter-wrap'>";
511
  }
512
 
513
  if ( ! $isCarousel && isset( $settings['tpg_load_script'] ) && isset( $settings['tpg_enable_preloader'] ) ) {
514
+ $html .= '<div id="bottom-script-loader" class="bottom-script-loader"><div class="rt-ball-clip-rotate"><div></div></div></div>';
515
  }
516
  if ( ! empty( $filters ) && ( $isGrid || $isOffset || $isWooCom || $isEdd ) ) {
517
  $html .= "<div class='rt-layout-filter-container rt-clear'><div class='rt-filter-wrap'>";
the-post-grid.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: http://demo.radiustheme.com/wordpress/plugins/the-post-grid/
5
  * Description: Fast & Easy way to display WordPress post in Grid, List & Isotope view ( filter by category, tag, author..) without a single line of coding.
6
  * Author: RadiusTheme
7
- * Version: 3.1.4
8
  * Text Domain: the-post-grid
9
  * Domain Path: /languages
10
  * Author URI: https://radiustheme.com/
4
  * Plugin URI: http://demo.radiustheme.com/wordpress/plugins/the-post-grid/
5
  * Description: Fast & Easy way to display WordPress post in Grid, List & Isotope view ( filter by category, tag, author..) without a single line of coding.
6
  * Author: RadiusTheme
7
+ * Version: 3.1.5
8
  * Text Domain: the-post-grid
9
  * Domain Path: /languages
10
  * Author URI: https://radiustheme.com/