Version Description
- Add excerpt at isotope layout
Download this release
Release Info
Developer | techlabpro1 |
Plugin | The Post Grid |
Version | 2.0 |
Comparing to | |
See all releases |
Code changes from version 1.9 to 2.0
- README.txt +4 -1
- lib/init.php +1 -1
- lib/views/layouts/isotope1.php +3 -0
- 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.8
|
7 |
-
Stable tag:
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -136,6 +136,9 @@ For any bug or suggestion please mail support@radiustheme.com
|
|
136 |
|
137 |
== Changelog ==
|
138 |
|
|
|
|
|
|
|
139 |
= 1.7 =
|
140 |
* Excerpt issue fixed
|
141 |
|
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.8
|
7 |
+
Stable tag: 2.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
136 |
|
137 |
== Changelog ==
|
138 |
|
139 |
+
= 2.0 =
|
140 |
+
* Add excerpt at isotope layout
|
141 |
+
|
142 |
= 1.7 =
|
143 |
* Excerpt issue fixed
|
144 |
|
lib/init.php
CHANGED
@@ -12,7 +12,7 @@ class rtTPG
|
|
12 |
|
13 |
$this->options = array(
|
14 |
'settings' => 'rt_the_post_grid_settings',
|
15 |
-
'version' => '
|
16 |
'installed_version' => 'rt_the_post_grid_current_version'
|
17 |
);
|
18 |
$this->defaultSettings = array(
|
12 |
|
13 |
$this->options = array(
|
14 |
'settings' => 'rt_the_post_grid_settings',
|
15 |
+
'version' => '2.0',
|
16 |
'installed_version' => 'rt_the_post_grid_current_version'
|
17 |
);
|
18 |
$this->defaultSettings = array(
|
lib/views/layouts/isotope1.php
CHANGED
@@ -45,6 +45,9 @@ $html .= "<div class='{$grid} {$class} {$isoFilter}'>";
|
|
45 |
if(!empty($postMetaMid)){
|
46 |
$html .= "<div class='post-meta-tags'>{$postMetaMid}</div>";
|
47 |
}
|
|
|
|
|
|
|
48 |
$html .= '</div>';
|
49 |
$html .= '</div>';
|
50 |
$html .='</div>';
|
45 |
if(!empty($postMetaMid)){
|
46 |
$html .= "<div class='post-meta-tags'>{$postMetaMid}</div>";
|
47 |
}
|
48 |
+
if(in_array('excerpt', $items) && $excerpt){
|
49 |
+
$html .= "<div class='entry-content'><p>{$excerpt}</p></div>";
|
50 |
+
}
|
51 |
$html .= '</div>';
|
52 |
$html .= '</div>';
|
53 |
$html .='</div>';
|
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:
|
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.0
|
8 |
* Text Domain: the-post-grid
|
9 |
* Domain Path: /languages
|
10 |
* Author URI: https://radiustheme.com/
|