The Post Grid - Version 2.3.1

Version Description

  • Bug fix for limit
  • Fix Some CSS issue
Download this release

Release Info

Developer techlabpro1
Plugin Icon 128x128 The Post Grid
Version 2.3.1
Comparing to
See all releases

Code changes from version 2.3.0 to 2.3.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.2
7
- Stable tag: 2.3.0
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -139,6 +139,10 @@ For any bug or suggestion please mail support@radiustheme.com
139
 
140
  == Changelog ==
141
 
 
 
 
 
142
  = 2.3.0 =
143
  * Titles limit
144
  * Title hover color
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.2
7
+ Stable tag: 2.3.1
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
139
 
140
  == Changelog ==
141
 
142
+ = 2.3.1 =
143
+ * Bug fix for limit
144
+ * Fix Some CSS issue
145
+
146
  = 2.3.0 =
147
  * Titles limit
148
  * Title hover color
assets/css/thepostgrid.css CHANGED
@@ -14,14 +14,15 @@
14
  box-sizing: border-box;
15
  }
16
 
17
- .container {
18
  margin-right: auto;
19
  margin-left: auto;
20
  padding-left: 15px;
21
  padding-right: 15px;
22
  }
23
 
24
- .container-fluid {
 
25
  margin-right: auto;
26
  margin-left: auto;
27
  padding-left: 15px;
@@ -36,16 +37,16 @@
36
  margin-right: 5px;
37
  }
38
 
39
- .clearfix:before, .clearfix:after, .container:before, .container:after, .container-fluid:before, .container-fluid:after, .row:before, .row:after {
40
  content: " ";
41
  display: table;
42
  }
43
 
44
- .clearfix:after, .container:after, .container-fluid:after, .row:after {
45
  clear: both;
46
  }
47
 
48
- .row {
49
  margin-left: -15px;
50
  margin-right: -15px;
51
  }
@@ -744,29 +745,6 @@
744
  /********************************* Media Query *************************/
745
  /**********************************************************************/
746
 
747
- @media (min-width: 768px) {
748
- .container {
749
- width: 750px;
750
- }
751
- }
752
-
753
- @media (min-width: 992px) {
754
- .container {
755
- width: 970px;
756
- }
757
- }
758
-
759
- @media (min-width: 1200px) {
760
- .container {
761
- width: 1170px;
762
- }
763
- }
764
-
765
- @media (max-width: 767px) {
766
- .hidden-xs {
767
- display: none !important;
768
- }
769
- }
770
 
771
  @media screen and (max-width: 768px) {
772
  .rt-member-feature-img, .rt-member-description-container {
14
  box-sizing: border-box;
15
  }
16
 
17
+ .rt-container {
18
  margin-right: auto;
19
  margin-left: auto;
20
  padding-left: 15px;
21
  padding-right: 15px;
22
  }
23
 
24
+ .rt-container,
25
+ .rt-container-fluid {
26
  margin-right: auto;
27
  margin-left: auto;
28
  padding-left: 15px;
37
  margin-right: 5px;
38
  }
39
 
40
+ .clearfix:before, .clearfix:after, .rt-container:before, .rt-container:after, .rt-container-fluid:before, .rt-container-fluid:after, .rt-row:before, .rt-row:after {
41
  content: " ";
42
  display: table;
43
  }
44
 
45
+ .clearfix:after, .rt-container:after, .rt-container-fluid:after, .rt-row:after {
46
  clear: both;
47
  }
48
 
49
+ .rt-row {
50
  margin-left: -15px;
51
  margin-right: -15px;
52
  }
745
  /********************************* Media Query *************************/
746
  /**********************************************************************/
747
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
748
 
749
  @media screen and (max-width: 768px) {
750
  .rt-member-feature-img, .rt-member-description-container {
assets/js/rttpg.js CHANGED
@@ -37,6 +37,8 @@
37
  $(this).addClass('selected');
38
  });
39
  }
 
 
40
  $isotopeHolder.trigger("tpg_loaded");
41
  });
42
  };
@@ -54,14 +56,14 @@
54
  var self = $(this),
55
  rtMaxH = 0;
