Version Description
- Updated missing URL
Download this release
Release Info
Developer | techlabpro1 |
Plugin | The Post Grid |
Version | 3.0.5 |
Comparing to | |
See all releases |
Code changes from version 3.0.4 to 3.0.5
- README.txt +6 -3
- assets/js/admin.js +0 -1
- languages/the-post-grid.pot +3 -3
- lib/classes/rtTPGInit.php +1 -1
- lib/classes/rtTPGOptions.php +1 -1
- lib/models/rtTPGField.php +4 -2
- the-post-grid.php +2 -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.8.1
|
7 |
-
Stable tag: 3.0.
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -12,7 +12,7 @@ Fast & Easy way to display WordPress post in Grid, List & Isotope view ( filter
|
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
[Plugin Demo](https://www.radiustheme.com/demo/plugins/the-post-grid/) | [Documentation](https://radiustheme.com/how-to-setup-configure-the-post-grid-free-version-for-wordpress/) | [Get Pro](https://www.radiustheme.com/the-post-grid-pro-for-wordpress/)
|
16 |
|
17 |
The Post Grid is a fully Responsive & Mobile friendly plugin to display your page/post in Grid, List and Isotope View without any line of coding. It is fast and easy to generate grid from admin end and insert into page/post. You can Display posts by any category(s), tag(s), author(s), keyword(s) also Order posts by Id, Title, Created date, Modified date and Menu order.
|
18 |
|
@@ -85,7 +85,7 @@ For any bug or suggestion please mail support@radiustheme.com
|
|
85 |
* Social Share on popup.
|
86 |
* Override default page template (Category, Tag, Search)
|
87 |
|
88 |
-
[Get The PRO](https://www.radiustheme.com/downloads/the-post-grid-pro-for-wordpress/) [PRO Version Demo](
|
89 |
|
90 |
For any bug or suggestion please mail support@radiustheme.com
|
91 |
|
@@ -141,6 +141,9 @@ For any bug or suggestion please mail support@radiustheme.com
|
|
141 |
|
142 |
== Changelog ==
|
143 |
|
|
|
|
|
|
|
144 |
= 3.0.4 =
|
145 |
* Fixed file readability issue
|
146 |
* Added option for script loading
|
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.8.1
|
7 |
+
Stable tag: 3.0.5
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
[Plugin Demo](https://www.radiustheme.com/demo/plugins/the-post-grid/) | [Documentation](https://radiustheme.com/how-to-setup-configure-the-post-grid-free-version-for-wordpress/) | [Get Pro](https://www.radiustheme.com/downloads/the-post-grid-pro-for-wordpress/)
|
16 |
|
17 |
The Post Grid is a fully Responsive & Mobile friendly plugin to display your page/post in Grid, List and Isotope View without any line of coding. It is fast and easy to generate grid from admin end and insert into page/post. You can Display posts by any category(s), tag(s), author(s), keyword(s) also Order posts by Id, Title, Created date, Modified date and Menu order.
|
18 |
|
85 |
* Social Share on popup.
|
86 |
* Override default page template (Category, Tag, Search)
|
87 |
|
88 |
+
[Get The PRO](https://www.radiustheme.com/downloads/the-post-grid-pro-for-wordpress/) [PRO Version Demo](https://www.radiustheme.com/demo/plugins/the-post-grid/)
|
89 |
|
90 |
For any bug or suggestion please mail support@radiustheme.com
|
91 |
|
141 |
|
142 |
== Changelog ==
|
143 |
|
144 |
+
= 3.0.5 =
|
145 |
+
* Updated missing URL
|
146 |
+
|
147 |
= 3.0.4 =
|
148 |
* Fixed file readability issue
|
149 |
* Added option for script loading
|
assets/js/admin.js
CHANGED
@@ -251,7 +251,6 @@
|
|
251 |
}
|
252 |
}
|
253 |
|
254 |
-
|
255 |
function rtTPGIsotopTaxonomyFilter($this) {
|
256 |
var arg = "post_type=" + $this.val();
|
257 |
var bindElement = $this;
|
251 |
}
|
252 |
}
|
253 |
|
|
|
254 |
function rtTPGIsotopTaxonomyFilter($this) {
|
255 |
var arg = "post_type=" + $this.val();
|
256 |
var bindElement = $this;
|
languages/the-post-grid.pot
CHANGED
@@ -477,15 +477,15 @@ msgstr ""
|
|
477 |
msgid "You are not permitted to view this content."
|
478 |
msgstr ""
|
479 |
|
480 |
-
#: ../lib/models/rtTPGField.php:
|
481 |
msgid "Premium Option"
|
482 |
msgstr ""
|
483 |
|
484 |
-
#: ../lib/models/rtTPGField.php:
|
485 |
msgid "Start"
|
486 |
msgstr ""
|
487 |
|
488 |
-
#: ../lib/models/rtTPGField.php:
|
489 |
msgid "End"
|
490 |
msgstr ""
|
491 |
|
477 |
msgid "You are not permitted to view this content."
|
478 |
msgstr ""
|
479 |
|
480 |
+
#: ../lib/models/rtTPGField.php:82
|
481 |
msgid "Premium Option"
|
482 |
msgstr ""
|
483 |
|
484 |
+
#: ../lib/models/rtTPGField.php:369
|
485 |
msgid "Start"
|
486 |
msgstr ""
|
487 |
|
488 |
+
#: ../lib/models/rtTPGField.php:378
|
489 |
msgid "End"
|
490 |
msgstr ""
|
491 |
|
lib/classes/rtTPGInit.php
CHANGED
@@ -198,7 +198,7 @@ if (!class_exists('rtTPGInit')):
|
|
198 |
$links[] = '<a target="_blank" href="' . esc_url('https://www.radiustheme.com/demo/plugins/the-post-grid/') . '">Demo</a>';
|
199 |
$links[] = '<a target="_blank" href="' . esc_url('https://www.radiustheme.com/how-to-setup-configure-the-post-grid-free-version-for-wordpress/') . '">Documentation</a>';
|
200 |
if (!rtTPG()->hasPro()) {
|
201 |
-
$links[] = '<a target="_blank" style="color: #39b54a;font-weight: 700;" href="' . esc_url('https://www.radiustheme.com/the-post-grid-pro-for-wordpress/') . '">Get Pro</a>';
|
202 |
}
|
203 |
|
204 |
return $links;
|
198 |
$links[] = '<a target="_blank" href="' . esc_url('https://www.radiustheme.com/demo/plugins/the-post-grid/') . '">Demo</a>';
|
199 |
$links[] = '<a target="_blank" href="' . esc_url('https://www.radiustheme.com/how-to-setup-configure-the-post-grid-free-version-for-wordpress/') . '">Documentation</a>';
|
200 |
if (!rtTPG()->hasPro()) {
|
201 |
+
$links[] = '<a target="_blank" style="color: #39b54a;font-weight: 700;" href="' . esc_url('https://www.radiustheme.com/downloads/the-post-grid-pro-for-wordpress/') . '">Get Pro</a>';
|
202 |
}
|
203 |
|
204 |
return $links;
|
lib/classes/rtTPGOptions.php
CHANGED
@@ -1086,7 +1086,7 @@ if (!class_exists('rtTPGOptions')):
|
|
1086 |
<li>Enable/Disable Pagination.</li>
|
1087 |
<li>AJAX Pagination (Load more and Load on Scrolling)</li>
|
1088 |
</ol>
|
1089 |
-
<a href="https://www.radiustheme.com/the-post-grid-pro-for-wordpress/" class="rt-admin-btn" target="_blank">' . __("Get Pro Version", "the-post-grid") . '</a>';
|
1090 |
}
|
1091 |
|
1092 |
}
|
1086 |
<li>Enable/Disable Pagination.</li>
|
1087 |
<li>AJAX Pagination (Load more and Load on Scrolling)</li>
|
1088 |
</ol>
|
1089 |
+
<a href="https://www.radiustheme.com/downloads/the-post-grid-pro-for-wordpress/" class="rt-admin-btn" target="_blank">' . __("Get Pro Version", "the-post-grid") . '</a>';
|
1090 |
}
|
1091 |
|
1092 |
}
|
lib/models/rtTPGField.php
CHANGED
@@ -24,6 +24,8 @@ if ( ! class_exists( 'rtTPGField' ) ):
|
|
24 |
}
|
25 |
|
26 |
private function setArgument( $key, $attr ) {
|
|
|
|
|
27 |
$this->type = isset( $attr['type'] ) ? ( $attr['type'] ? $attr['type'] : 'text' ) : 'text';
|
28 |
$this->multiple = isset( $attr['multiple'] ) ? ( $attr['multiple'] ? $attr['multiple'] : false ) : false;
|
29 |
$this->name = ! empty( $key ) ? $key : null;
|
@@ -34,8 +36,8 @@ if ( ! class_exists( 'rtTPGField' ) ):
|
|
34 |
|
35 |
if ( ! $this->value ) {
|
36 |
$post_id = get_the_ID();
|
37 |
-
if ( ! rtTPG()->meta_exist( $post_id, $this->name ) ) {
|
38 |
-
|
39 |
} else {
|
40 |
if ( $this->multiple ) {
|
41 |
$this->value = get_post_meta( $post_id, $this->name );
|
24 |
}
|
25 |
|
26 |
private function setArgument( $key, $attr ) {
|
27 |
+
global $pagenow;
|
28 |
+
|
29 |
$this->type = isset( $attr['type'] ) ? ( $attr['type'] ? $attr['type'] : 'text' ) : 'text';
|
30 |
$this->multiple = isset( $attr['multiple'] ) ? ( $attr['multiple'] ? $attr['multiple'] : false ) : false;
|
31 |
$this->name = ! empty( $key ) ? $key : null;
|
36 |
|
37 |
if ( ! $this->value ) {
|
38 |
$post_id = get_the_ID();
|
39 |
+
if ( ! rtTPG()->meta_exist( $post_id, $this->name ) && $pagenow == 'post-new.php') {
|
40 |
+
$this->value = $this->default;
|
41 |
} else {
|
42 |
if ( $this->multiple ) {
|
43 |
$this->value = get_post_meta( $post_id, $this->name );
|
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.0.
|
8 |
* Text Domain: the-post-grid
|
9 |
* Domain Path: /languages
|
10 |
* Author URI: https://radiustheme.com/
|
@@ -28,3 +28,4 @@ define( 'RT_THE_POST_GRID_PLUGIN_SLUG', basename( dirname( __FILE__ ) ) );
|
|
28 |
define( 'RT_THE_POST_GRID_LANGUAGE_PATH', dirname( plugin_basename( __FILE__ ) ) . '/languages' );
|
29 |
|
30 |
require( 'lib/init.php' );
|
|
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.0.5
|
8 |
* Text Domain: the-post-grid
|
9 |
* Domain Path: /languages
|
10 |
* Author URI: https://radiustheme.com/
|
28 |
define( 'RT_THE_POST_GRID_LANGUAGE_PATH', dirname( plugin_basename( __FILE__ ) ) . '/languages' );
|
29 |
|
30 |
require( 'lib/init.php' );
|
31 |
+
|