Version Description
- Remove admin banner
Download this release
Release Info
Developer | techlabpro1 |
Plugin | The Post Grid |
Version | 2.2.2 |
Comparing to | |
See all releases |
Code changes from version 2.2.1 to 2.2.2
- README.txt +5 -2
- lib/classes/rtTPGInit.php +1 -22
- 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
|
6 |
Tested up to: 4.9
|
7 |
-
Stable tag: 2.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -138,8 +138,11 @@ For any bug or suggestion please mail support@radiustheme.com
|
|
138 |
|
139 |
== Changelog ==
|
140 |
|
|
|
|
|
|
|
141 |
= 2.2.1 =
|
142 |
-
* Widget is added
|
143 |
|
144 |
= 2.2 =
|
145 |
* Feature image Enable/Disable option
|
4 |
Tags: post grid, content grid, post display, post format, post view, blog display, news display, post
|
5 |
Requires at least: 4
|
6 |
Tested up to: 4.9
|
7 |
+
Stable tag: 2.2.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
138 |
|
139 |
== Changelog ==
|
140 |
|
141 |
+
= 2.2.2 =
|
142 |
+
* Remove admin banner
|
143 |
+
|
144 |
= 2.2.1 =
|
145 |
+
* Widget is added
|
146 |
|
147 |
= 2.2 =
|
148 |
* Feature image Enable/Disable option
|
lib/classes/rtTPGInit.php
CHANGED
@@ -12,29 +12,8 @@ if ( ! class_exists( 'rtTPGInit' ) ):
|
|
12 |
add_filter( 'plugin_action_links_' . RT_THE_POST_GRID_PLUGIN_ACTIVE_FILE_NAME,
|
13 |
array( $this, 'rt_post_grid_marketing' ) );
|
14 |
add_action( 'admin_enqueue_scripts', array( $this, 'settings_admin_enqueue_scripts' ) );
|
15 |
-
add_action( 'admin_notices', array( $this, 'rt_advertisement_notice' ) );
|
16 |
}
|
17 |
-
|
18 |
-
function rt_advertisement_notice() {
|
19 |
-
$current_time = new DateTime( current_time( 'mysql' ) );
|
20 |
-
$to_time = new DateTime( '2017-11-30 24:00:00' );
|
21 |
-
$interval = $current_time->diff( $to_time );
|
22 |
-
if ( $interval->days >= 0 && $interval->invert == 0 ) {
|
23 |
-
?>
|
24 |
-
<div class="notice notice-success is-dismissible">
|
25 |
-
<p><strong>40% Discount for Cyber Monday Limited Time Offer!!</strong></p>
|
26 |
-
<p>No Coupon code discount auto apply in Checkout</p>
|
27 |
-
<p>
|
28 |
-
<a href="https://www.radiustheme.com/downloads/the-post-grid-pro-for-wordpress/" target="_blank"
|
29 |
-
class="button-primary">Update to The Post Grid Pro</a>
|
30 |
-
<a href="https://www.radiustheme.com/50-discount-black-friday-limited-time/" target="_blank"
|
31 |
-
class="button">See all Other Offers</a>
|
32 |
-
</p>
|
33 |
-
<p>NOTE: Offer will Expire in November 30th, 2017 (EST)</p>
|
34 |
-
</div>
|
35 |
-
<?php }
|
36 |
-
}
|
37 |
-
|
38 |
function init() {
|
39 |
|
40 |
// Create the post grid post type
|
12 |
add_filter( 'plugin_action_links_' . RT_THE_POST_GRID_PLUGIN_ACTIVE_FILE_NAME,
|
13 |
array( $this, 'rt_post_grid_marketing' ) );
|
14 |
add_action( 'admin_enqueue_scripts', array( $this, 'settings_admin_enqueue_scripts' ) );
|
|
|
15 |
}
|
16 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
function init() {
|
18 |
|
19 |
// Create the post grid post type
|
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.2
|
8 |
* Text Domain: the-post-grid
|
9 |
* Domain Path: /languages
|
10 |
* Author URI: https://radiustheme.com/
|