56
  self.imagesLoaded(function () {
57
- self.children('.row').children(".rt-equal-height:not(.rt-col-md-12)").height("auto");
58
- self.children('.row').children('.rt-equal-height:not(.rt-col-md-12)').each(function () {
59
  var $thisH = $(this).actual('outerHeight');
60
  if ($thisH > rtMaxH) {
61
  rtMaxH = $thisH;
62
  }
63
  });
64
- self.children('.row').children(".rt-equal-height:not(.rt-col-md-12)").css('height', rtMaxH + "px");
65
 
66
  });
67
  });
37
  $(this).addClass('selected');
38
  });
39
  }
40
+ tgpHeightResize();
41
+ overlayIconResizeTpg();
42
  $isotopeHolder.trigger("tpg_loaded");
43
  });
44
  };
56
  var self = $(this),
57
  rtMaxH = 0;
58
  self.imagesLoaded(function () {
59
+ self.children('.rt-row').children(".rt-equal-height:not(.rt-col-md-12)").height("auto");
60
+ self.children('.rt-row').children('.rt-equal-height:not(.rt-col-md-12)').each(function () {
61
  var $thisH = $(this).actual('outerHeight');
62
  if ($thisH > rtMaxH) {
63
  rtMaxH = $thisH;
64
  }
65
  });
66
+ self.children('.rt-row').children(".rt-equal-height:not(.rt-col-md-12)").css('height', rtMaxH + "px");
67
 
68
  });
69
  });
languages/the-post-grid.pot CHANGED
@@ -3,14 +3,14 @@ msgid ""
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: The Post Grid\n"
6
- "POT-Creation-Date: 2019-08-26 12:13+0600\n"
7
- "PO-Revision-Date: 2019-08-26 12:12+0600\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
- "X-Generator: Poedit 1.8.7\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-WPHeader: the-post-grid.php\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
@@ -20,295 +20,243 @@ msgstr ""
20
  "X-Poedit-SearchPath-0: .\n"
21
  "X-Poedit-SearchPathExcluded-0: *.js\n"
22
 
23
- #: lib/classes/rtTPGAjaxResponse.php:26
24
  msgid "Settings successfully updated"
25
  msgstr ""
26
 
27
- #: lib/classes/rtTPGAjaxResponse.php:28
28
  msgid "Security Error !!"
29
  msgstr ""
30
 
31
- #: lib/classes/rtTPGAjaxResponse.php:56
32
  msgid "<div class=\"field-holder\">No Taxonomy found</div>"
33
  msgstr ""
34
 
35
- #: lib/classes/rtTPGAjaxResponse.php:60 lib/classes/rtTPGAjaxResponse.php:79
36
- #: lib/classes/rtTPGAjaxResponse.php:118
37
  msgid "Security error"
38
  msgstr ""
39
 
40
- #: lib/classes/rtTPGAjaxResponse.php:137
41
  msgid "Select Short code"
42
  msgstr ""
43
 
44
- #: lib/classes/rtTPGAjaxResponse.php:139
45
  msgid "Default"
46
  msgstr ""
47
 
48
- #: lib/classes/rtTPGAjaxResponse.php:148
49
  msgid "No shortCode found."
50
  msgstr ""
51
 
52
  #. Plugin Name of the plugin/theme
53
- #: lib/classes/rtTPGInit.php:22 lib/classes/rtTPGInit.php:23
54
- #: lib/vendor/RtElementorWidget.php:10 lib/vendor/RtElementorWidget.php:26
55
- #: lib/widgets/RT_TPGWidget.php:15
56
  msgid "The Post Grid"
57
  msgstr ""
58
 
59
- #: lib/classes/rtTPGInit.php:24
60
  msgid "Add New Grid"
61
  msgstr ""
62
 
63
- #: lib/classes/rtTPGInit.php:25
64
  msgid "All Grids"
65
  msgstr ""
66
 
67
- #: lib/classes/rtTPGInit.php:26
68
  msgid "Add New Post Grid"
69
  msgstr ""
70
 
71
- #: lib/classes/rtTPGInit.php:27
72
  msgid "Edit Post Grid"
73
  msgstr ""
74
 
75
- #: lib/classes/rtTPGInit.php:28
76
  msgid "New Post Grid"
