Version Description
- Update navigation button issue
Download this release
Release Info
Developer | techlabpro1 |
Plugin | The Post Grid |
Version | 2.2.63 |
Comparing to | |
See all releases |
Code changes from version 2.2.62 to 2.2.63
- README.txt +4 -1
- lib/classes/rtTPGHelper.php +3 -5
- the-post-grid.php +1 -1
README.txt
CHANGED
@@ -4,7 +4,7 @@ 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.0
|
7 |
-
Stable tag: 2.2.
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -138,6 +138,9 @@ For any bug or suggestion please mail support@radiustheme.com
|
|
138 |
|
139 |
== Changelog ==
|
140 |
|
|
|
|
|
|
|
141 |
= 2.2.62 =
|
142 |
* Wordpress 5 compatibility
|
143 |
|
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.0
|
7 |
+
Stable tag: 2.2.63
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
138 |
|
139 |
== Changelog ==
|
140 |
|
141 |
+
= 2.2.63 =
|
142 |
+
* Update navigation button issue
|
143 |
+
|
144 |
= 2.2.62 =
|
145 |
* Wordpress 5 compatibility
|
146 |
|
lib/classes/rtTPGHelper.php
CHANGED
@@ -259,22 +259,20 @@ if ( ! class_exists( 'rtTPGHelper' ) ):
|
|
259 |
$html .= '<ul class="pagination">';
|
260 |
|
261 |
if ( $paged > 1 && $showitems < $pages ) {
|
262 |
-
$html .= "<li><a href='" . get_pagenum_link( $paged - 1 ) . "' aria-label='Previous'><i class='fa fa-chevron-left' aria-hidden='true'></i></li>";
|
263 |
}
|
264 |
|
265 |
for ( $i = 1; $i <= $pages; $i ++ ) {
|
266 |
|
267 |
if ( 1 != $pages && ( ! ( $i >= $paged + $range + 1 || $i <= $paged - $range - 1 ) || $pages <= $showitems ) ) {
|
268 |
-
$html .= ( $paged == $i ) ? "<li class
|
269 |
-
|
270 |
-
</li>" : "<li><a href='" . get_pagenum_link( $i ) . "'>" . $i . "</a></li>";
|
271 |
|
272 |
}
|
273 |
|
274 |
}
|
275 |
|
276 |
if ( $paged < $pages && $showitems < $pages ) {
|
277 |
-
$html .= "<li><a href
|
278 |
}
|
279 |
|
280 |
$html .= "</ul>";
|
259 |
$html .= '<ul class="pagination">';
|
260 |
|
261 |
if ( $paged > 1 && $showitems < $pages ) {
|
262 |
+
$html .= "<li><a href='" . get_pagenum_link( $paged - 1 ) . "' aria-label='Previous'><i class='fa fa-chevron-left' aria-hidden='true'></i></a></li>";
|
263 |
}
|
264 |
|
265 |
for ( $i = 1; $i <= $pages; $i ++ ) {
|
266 |
|
267 |
if ( 1 != $pages && ( ! ( $i >= $paged + $range + 1 || $i <= $paged - $range - 1 ) || $pages <= $showitems ) ) {
|
268 |
+
$html .= ( $paged == $i ) ? "<li class='active'><span>" . $i . "</span></li>" : "<li><a href='" . get_pagenum_link( $i ) . "'>" . $i . "</a></li>";
|
|
|
|
|
269 |
|
270 |
}
|
271 |
|
272 |
}
|
273 |
|
274 |
if ( $paged < $pages && $showitems < $pages ) {
|
275 |
+
$html .= "<li><a href='" . get_pagenum_link( $paged + 1 ) . "' aria-label='Next'><i class='fa fa-chevron-right' aria-hidden='true'></i></a></li>";
|
276 |
}
|
277 |
|
278 |
$html .= "</ul>";
|
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: 2.2.
|
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: 2.2.63
|
8 |
* Text Domain: the-post-grid
|
9 |
* Domain Path: /languages
|
10 |
* Author URI: https://radiustheme.com/
|