Version Description
- Layout fix
- Min Height issue fixed for mobile
Download this release
Release Info
Developer | techlabpro1 |
Plugin | The Post Grid |
Version | 1.5 |
Comparing to | |
See all releases |
Code changes from version 1.4 to 1.5
- README.txt +13 -3
- assets/css/thepostgrid.css +9 -14
- assets/js/rttpg.js +30 -29
- languages/the-post-grid_bn_BD.mo +0 -0
- languages/the-post-grid_bn_BD.po +0 -231
- lib/init.php +2 -3
- lib/views/layouts/isotope1.php +10 -9
- lib/views/layouts/layout1.php +8 -8
- lib/views/layouts/layout2.php +12 -10
- lib/views/layouts/layout3.php +12 -8
- the-post-grid.php +1 -2
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: 3.5
|
6 |
Tested up to: 4.7
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -109,9 +109,15 @@ For any bug or suggestion please mail support@radiustheme.com
|
|
109 |
|
110 |
== Frequently Asked Questions ==
|
111 |
|
112 |
-
= How
|
113 |
|
114 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
115 |
|
116 |
== Screenshots ==
|
117 |
|
@@ -126,6 +132,10 @@ In WordPress dashboard menu, click Content Views
|
|
126 |
|
127 |
== Changelog ==
|
128 |
|
|
|
|
|
|
|
|
|
129 |
= 1.4 =
|
130 |
* Uncaught TypeError: $(...).imagesLoaded is not a function(…) issue is fixed
|
131 |
|
4 |
Tags: post grid, content grid, post display, post format, post view, blog display, news display, post
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.7
|
7 |
+
Stable tag: 1.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
109 |
|
110 |
== Frequently Asked Questions ==
|
111 |
|
112 |
+
= How to Use Post Grid=
|
113 |
|
114 |
+
* Go to `The Post Grid > Add New Grid`
|
115 |
+
* Go to page or post editor click The post grid Shortcode button and select a shortcode from dropdown list and insert shortcode.
|
116 |
+
|
117 |
+
= Need Any Help? =
|
118 |
+
|
119 |
+
* Please mail us at `support@radiustheme.com`
|
120 |
+
* We provide `15 hours live support`
|
121 |
|
122 |
== Screenshots ==
|
123 |
|
132 |
|
133 |
== Changelog ==
|
134 |
|
135 |
+
= 1.5 =
|
136 |
+
* Layout fix
|
137 |
+
* Min Height issue fixed for mobile
|
138 |
+
|
139 |
= 1.4 =
|
140 |
* Uncaught TypeError: $(...).imagesLoaded is not a function(…) issue is fixed
|
141 |
|
assets/css/thepostgrid.css
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
/**********************************************************************/
|
2 |
/**************************** The Post Grid ***************************/
|
3 |
/**********************************************************************/
|
4 |
-
|
5 |
.rt-tpg-container * {
|
6 |
-webkit-box-sizing: border-box;
|
7 |
-moz-box-sizing: border-box;
|
@@ -103,11 +102,11 @@
|
|
103 |
}
|
104 |
|
105 |
.post-meta-user {
|
106 |
-
padding: 5px
|
107 |
font-size: 90%;
|
108 |
}
|
109 |
.post-meta-tags {
|
110 |
-
padding:
|
111 |
font-size: 90%;
|
112 |
}
|
113 |
.post-meta-user span, .post-meta-tags span {
|
@@ -117,10 +116,10 @@
|
|
117 |
.post-meta-user span.comment-link {
|
118 |
text-align: right;
|
119 |
float: right;
|
120 |
-
padding-right:
|
121 |
}
|
122 |
.post-meta-user span.post-tags-links {
|
123 |
-
padding-right:
|
124 |
}
|
125 |
|
126 |
/**********************************************************************/
|
@@ -175,7 +174,7 @@
|
|
175 |
}
|
176 |
.rt-tpg-container .layout1 .rt-holder .rt-detail {
|
177 |
background: #fff;
|
178 |
-
padding: 15px
|
179 |
}
|
180 |
.rt-tpg-container .layout1 .rt-holder .rt-detail h2 {
|
181 |
font-size: 22px;
|
@@ -235,7 +234,7 @@
|
|
235 |
}
|
236 |
.rt-tpg-container .layout2 .rt-holder .rt-detail h2 {
|
237 |
font-size: 26px;
|
238 |
-
margin:
|
239 |
font-weight: 400;
|
240 |
}
|
241 |
.rt-tpg-container .layout2 .rt-holder .rt-img-holder {
|
@@ -303,7 +302,7 @@
|
|
303 |
}
|
304 |
.rt-tpg-container .layout3 .rt-holder .rt-detail h2 {
|
305 |
font-size: 26px;
|
306 |
-
margin:
|
307 |
font-weight: 400;
|
308 |
}
|
309 |
.rt-tpg-container .layout3 .rt-holder .rt-img-holder {
|
@@ -415,7 +414,7 @@
|
|
415 |
}
|
416 |
.rt-tpg-container .isotope1 .rt-holder .rt-detail {
|
417 |
background: #fff;
|
418 |
-
padding: 15px
|
419 |
}
|
420 |
.rt-tpg-container .isotope1 .rt-holder .rt-detail h2 {
|
421 |
font-size: 26px;
|
@@ -461,7 +460,7 @@
|
|
461 |
border: none;
|
462 |
margin: 5px;
|
463 |
padding: 10px 10px;
|
464 |
-
outline:
|
465 |
text-transform: none;
|
466 |
font-weight: 400;
|
467 |
}
|
@@ -743,7 +742,3 @@
|
|
743 |
width: 8.33333333%;
|
744 |
}
|
745 |
}
|
746 |
-
|
747 |
-
/**********************************************************************/
|
748 |
-
/**************************** End Media Query *************************/
|
749 |
-
/**********************************************************************/
|
1 |
/**********************************************************************/
|
2 |
/**************************** The Post Grid ***************************/
|
3 |
/**********************************************************************/
|
|
|
4 |
.rt-tpg-container * {
|
5 |
-webkit-box-sizing: border-box;
|
6 |
-moz-box-sizing: border-box;
|
102 |
}
|
103 |
|
104 |
.post-meta-user {
|
105 |
+
padding: 5px 0;
|
106 |
font-size: 90%;
|
107 |
}
|
108 |
.post-meta-tags {
|
109 |
+
padding: 0 0 5px 0;
|
110 |
font-size: 90%;
|
111 |
}
|
112 |
.post-meta-user span, .post-meta-tags span {
|
116 |
.post-meta-user span.comment-link {
|
117 |
text-align: right;
|
118 |
float: right;
|
119 |
+
padding-right: 0;
|
120 |
}
|
121 |
.post-meta-user span.post-tags-links {
|
122 |
+
padding-right: 0;
|
123 |
}
|
124 |
|
125 |
/**********************************************************************/
|
174 |
}
|
175 |
.rt-tpg-container .layout1 .rt-holder .rt-detail {
|
176 |
background: #fff;
|
177 |
+
padding: 15px 0;
|
178 |
}
|
179 |
.rt-tpg-container .layout1 .rt-holder .rt-detail h2 {
|
180 |
font-size: 22px;
|
234 |
}
|
235 |
.rt-tpg-container .layout2 .rt-holder .rt-detail h2 {
|
236 |
font-size: 26px;
|
237 |
+
margin: 0 0 10px 0;
|
238 |
font-weight: 400;
|
239 |
}
|
240 |
.rt-tpg-container .layout2 .rt-holder .rt-img-holder {
|
302 |
}
|
303 |
.rt-tpg-container .layout3 .rt-holder .rt-detail h2 {
|
304 |
font-size: 26px;
|
305 |
+
margin: 0 0 10px 0;
|
306 |
font-weight: 400;
|
307 |
}
|
308 |
.rt-tpg-container .layout3 .rt-holder .rt-img-holder {
|
414 |
}
|
415 |
.rt-tpg-container .isotope1 .rt-holder .rt-detail {
|
416 |
background: #fff;
|
417 |
+
padding: 15px 0;
|
418 |
}
|
419 |
.rt-tpg-container .isotope1 .rt-holder .rt-detail h2 {
|
420 |
font-size: 26px;
|
460 |
border: none;
|
461 |
margin: 5px;
|
462 |
padding: 10px 10px;
|
463 |
+
outline: 0;
|
464 |
text-transform: none;
|
465 |
font-weight: 400;
|
466 |
}
|
742 |
width: 8.33333333%;
|
743 |
}
|
744 |
}
|
|
|
|
|
|
|
|
assets/js/rttpg.js
CHANGED
@@ -26,40 +26,41 @@
|
|
26 |
});
|
27 |
|
28 |
|
29 |
-
$(window).resize(
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
|
35 |
function tgpHeightResize() {
|
36 |
-
$(
|
37 |
-
|
38 |
-
|
39 |
-
$(
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
|
|
|
|
|
|
|
|
45 |
});
|
46 |
-
$(
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
rtMaxH = $thisH;
|
57 |
-
}
|
58 |
});
|
59 |
-
$(this).children(".equal-height").css('height', rtMaxH + "px");
|
60 |
-
|
61 |
});
|
62 |
-
}
|
|
|
|
|
63 |
}
|
64 |
|
65 |
function overlayIconResizeTpg() {
|
26 |
});
|
27 |
|
28 |
|
29 |
+
$(window).on('load resize', function(){
|
30 |
+
tgpHeightResize();
|
31 |
+
overlayIconResizeTpg();
|
32 |
+
});
|
|
|
33 |
|
34 |
function tgpHeightResize() {
|
35 |
+
var wWidth = $(window).width();
|
36 |
+
if(wWidth > 767) {
|
37 |
+
$(document).imagesLoaded(function () {
|
38 |
+
$(".rt-tpg-container").each(function () {
|
39 |
+
var rtMaxH = 0;
|
40 |
+
$(this).children('.row').children(".equal-height:not(.rt-col-md-12)").height("auto");
|
41 |
+
$(this).children('.row').children('.equal-height:not(.rt-col-md-12)').each(function () {
|
42 |
+
var $thisH = $(this).actual('outerHeight');
|
43 |
+
if ($thisH > rtMaxH) {
|
44 |
+
rtMaxH = $thisH;
|
45 |
+
}
|
46 |
+
});
|
47 |
+
$(this).children('.row').children(".equal-height:not(.rt-col-md-12)").css('height', rtMaxH + "px");
|
48 |
});
|
49 |
+
$(".rt-tpg-container .rt-tpg-isotope").each(function () {
|
50 |
+
var rtMaxH = 0;
|
51 |
+
$(this).children(".equal-height").height("auto");
|
52 |
+
$(this).children('.equal-height').each(function () {
|
53 |
+
var $thisH = $(this).actual('outerHeight');
|
54 |
+
if ($thisH > rtMaxH) {
|
55 |
+
rtMaxH = $thisH;
|
56 |
+
}
|
57 |
+
});
|
58 |
+
$(this).children(".equal-height").css('height', rtMaxH + "px");
|
|
|
|
|
59 |
});
|
|
|
|
|
60 |
});
|
61 |
+
}else{
|
62 |
+
$(".rt-tpg-container").find(".equal-height").height('auto');
|
63 |
+
}
|
64 |
}
|
65 |
|
66 |
function overlayIconResizeTpg() {
|
languages/the-post-grid_bn_BD.mo
DELETED
Binary file
|
languages/the-post-grid_bn_BD.po
DELETED
@@ -1,231 +0,0 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
4 |
-
"Project-Id-Version: The Post Grid\n"
|
5 |
-
"POT-Creation-Date: 2016-02-29 21:21+0600\n"
|
6 |
-
"PO-Revision-Date: 2016-02-29 21:28+0600\n"
|
7 |
-
"Language-Team: \n"
|
8 |
-
"MIME-Version: 1.0\n"
|
9 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
-
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"X-Generator: Poedit 1.8.5\n"
|
12 |
-
"X-Poedit-Basepath: ..\n"
|
13 |
-
"X-Poedit-WPHeader: the-post-grid.php\n"
|
14 |
-
"X-Poedit-SourceCharset: UTF-8\n"
|
15 |
-
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;"
|
16 |
-
"esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;"
|
17 |
-
"esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
18 |
-
"Last-Translator: \n"
|
19 |
-
"Language: bn\n"
|
20 |
-
"X-Poedit-SearchPath-0: .\n"
|
21 |
-
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
-
|
23 |
-
#: lib/classes/rtTPGAjaxResponse.php:27
|
24 |
-
msgid "Settings successfully updated"
|
25 |
-
msgstr "সেটিংস সফলভাবে আপডেট"
|
26 |
-
|
27 |
-
#: lib/classes/rtTPGAjaxResponse.php:32
|
28 |
-
msgid "Security Error !!"
|
29 |
-
msgstr "নিরাপত্তা ত্রুটি"
|
30 |
-
|
31 |
-
#: lib/classes/rtTPGAjaxResponse.php:58
|
32 |
-
msgid "<div class=\"field-holder\">No Taxonomy found</div>"
|
33 |
-
msgstr "<div class=\"field-holder\">কোনো Taxonomy পাওয়া যায় নি</div>"
|
34 |
-
|
35 |
-
#: lib/classes/rtTPGAjaxResponse.php:62 lib/classes/rtTPGAjaxResponse.php:81
|
36 |
-
#: lib/classes/rtTPGAjaxResponse.php:120
|
37 |
-
msgid "Security error"
|
38 |
-
msgstr "নিরাপত্তা ত্রুটি"
|
39 |
-
|
40 |
-
#: lib/classes/rtTPGAjaxResponse.php:134
|
41 |
-
msgid "Select Short code"
|
42 |
-
msgstr "শর্ট কোড নির্বাচন"
|
43 |
-
|
44 |
-
#: lib/classes/rtTPGAjaxResponse.php:136
|
45 |
-
msgid "Default"
|
46 |
-
msgstr "পূর্বনির্ধারিত তালিকা"
|
47 |
-
|
48 |
-
#: lib/classes/rtTPGAjaxResponse.php:145
|
49 |
-
msgid "No shortCode found."
|
50 |
-
msgstr "কোন ফলাফল পাওয়া যায়নি।"
|
51 |
-
|
52 |
-
#. Plugin Name of the plugin/theme
|
53 |
-
#: lib/classes/rtTPGInit.php:21 lib/classes/rtTPGInit.php:22
|
54 |
-
#: lib/widgets/rtTPGSimpleWidget.php:17
|
55 |
-
msgid "The Post Grid"
|
56 |
-
msgstr ""
|
57 |
-
|
58 |
-
#: lib/classes/rtTPGInit.php:23
|
59 |
-
msgid "Add New"
|
60 |
-
msgstr "নতুন আরেকটি"
|
61 |
-
|
62 |
-
#: lib/classes/rtTPGInit.php:24
|
63 |
-
msgid "All Grid Views"
|
64 |
-
msgstr ""
|
65 |
-
|
66 |
-
#: lib/classes/rtTPGInit.php:25
|
67 |
-
msgid "Add New Post Grid"
|
68 |
-
msgstr "নতুন Grid যোগ"
|
69 |
-
|
70 |
-
#: lib/classes/rtTPGInit.php:26
|
71 |
-
msgid "Edit Post Grid"
|
72 |
-
msgstr ""
|
73 |
-
|
74 |
-
#: lib/classes/rtTPGInit.php:27
|
75 |
-
msgid "New Post Grid"
|
76 |
-
msgstr "নতুন Grid যোগ"
|
77 |
-
|
78 |
-
#: lib/classes/rtTPGInit.php:28
|
79 |
-
msgid "View Post Grid"
|
80 |
-
msgstr ""
|
81 |
-
|
82 |
-
#: lib/classes/rtTPGInit.php:29
|
83 |
-
msgid "Search Post Grids"
|
84 |
-
msgstr "অনুসন্ধান করুন"
|
85 |
-
|
86 |
-
#: lib/classes/rtTPGInit.php:30
|
87 |
-
msgid "No Post Grids found"
|
88 |
-
msgstr "কোনো Grid পাওয়া যায় নি"
|
89 |
-
|
90 |
-
#: lib/classes/rtTPGInit.php:31
|
91 |
-
msgid "No Post Grids found in Trash"
|
92 |
-
msgstr "কোনো Grid পাওয়া যায় নি"
|
93 |
-
|
94 |
-
#: lib/classes/rtTPGInit.php:144
|
95 |
-
msgid "Settings"
|
96 |
-
msgstr "সেটিংগুলি"
|
97 |
-
|
98 |
-
#: lib/classes/rtTPGInit.php:157 lib/classes/rtTPGInit.php:160
|
99 |
-
msgid "Field group updated."
|
100 |
-
msgstr "সেটিংস সফলভাবে আপডেট"
|
101 |
-
|
102 |
-
#: lib/classes/rtTPGInit.php:158
|
103 |
-
msgid "Custom field updated."
|
104 |
-
msgstr "কাস্টম ক্ষেত্র আপডেট করা হয়েছে."
|
105 |
-
|
106 |
-
#: lib/classes/rtTPGInit.php:159
|
107 |
-
msgid "Custom field deleted."
|
108 |
-
msgstr "কাস্টম ক্ষেত্র মুছে ফেলা."
|
109 |
-
|
110 |
-
#: lib/classes/rtTPGInit.php:162
|
111 |
-
#, php-format
|
112 |
-
msgid "Field group restored to revision from %s"
|
113 |
-
msgstr ""
|
114 |
-
|
115 |
-
#: lib/classes/rtTPGInit.php:163
|
116 |
-
msgid "Field group published."
|
117 |
-
msgstr "বিস্তারিত পৃষ্ঠা ক্ষেত্র নিয়ন্ত্রণ"
|
118 |
-
|
119 |
-
#: lib/classes/rtTPGInit.php:164
|
120 |
-
msgid "Field group saved."
|
121 |
-
msgstr "ক্ষেত্র নির্বাচন"
|
122 |
-
|
123 |
-
#: lib/classes/rtTPGInit.php:165
|
124 |
-
msgid "Field group submitted."
|
125 |
-
msgstr "বিস্তারিত পৃষ্ঠা ক্ষেত্র নিয়ন্ত্রণ"
|
126 |
-
|
127 |
-
#: lib/classes/rtTPGInit.php:166
|
128 |
-
msgid "Field group scheduled for."
|
129 |
-
msgstr "বিস্তারিত পৃষ্ঠা ক্ষেত্র নিয়ন্ত্রণ"
|
130 |
-
|
131 |
-
#: lib/classes/rtTPGInit.php:167
|
132 |
-
msgid "Field group draft updated."
|
133 |
-
msgstr "বিভাগ"
|
134 |
-
|
135 |
-
#: lib/classes/rtTPGMeta.php:26
|
136 |
-
msgid "Shortcode"
|
137 |
-
msgstr "শর্ট কোড"
|
138 |
-
|
139 |
-
#: lib/classes/rtTPGMeta.php:74
|
140 |
-
msgid "Short Code Generator"
|
141 |
-
msgstr "শর্ট কোড জেনারেটরের"
|
142 |
-
|
143 |
-
#: lib/classes/rtTPGMeta.php:106
|
144 |
-
msgid "Post Source"
|
145 |
-
msgstr "Post উৎস"
|
146 |
-
|
147 |
-
#: lib/classes/rtTPGMeta.php:107
|
148 |
-
msgid "Layout Settings"
|
149 |
-
msgstr "বিন্যাস সেটিংস"
|
150 |
-
|
151 |
-
#: lib/classes/rtTPGMeta.php:108
|
152 |
-
msgid "Field Selection"
|
153 |
-
msgstr "ক্ষেত্র নির্বাচন"
|
154 |
-
|
155 |
-
#: lib/classes/rtTPGMeta.php:109
|
156 |
-
msgid "Style"
|
157 |
-
msgstr "চিত্র শৈলী"
|
158 |
-
|
159 |
-
#: lib/classes/rtTPGShortCode.php:231
|
160 |
-
msgid "Show all"
|
161 |
-
msgstr "সকল"
|
162 |
-
|
163 |
-
#: lib/classes/rtTPGShortCode.php:290
|
164 |
-
msgid "No post found"
|
165 |
-
msgstr "কোন পোস্ট পাওয়া যায়নি"
|
166 |
-
|
167 |
-
#: lib/views/settings/settings.php:12
|
168 |
-
msgid "The Post Grid Settings"
|
169 |
-
msgstr ""
|
170 |
-
|
171 |
-
#: lib/views/settings/settings.php:13
|
172 |
-
msgid "General settings"
|
173 |
-
msgstr "সাধারণ বিন্যাস"
|
174 |
-
|
175 |
-
#: lib/views/settings/settings.php:14 lib/views/settings/settings.php:37
|
176 |
-
msgid "Documentation"
|
177 |
-
msgstr "ডকুমেন্টেশন"
|
178 |
-
|
179 |
-
#: lib/views/settings/settings.php:33
|
180 |
-
msgid "Short Code"
|
181 |
-
msgstr "শর্ট কোড"
|
182 |
-
|
183 |
-
#: lib/views/settings/settings.php:35
|
184 |
-
msgid "id = short code id (1,2,3,4)"
|
185 |
-
msgstr ""
|
186 |
-
|
187 |
-
#: lib/views/settings/settings.php:36
|
188 |
-
msgid "title = Shot code title (Not recommended)"
|
189 |
-
msgstr ""
|
190 |
-
|
191 |
-
#: lib/views/settings/settings.php:37
|
192 |
-
msgid "Demo"
|
193 |
-
msgstr ""
|
194 |
-
|
195 |
-
#: lib/widgets/rtTPGSimpleWidget.php:16
|
196 |
-
msgid "Display The post grid."
|
197 |
-
msgstr "গ্রিড দেখাও (~ড)"
|
198 |
-
|
199 |
-
#: lib/widgets/rtTPGSimpleWidget.php:28
|
200 |
-
msgid "TPL Team"
|
201 |
-
msgstr ""
|
202 |
-
|
203 |
-
#: lib/widgets/rtTPGSimpleWidget.php:84
|
204 |
-
msgid "No member found"
|
205 |
-
msgstr ""
|
206 |
-
|
207 |
-
#: lib/widgets/rtTPGSimpleWidget.php:103
|
208 |
-
msgid "Title:"
|
209 |
-
msgstr ""
|
210 |
-
|
211 |
-
#: lib/widgets/rtTPGSimpleWidget.php:106
|
212 |
-
msgid "Number of member to show:"
|
213 |
-
msgstr ""
|
214 |
-
|
215 |
-
#. Plugin URI of the plugin/theme
|
216 |
-
msgid "http://demo.radiustheme.com/wordpress/plugins/the-post-grid/"
|
217 |
-
msgstr ""
|
218 |
-
|
219 |
-
#. Description of the plugin/theme
|
220 |
-
msgid ""
|
221 |
-
"Fast & Easy way to display WordPress post in Grid, List & Isotope view "
|
222 |
-
"( filter by category, tag, author..) without a single line of coding."
|
223 |
-
msgstr ""
|
224 |
-
|
225 |
-
#. Author of the plugin/theme
|
226 |
-
msgid "RadiusTheme"
|
227 |
-
msgstr ""
|
228 |
-
|
229 |
-
#. Author URI of the plugin/theme
|
230 |
-
msgid "https://radiustheme.com/"
|
231 |
-
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/init.php
CHANGED
@@ -12,9 +12,8 @@ class rtTPG
|
|
12 |
|
13 |
$this->options = array(
|
14 |
'settings' => 'rt_the_post_grid_settings',
|
15 |
-
'version' => '1.
|
16 |
-
'installed_version' => 'rt_the_post_grid_current_version'
|
17 |
-
'slug' => RT_THE_POST_GRID_PLUGIN_SLUG
|
18 |
);
|
19 |
$this->defaultSettings = array(
|
20 |
'custom_css' =>null
|
12 |
|
13 |
$this->options = array(
|
14 |
'settings' => 'rt_the_post_grid_settings',
|
15 |
+
'version' => '1.5',
|
16 |
+
'installed_version' => 'rt_the_post_grid_current_version'
|
|
|
17 |
);
|
18 |
$this->defaultSettings = array(
|
19 |
'custom_css' =>null
|
lib/views/layouts/isotope1.php
CHANGED
@@ -4,15 +4,16 @@ $html = null;
|
|
4 |
|
5 |
$html .= "<div class='{$grid} {$class} {$isoFilter}'>";
|
6 |
$html .= '<div class="rt-holder">';
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
|
|
16 |
$html .= '<div class="rt-detail">';
|
17 |
if(in_array('title', $items)){
|
18 |
$html .= "<h2 class='entry-title'><a href='{$pLink}'>{$title}</a></h2>";
|
4 |
|
5 |
$html .= "<div class='{$grid} {$class} {$isoFilter}'>";
|
6 |
$html .= '<div class="rt-holder">';
|
7 |
+
if(!empty($imgSrc)) {
|
8 |
+
$html .= '<div class="rt-img-holder">';
|
9 |
+
$html .= '<div class="overlay">';
|
10 |
+
$html .= "<a class='view-details' href='{$pLink}'>
|
11 |
+
<i class='fa fa-info'></i>
|
12 |
+
</a>";
|
13 |
+
$html .= '</div>';
|
14 |
+
$html .= "<a href='{$pLink}'><img class='img-responsive' src='{$imgSrc}' alt='{$title}'></a>";
|
15 |
+
$html .= '</div> ';
|
16 |
+
}
|
17 |
$html .= '<div class="rt-detail">';
|
18 |
if(in_array('title', $items)){
|
19 |
$html .= "<h2 class='entry-title'><a href='{$pLink}'>{$title}</a></h2>";
|
lib/views/layouts/layout1.php
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?php
|
2 |
|
3 |
$html = null;
|
4 |
-
|
5 |
$html .= "<div class='{$grid} {$class}'>";
|
6 |
$html .= '<div class="rt-holder">';
|
7 |
-
|
8 |
-
|
9 |
-
|
|
|
10 |
<i class='fa fa-info'></i>
|
11 |
</a>";
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
$html .= '<div class="rt-detail">';
|
17 |
if(in_array('title', $items)){
|
18 |
$html .= "<h2 class='entry-title'><a href='{$pLink}'>{$title}</a></h2>";
|
1 |
<?php
|
2 |
|
3 |
$html = null;
|
|
|
4 |
$html .= "<div class='{$grid} {$class}'>";
|
5 |
$html .= '<div class="rt-holder">';
|
6 |
+
if(!empty($imgSrc)) {
|
7 |
+
$html .= '<div class="rt-img-holder">';
|
8 |
+
$html .= '<div class="overlay">';
|
9 |
+
$html .= "<a class='view-details' href='{$pLink}'>
|
10 |
<i class='fa fa-info'></i>
|
11 |
</a>";
|
12 |
+
$html .= '</div>';
|
13 |
+
$html .= "<a href='{$pLink}'><img class='img-responsive' src='{$imgSrc}' alt='{$title}'></a>";
|
14 |
+
$html .= '</div> ';
|
15 |
+
}
|
16 |
$html .= '<div class="rt-detail">';
|
17 |
if(in_array('title', $items)){
|
18 |
$html .= "<h2 class='entry-title'><a href='{$pLink}'>{$title}</a></h2>";
|
lib/views/layouts/layout2.php
CHANGED
@@ -1,20 +1,22 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
$html = null;
|
4 |
-
|
5 |
$html .= "<div class='{$grid} {$class}'>";
|
6 |
$html .= '<div class="rt-holder">';
|
7 |
$html .= '<div class="row">';
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
|
|
12 |
<a class='view-details' href='{$pLink}'><i class='fa fa-info'></i></a>
|
13 |
</div>";
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
|
|
|
|
|
|
18 |
$html .= "<div class='{$content_area}'>";
|
19 |
$html .= '<div class="rt-detail">';
|
20 |
if(in_array('title', $items)){
|
1 |
<?php
|
|
|
2 |
$html = null;
|
|
|
3 |
$html .= "<div class='{$grid} {$class}'>";
|
4 |
$html .= '<div class="rt-holder">';
|
5 |
$html .= '<div class="row">';
|
6 |
+
if(!empty($imgSrc)) {
|
7 |
+
$html .= "<div class='{$image_area}'>";
|
8 |
+
$html .= '<div class="rt-img-holder">';
|
9 |
+
$html .= '<div class="overlay">';
|
10 |
+
$html .= "<div class='link-holder'>
|
11 |
<a class='view-details' href='{$pLink}'><i class='fa fa-info'></i></a>
|
12 |
</div>";
|
13 |
+
$html .= '</div>';
|
14 |
+
$html .= "<a href='{$pLink}'><img class='img-responsive' src='{$imgSrc}' alt='{$title}'></a>";
|
15 |
+
$html .= '</div>';
|
16 |
+
$html .= '</div>';
|
17 |
+
}else{
|
18 |
+
$content_area = "rt-col-md-12";
|
19 |
+
}
|
20 |
$html .= "<div class='{$content_area}'>";
|
21 |
$html .= '<div class="rt-detail">';
|
22 |
if(in_array('title', $items)){
|
lib/views/layouts/layout3.php
CHANGED
@@ -5,16 +5,20 @@ $html = null;
|
|
5 |
$html .= "<div class='{$grid} {$class}'>";
|
6 |
$html .= '<div class="rt-holder">';
|
7 |
$html .= '<div class="row">';
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
|
|
12 |
<a class='view-details' href='{$pLink}'><i class='fa fa-info'></i></a>
|
13 |
</div>";
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
|
|
|
|
|
|
18 |
$html .= "<div class='{$content_area}'>";
|
19 |
$html .= '<div class="rt-detail">';
|
20 |
$metaHtml = null;
|
5 |
$html .= "<div class='{$grid} {$class}'>";
|
6 |
$html .= '<div class="rt-holder">';
|
7 |
$html .= '<div class="row">';
|
8 |
+
if(!empty($imgSrc)) {
|
9 |
+
$html .= "<div class='{$image_area}'>";
|
10 |
+
$html .= '<div class="rt-img-holder">';
|
11 |
+
$html .= '<div class="overlay">';
|
12 |
+
$html .= "<div class='link-holder'>
|
13 |
<a class='view-details' href='{$pLink}'><i class='fa fa-info'></i></a>
|
14 |
</div>";
|
15 |
+
$html .= '</div>';
|
16 |
+
$html .= "<a href='{$pLink}'><img class='img-responsive rounded' src='{$imgSrc}' alt='{$title}'></a>";
|
17 |
+
$html .= '</div>';
|
18 |
+
$html .= '</div>';
|
19 |
+
}else{
|
20 |
+
$content_area = "rt-col-md-12";
|
21 |
+
}
|
22 |
$html .= "<div class='{$content_area}'>";
|
23 |
$html .= '<div class="rt-detail">';
|
24 |
$metaHtml = null;
|
the-post-grid.php
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
* Plugin URI: http://demo.radiustheme.com/wordpress/plugins/the-post-grid/
|
10 |
* Description: Fast & Easy way to display WordPress post in Grid, List & Isotope view ( filter by category, tag, author..) without a single line of coding.
|
11 |
* Author: RadiusTheme
|
12 |
-
* Version: 1.
|
13 |
* Text Domain: the-post-grid
|
14 |
* Domain Path: /languages
|
15 |
* Author URI: https://radiustheme.com/
|
@@ -19,7 +19,6 @@ if ( ! defined( 'ABSPATH' ) ) exit;
|
|
19 |
define('RT_THE_POST_GRID_PLUGIN_PATH', dirname(__FILE__));
|
20 |
define('RT_THE_POST_GRID_PLUGIN_ACTIVE_FILE_NAME', plugin_basename(__FILE__));
|
21 |
define('RT_THE_POST_GRID_PLUGIN_URL', plugins_url('', __FILE__));
|
22 |
-
define('RT_THE_POST_GRID_PLUGIN_SLUG', basename( dirname( __FILE__ ) ));
|
23 |
define('RT_THE_POST_GRID_LANGUAGE_PATH', dirname( plugin_basename( __FILE__ ) ) . '/languages');
|
24 |
|
25 |
require ('lib/init.php');
|
9 |
* Plugin URI: http://demo.radiustheme.com/wordpress/plugins/the-post-grid/
|
10 |
* Description: Fast & Easy way to display WordPress post in Grid, List & Isotope view ( filter by category, tag, author..) without a single line of coding.
|
11 |
* Author: RadiusTheme
|
12 |
+
* Version: 1.5
|
13 |
* Text Domain: the-post-grid
|
14 |
* Domain Path: /languages
|
15 |
* Author URI: https://radiustheme.com/
|
19 |
define('RT_THE_POST_GRID_PLUGIN_PATH', dirname(__FILE__));
|
20 |
define('RT_THE_POST_GRID_PLUGIN_ACTIVE_FILE_NAME', plugin_basename(__FILE__));
|
21 |
define('RT_THE_POST_GRID_PLUGIN_URL', plugins_url('', __FILE__));
|
|
|
22 |
define('RT_THE_POST_GRID_LANGUAGE_PATH', dirname( plugin_basename( __FILE__ ) ) . '/languages');
|
23 |
|
24 |
require ('lib/init.php');
|