77
  msgstr ""
78
 
79
- #: lib/classes/rtTPGInit.php:29
80
  msgid "View Post Grid"
81
  msgstr ""
82
 
83
- #: lib/classes/rtTPGInit.php:30
84
  msgid "Search Post Grids"
85
  msgstr ""
86
 
87
- #: lib/classes/rtTPGInit.php:31
88
  msgid "No Post Grids found"
89
  msgstr ""
90
 
91
- #: lib/classes/rtTPGInit.php:32
92
  msgid "No Post Grids found in Trash"
93
  msgstr ""
94
 
95
- #: lib/classes/rtTPGInit.php:112
96
  msgid "Settings"
97
  msgstr ""
98
 
99
- #: lib/classes/rtTPGMeta.php:27
100
- msgid "Shortcode"
101
- msgstr ""
102
-
103
- #: lib/classes/rtTPGMeta.php:85
104
- msgid "Short Code Generator"
105
  msgstr ""
106
 
107
- #: lib/classes/rtTPGMeta.php:92
108
- msgid "Pro Features"
109
  msgstr ""
110
 
111
- #: lib/classes/rtTPGMeta.php:99
112
- msgid "Layout Preview"
113
  msgstr ""
114
 
115
- #: lib/classes/rtTPGMeta.php:141
116
- msgid "Post Source"
 
117
  msgstr ""
118
 
119
- #: lib/classes/rtTPGMeta.php:142
120
- msgid "Layout Settings"
121
  msgstr ""
122
 
123
- #: lib/classes/rtTPGMeta.php:143
124
- msgid "Field Selection"
125
  msgstr ""
126
 
127
- #: lib/classes/rtTPGMeta.php:144
128
- msgid "Style"
129
  msgstr ""
130
 
131
- #: lib/classes/rtTPGOptions.php:69
132
- msgid "Script before item load"
133
  msgstr ""
134
 
135
- #: lib/classes/rtTPGOptions.php:77
136
- msgid "Script After item load"
137
  msgstr ""
138
 
139
- #: lib/classes/rtTPGOptions.php:85
140
- msgid "After Loaded Script"
141
  msgstr ""
142
 
143
- #: lib/classes/rtTPGOptions.php:101
144
- msgid "List of post IDs to show (comma-separated values, for example: 1,2,3)"
145
  msgstr ""
146
 
147
- #: lib/classes/rtTPGOptions.php:109
148
- msgid "List of post IDs to hide (comma-separated values, for example: 1,2,3)"
149
  msgstr ""
150
 
151
- #: lib/classes/rtTPGOptions.php:117
152
- msgid "The number of posts to show. Set empty to show all found posts."
153
  msgstr ""
154
 
155
- #: lib/classes/rtTPGOptions.php:190
156
- msgid "Show all text"
157
  msgstr ""
158
 
159
- #: lib/classes/rtTPGOptions.php:191 lib/classes/rtTPGShortCode.php:71
160
- #: lib/classes/rtTPGShortCode.php:100
161
- msgid "Show all"
162
  msgstr ""
163
 
164
- #: lib/classes/rtTPGOptions.php:197
165
- msgid "Image column"
166
  msgstr ""
167
 
168
- #: lib/classes/rtTPGOptions.php:228
169
- msgid ""
170
- "If value of Limit setting is not blank (empty), this value should be smaller "
171
- "than Limit value."
172
  msgstr ""
173
 
174
- #: lib/classes/rtTPGOptions.php:261
175
- msgid "Title limit"
176
  msgstr ""
177
 
178
- #: lib/classes/rtTPGOptions.php:262
179
  msgid ""
180
- "Title limit only integer number is allowed, Leave it blank for full title."
181
- msgstr ""
182
-
183
- #: lib/classes/rtTPGOptions.php:268
184
- msgid "Title limit type"
185
- msgstr ""
186
-
187
- #: lib/classes/rtTPGOptions.php:276
188
- msgid "Excerpt limit"
189
  msgstr ""
190
 
191
- #: lib/classes/rtTPGOptions.php:278
192
  msgid ""
193
  "Excerpt limit only integer number is allowed, Leave it blank for full "
194
  "excerpt. Note: This will remove all html tag"
195
  msgstr ""
196
 
197
- #: lib/classes/rtTPGOptions.php:283
198
- msgid "Excerpt Type"
199
- msgstr ""
200
-
201
- #: lib/classes/rtTPGOptions.php:292
202
- msgid "Excerpt more text"
203
- msgstr ""
204
-
205
- #: lib/classes/rtTPGOptions.php:299
206
- msgid "Read more text"
207
- msgstr ""
208
-
209
- #: lib/classes/rtTPGOptions.php:306
210
- msgid "Overlay"
211
- msgstr ""
212
-
213
- #: lib/classes/rtTPGOptions.php:313
214
- msgid "Title tag"
215
- msgstr ""
216
-
217
- #: lib/classes/rtTPGOptions.php:380
218
- msgid "Title color"
219
- msgstr ""
220
-
221
- #: lib/classes/rtTPGOptions.php:387
222
- msgid "Title hover color"
223
- msgstr ""
224
-
225
- #: lib/classes/rtTPGOptions.php:396
226
- msgid "Read more button border radius"
227
- msgstr ""
228
-
229
- #: lib/classes/rtTPGOptions.php:397
230
- msgid "Leave it blank for default"
231
- msgstr ""
232
-
233
- #: lib/classes/rtTPGOptions.php:426
234
  msgid "Feature Image"
235
  msgstr ""
236
 
237
- #: lib/classes/rtTPGOptions.php:427
238
  msgid "First Image from content"
239
  msgstr ""
240
 
241
- #: lib/classes/rtTPGOptions.php:455
242
  msgid "Title"
243
  msgstr ""
244
 
245
- #: lib/classes/rtTPGOptions.php:456
246
  msgid "Excerpt"
247
  msgstr ""
248
 
249
- #: lib/classes/rtTPGOptions.php:457 lib/classes/rtTPGShortCode.php:69
250
- #: lib/classes/rtTPGShortCode.php:98
251
  msgid "Read More"
252
  msgstr ""
253
 
254
- #: lib/classes/rtTPGOptions.php:458
255
  msgid "Post Date"
256
  msgstr ""
257
 
258
- #: lib/classes/rtTPGOptions.php:459
259
  msgid "Author"
260
  msgstr ""
261
 
262
- #: lib/classes/rtTPGOptions.php:460
263
  msgid "Categories"
264
  msgstr ""
265
 
266
- #: lib/classes/rtTPGOptions.php:461
267
  msgid "Tags"
268
  msgstr ""
269
 
270
- #: lib/classes/rtTPGOptions.php:462
271
  msgid "Comment Count"
272
  msgstr ""
273
 
274
- #: lib/classes/rtTPGShortCode.php:342
275
- msgid "No post found"
276
- msgstr ""
277
-
278
- #: lib/classes/rtTPGShortCode.php:370
279
- msgid "Session Error !!"
280
  msgstr ""
281
 
282
- #: lib/classes/rtTPGShortCode.php:372
283
- msgid "No shortCode found"
284
  msgstr ""
285
 
286
- #: lib/vendor/RtElementorWidget.php:36
287
- msgid "Post Grid"
288
  msgstr ""
289
 
290
- #: lib/views/settings/settings.php:5
291
  msgid "The Post Grid Settings"
292
  msgstr ""
293
 
294
- #: lib/views/settings/settings.php:6
295
  msgid "General settings"
296
  msgstr ""
297
 
298
- #: lib/views/settings/settings.php:9
299
  msgid "Documentation"
300
  msgstr ""
301
 
302
- #: lib/widgets/RT_TPGWidget.php:14
303
- msgid "Display the post grid."
 
 
 
 
304
  msgstr ""
305
 
306
- #: lib/widgets/RT_TPGWidget.php:46
307
- msgid "Title:"
308
  msgstr ""
309
 
310
- #: lib/widgets/RT_TPGWidget.php:52
311
- msgid "Select post grid"
312
  msgstr ""
313
 
314
  #. Plugin URI of the plugin/theme
3
  msgstr ""
4
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
5
  "Project-Id-Version: The Post Grid\n"
6
+ "POT-Creation-Date: 2017-01-05 16:56+0600\n"
7
+ "PO-Revision-Date: 2017-01-05 16:55+0600\n"
8
  "Last-Translator: \n"
9
  "Language-Team: \n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 1.8.5\n"
14
  "X-Poedit-Basepath: ..\n"
15
  "X-Poedit-WPHeader: the-post-grid.php\n"
16
  "X-Poedit-SourceCharset: UTF-8\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 ""
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
  msgid "The Post Grid"
55
  msgstr ""
56
 
57
+ #: lib/classes/rtTPGInit.php:23
58
  msgid "Add New Grid"
59
  msgstr ""
60
 
61
+ #: lib/classes/rtTPGInit.php:24
62
  msgid "All Grids"
63
  msgstr ""
64
 
65
+ #: lib/classes/rtTPGInit.php:25
66
  msgid "Add New Post Grid"
67
  msgstr ""
68
 
69
+ #: lib/classes/rtTPGInit.php:26
70
  msgid "Edit Post Grid"
71
  msgstr ""
72
 
73
+ #: lib/classes/rtTPGInit.php:27
74
  msgid "New Post Grid"
75
  msgstr ""
76
 
77
+ #: lib/classes/rtTPGInit.php:28
78
  msgid "View Post Grid"
79
  msgstr ""
80
 
81
+ #: lib/classes/rtTPGInit.php:29
82
  msgid "Search Post Grids"
83
  msgstr ""
84
 
85
+ #: lib/classes/rtTPGInit.php:30
86
  msgid "No Post Grids found"
87
  msgstr ""
88
 
89
+ #: lib/classes/rtTPGInit.php:31
90
  msgid "No Post Grids found in Trash"
91
  msgstr ""
92
 
93
+ #: lib/classes/rtTPGInit.php:143
94
  msgid "Settings"
95
  msgstr ""
96
 
97
+ #: lib/classes/rtTPGInit.php:156 lib/classes/rtTPGInit.php:159
98
+ msgid "Field group updated."
 
 
 
 
99
  msgstr ""
100
 
101
+ #: lib/classes/rtTPGInit.php:157
102
+ msgid "Custom field updated."
103
  msgstr ""
104
 
105
+ #: lib/classes/rtTPGInit.php:158
106
+ msgid "Custom field deleted."
107
  msgstr ""
108
 
109
+ #: lib/classes/rtTPGInit.php:161
110
+ #, php-format
111
+ msgid "Field group restored to revision from %s"
112
  msgstr ""
113
 
114
+ #: lib/classes/rtTPGInit.php:162
115
+ msgid "Field group published."
116
  msgstr ""
117
 
118
+ #: lib/classes/rtTPGInit.php:163
119
+ msgid "Field group saved."
120
  msgstr ""
121
 
122
+ #: lib/classes/rtTPGInit.php:164
123
+ msgid "Field group submitted."
124
  msgstr ""
125
 
126
+ #: lib/classes/rtTPGInit.php:165
127
+ msgid "Field group scheduled for."
128
  msgstr ""
129
 
130
+ #: lib/classes/rtTPGInit.php:166
131
+ msgid "Field group draft updated."
132
  msgstr ""
133
 
134
+ #: lib/classes/rtTPGMeta.php:26
135
+ msgid "Shortcode"
136
  msgstr ""
137
 
138
+ #: lib/classes/rtTPGMeta.php:76
139
+ msgid "Short Code Generator"
140
  msgstr ""
141
 
142
+ #: lib/classes/rtTPGMeta.php:108
143
+ msgid "Post Source"
144
  msgstr ""
145
 
146
+ #: lib/classes/rtTPGMeta.php:109
147
+ msgid "Layout Settings"
148
  msgstr ""
149
 
150
+ #: lib/classes/rtTPGMeta.php:110
151
+ msgid "Field Selection"
152
  msgstr ""
153
 
154
+ #: lib/classes/rtTPGMeta.php:111
155
+ msgid "Style"
 
156
  msgstr ""
157
 
158
+ #: lib/classes/rtTPGOptions.php:73
159
+ msgid "List of post IDs to show (comma-separated values, for example: 1,2,3)"
160
  msgstr ""
161
 
162
+ #: lib/classes/rtTPGOptions.php:80
163
+ msgid "List of post IDs to hide (comma-separated values, for example: 1,2,3)"
 
 
164
  msgstr ""
165
 
166
+ #: lib/classes/rtTPGOptions.php:87
167
+ msgid "The number of posts to show. Set empty to show all found posts."
168
  msgstr ""
169
 
170
+ #: lib/classes/rtTPGOptions.php:178
171
  msgid ""
172
+ "If value of Limit setting is not blank (empty), this value should be smaller "
173
+ "than Limit value."
 
 
 
 
 
 
 
174
  msgstr ""
175
 
176
+ #: lib/classes/rtTPGOptions.php:202
177
  msgid ""
178
  "Excerpt limit only integer number is allowed, Leave it blank for full "
179
  "excerpt. Note: This will remove all html tag"
180
  msgstr ""
181
 
182
+ #: lib/classes/rtTPGOptions.php:265
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
183
  msgid "Feature Image"
184
  msgstr ""
185
 
186
+ #: lib/classes/rtTPGOptions.php:266
187
  msgid "First Image from content"
188
  msgstr ""
189
 
190
+ #: lib/classes/rtTPGOptions.php:289
191
  msgid "Title"
192
  msgstr ""
193
 
194
+ #: lib/classes/rtTPGOptions.php:290
195
  msgid "Excerpt"
196
  msgstr ""
197
 
198
+ #: lib/classes/rtTPGOptions.php:291 lib/views/layouts/layout1.php:53
 
199
  msgid "Read More"
200
  msgstr ""
201
 
202
+ #: lib/classes/rtTPGOptions.php:292
203
  msgid "Post Date"
204
  msgstr ""
205
 
206
+ #: lib/classes/rtTPGOptions.php:293
207
  msgid "Author"
208
  msgstr ""
209
 
210
+ #: lib/classes/rtTPGOptions.php:294
211
  msgid "Categories"
212
  msgstr ""
213
 
214
+ #: lib/classes/rtTPGOptions.php:295
215
  msgid "Tags"
216
  msgstr ""
217
 
218
+ #: lib/classes/rtTPGOptions.php:296
219
  msgid "Comment Count"
220
  msgstr ""
221
 
222
+ #: lib/classes/rtTPGShortCode.php:242
223
+ msgid "Show all"
 
 
 
 
224
  msgstr ""
225
 
226
+ #: lib/classes/rtTPGShortCode.php:305
227
+ msgid "No post found"
228
  msgstr ""
229
 
230
+ #: lib/views/layouts/layout2.php:48 lib/views/layouts/layout3.php:44
231
+ msgid "Read More .."
232
  msgstr ""
233
 
234
+ #: lib/views/settings/settings.php:8
235
  msgid "The Post Grid Settings"
236
  msgstr ""
237
 
238
+ #: lib/views/settings/settings.php:9
239
  msgid "General settings"
240
  msgstr ""
241
 
242
+ #: lib/views/settings/settings.php:10 lib/views/settings/settings.php:56
243
  msgid "Documentation"
244
  msgstr ""
245
 
246
+ #: lib/views/settings/settings.php:52
247
+ msgid "Short Code"
248
+ msgstr ""
249
+
250
+ #: lib/views/settings/settings.php:54
251
+ msgid "id = short code id (1,2,3,4)"
252
  msgstr ""
253
 
254
+ #: lib/views/settings/settings.php:55
255
+ msgid "title = Shot code title (Not recommended)"
256
  msgstr ""
257
 
258
+ #: lib/views/settings/settings.php:56
259
+ msgid "Demo"
260
  msgstr ""
261
 
262
  #. Plugin URI of the plugin/theme
lib/classes/rtTPGShortCode.php CHANGED
@@ -73,7 +73,7 @@ if (!class_exists('rtTPGShortCode')):
73
  $postType = isset($scMeta['tpg_post_type']) ? $scMeta['tpg_post_type'] : null;
74
  $post__in = isset($scMeta['post__in']) ? $scMeta['post__in'] : null;
75
  $post__not_in = isset($scMeta['post__not_in']) ? $scMeta['post__not_in'] : null;
76
- $limit = !isset($scMeta['limit']) ? ($scMeta['limit'] == -1 ? 10000000 : (int)$scMeta['limit']) : 10000000;
77
  $pagination = isset($scMeta['pagination']) ? $scMeta['pagination'] : false;
78
  $posts_per_page = isset($scMeta['posts_per_page']) ? intval($scMeta['posts_per_page']) : $limit;
79
  $order_by = isset($scMeta['order_by']) ? $scMeta['order_by'] : null;
@@ -103,7 +103,7 @@ if (!class_exists('rtTPGShortCode')):
103
  $postType = isset($scMeta['tpg_post_type'][0]) ? $scMeta['tpg_post_type'][0] : null;
104
  $post__in = isset($scMeta['post__in'][0]) ? $scMeta['post__in'][0] : null;
105
  $post__not_in = isset($scMeta['post__not_in'][0]) ? $scMeta['post__not_in'][0] : null;
106
- $limit = !isset($scMeta['limit'][0]) ? ($scMeta['limit'][0] == -1 ? 10000000 : (int)$scMeta['limit'][0]) : 10000000;
107
  $pagination = isset($scMeta['pagination'][0]) ? $scMeta['pagination'][0] : false;
108
  $posts_per_page = isset($scMeta['posts_per_page'][0]) ? intval($scMeta['posts_per_page'][0]) : $limit;
109
  $order_by = isset($scMeta['order_by'][0]) ? $scMeta['order_by'][0] : null;
@@ -267,7 +267,7 @@ if (!class_exists('rtTPGShortCode')):
267
  if ($isIsotope) {
268
  $extClass = ' tpg-isotope';
269
  }
270
- $html .= "<div class='row rt-content-loader {$layout}{$extClass}'>";
271
  if ($postQuery->have_posts()) {
272
  $html .= $this->layoutStyle($layoutID, $scMeta, $preview);
273
 
73
  $postType = isset($scMeta['tpg_post_type']) ? $scMeta['tpg_post_type'] : null;
74
  $post__in = isset($scMeta['post__in']) ? $scMeta['post__in'] : null;
75
  $post__not_in = isset($scMeta['post__not_in']) ? $scMeta['post__not_in'] : null;
76
+ $limit = isset($scMeta['limit']) && !empty($scMeta['limit']) ? ($scMeta['limit'] == -1 ? 10000000 : (int)$scMeta['limit']) : 10000000;
77
  $pagination = isset($scMeta['pagination']) ? $scMeta['pagination'] : false;
78
  $posts_per_page = isset($scMeta['posts_per_page']) ? intval($scMeta['posts_per_page']) : $limit;
79
  $order_by = isset($scMeta['order_by']) ? $scMeta['order_by'] : null;
103
  $postType = isset($scMeta['tpg_post_type'][0]) ? $scMeta['tpg_post_type'][0] : null;
104
  $post__in = isset($scMeta['post__in'][0]) ? $scMeta['post__in'][0] : null;
105
  $post__not_in = isset($scMeta['post__not_in'][0]) ? $scMeta['post__not_in'][0] : null;
106
+ $limit = isset($scMeta['limit'][0]) && !empty($scMeta['limit'][0])? ($scMeta['limit'][0] == -1 ? 10000000 : (int)$scMeta['limit'][0]) : 10000000;
107
  $pagination = isset($scMeta['pagination'][0]) ? $scMeta['pagination'][0] : false;
108
  $posts_per_page = isset($scMeta['posts_per_page'][0]) ? intval($scMeta['posts_per_page'][0]) : $limit;
109
  $order_by = isset($scMeta['order_by'][0]) ? $scMeta['order_by'][0] : null;
267
  if ($isIsotope) {
268
  $extClass = ' tpg-isotope';
269
  }
270
+ $html .= "<div class='rt-row rt-content-loader {$layout}{$extClass}'>";
271
  if ($postQuery->have_posts()) {
272
  $html .= $this->layoutStyle($layoutID, $scMeta, $preview);
273
 
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.3.0
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.3.1
8
  * Text Domain: the-post-grid
9
  * Domain Path: /languages
10
  * Author URI: https://radiustheme.com/