Version Description
Download this release
Release Info
Developer | techlabpro1 |
Plugin | The Post Grid |
Version | 2.2.3 |
Comparing to | |
See all releases |
Code changes from version 2.2.2 to 2.2.3
- README.txt +1 -1
- assets/css/thepostgrid.css +10 -8
- languages/the-post-grid-bn_BD.mo +0 -0
- languages/the-post-grid-bn_BD.po +2 -2
- languages/the-post-grid-fr_FR.mo +0 -0
- languages/the-post-grid-fr_FR.po +278 -0
- lib/classes/rtTPGInit.php +1 -1
- lib/classes/rtTPGOptions.php +6 -0
- lib/classes/rtTPGShortCode.php +12 -12
- lib/views/layouts/layout1.php +1 -1
- lib/views/layouts/layout2.php +1 -1
- lib/views/layouts/layout3.php +1 -1
- 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 |
|
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.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
assets/css/thepostgrid.css
CHANGED
@@ -41,6 +41,8 @@
|
|
41 |
margin-left: -15px;
|
42 |
margin-right: -15px;
|
43 |
}
|
|
|
|
|
44 |
.rt-col-xs-1,
|
45 |
.rt-col-sm-1, .rt-col-md-1, .rt-col-lg-1, .rt-col-xs-2, .rt-col-sm-2, .rt-col-md-2, .rt-col-lg-2, .rt-col-xs-3, .rt-col-sm-3, .rt-col-md-3, .rt-col-lg-3, .rt-col-xs-4, .rt-col-sm-4, .rt-col-md-4, .rt-col-lg-4, .rt-col-xs-5, .rt-col-sm-5, .rt-col-md-5, .rt-col-lg-5, .rt-col-xs-6, .rt-col-sm-6, .rt-col-md-6, .rt-col-lg-6, .rt-col-xs-7, .rt-col-sm-7, .rt-col-md-7, .rt-col-lg-7, .rt-col-xs-8, .rt-col-sm-8, .rt-col-md-8, .rt-col-lg-8, .rt-col-xs-9, .rt-col-sm-9, .rt-col-md-9, .rt-col-lg-9, .rt-col-xs-10, .rt-col-sm-10, .rt-col-md-10, .rt-col-lg-10, .rt-col-xs-11, .rt-col-sm-11, .rt-col-md-11, .rt-col-lg-11, .rt-col-xs-12, .rt-col-sm-12, .rt-col-md-12, .rt-col-lg-12 {
|
46 |
position: relative;
|
@@ -48,10 +50,10 @@
|
|
48 |
padding-left: 15px;
|
49 |
padding-right: 15px;
|
50 |
}
|
51 |
-
.rt-col-xs-1, .rt-col-xs-2, .rt-col-xs-3, .rt-col-xs-4, .rt-col-xs-5, .rt-col-xs-6, .rt-col-xs-7, .rt-col-xs-8, .rt-col-xs-9, .rt-col-xs-10, .rt-col-xs-11, .rt-col-xs-12 {
|
52 |
float: left;
|
53 |
}
|
54 |
-
.rt-col-xs-12 { width: 100%; } .rt-col-xs-11 { width: 91.66666667%; } .rt-col-xs-10 { width: 83.33333333%; } .rt-col-xs-9 { width: 75%; } .rt-col-xs-8 { width: 66.66666667%; } .rt-col-xs-7 { width: 58.33333333%; } .rt-col-xs-6 { width: 50%; } .rt-col-xs-5 { width: 41.66666667%; } .rt-col-xs-4 { width: 33.33333333%; } .rt-col-xs-3 { width: 25%; } .rt-col-xs-2 { width: 16.66666667%; } .rt-col-xs-1 { width: 8.33333333%; }
|
55 |
.img-responsive {
|
56 |
max-width: 100%;
|
57 |
display: block;
|
@@ -614,22 +616,22 @@
|
|
614 |
}
|
615 |
|
616 |
@media (min-width: 768px) {
|
617 |
-
.rt-col-sm-1, .rt-col-sm-2, .rt-col-sm-3, .rt-col-sm-4, .rt-col-sm-5, .rt-col-sm-6, .rt-col-sm-7, .rt-col-sm-8, .rt-col-sm-9, .rt-col-sm-10, .rt-col-sm-11, .rt-col-sm-12 {
|
618 |
float: left;
|
619 |
}
|
620 |
-
.rt-col-sm-12 { width: 100%; } .rt-col-sm-11 { width: 91.66666667%; } .rt-col-sm-10 { width: 83.33333333%; } .rt-col-sm-9 { width: 75%; } .rt-col-sm-8 { width: 66.66666667%; } .rt-col-sm-7 { width: 58.33333333%; } .rt-col-sm-6 { width: 50%; } .rt-col-sm-5 { width: 41.66666667%; } .rt-col-sm-4 { width: 33.33333333%; } .rt-col-sm-3 { width: 25%; } .rt-col-sm-2 { width: 16.66666667%; } .rt-col-sm-1 { width: 8.33333333%; }
|
621 |
}
|
622 |
|
623 |
@media (min-width: 992px) {
|
624 |
-
.rt-col-md-1, .rt-col-md-2, .rt-col-md-3, .rt-col-md-4, .rt-col-md-5, .rt-col-md-6, .rt-col-md-7, .rt-col-md-8, .rt-col-md-9, .rt-col-md-10, .rt-col-md-11, .rt-col-md-12 {
|
625 |
float: left;
|
626 |
}
|
627 |
-
.rt-col-md-12 { width: 100%; } .rt-col-md-11 { width: 91.66666667%; } .rt-col-md-10 { width: 83.33333333%; } .rt-col-md-9 { width: 75%; } .rt-col-md-8 { width: 66.66666667%; } .rt-col-md-7 { width: 58.33333333%; } .rt-col-md-6 { width: 50%; } .rt-col-md-5 { width: 41.66666667%; } .rt-col-md-4 { width: 33.33333333%; } .rt-col-md-3 { width: 25%; } .rt-col-md-2 { width: 16.66666667%; } .rt-col-md-1 { width: 8.33333333%; }
|
628 |
}
|
629 |
|
630 |
@media (min-width: 1200px) {
|
631 |
-
.rt-col-lg-1, .rt-col-lg-2, .rt-col-lg-3, .rt-col-lg-4, .rt-col-lg-5, .rt-col-lg-6, .rt-col-lg-7, .rt-col-lg-8, .rt-col-lg-9, .rt-col-lg-10, .rt-col-lg-11, .rt-col-lg-12 {
|
632 |
float: left;
|
633 |
}
|
634 |
-
.rt-col-lg-12 { width: 100%; } .rt-col-lg-11 { width: 91.66666667%; } .rt-col-lg-10 { width: 83.33333333%; } .rt-col-lg-9 { width: 75%; } .rt-col-lg-8 { width: 66.66666667%; } .rt-col-lg-7 { width: 58.33333333%; } .rt-col-lg-6 { width: 50%; } .rt-col-lg-5 { width: 41.66666667%; } .rt-col-lg-4 { width: 33.33333333%; } .rt-col-lg-3 { width: 25%; } .rt-col-lg-2 { width: 16.66666667%; } .rt-col-lg-1 { width: 8.33333333%; }
|
635 |
}
|
41 |
margin-left: -15px;
|
42 |
margin-right: -15px;
|
43 |
}
|
44 |
+
.rt-col-xs-24,
|
45 |
+
.rt-col-sm-24, .rt-col-md-24, .rt-col-lg-24,
|
46 |
.rt-col-xs-1,
|
47 |
.rt-col-sm-1, .rt-col-md-1, .rt-col-lg-1, .rt-col-xs-2, .rt-col-sm-2, .rt-col-md-2, .rt-col-lg-2, .rt-col-xs-3, .rt-col-sm-3, .rt-col-md-3, .rt-col-lg-3, .rt-col-xs-4, .rt-col-sm-4, .rt-col-md-4, .rt-col-lg-4, .rt-col-xs-5, .rt-col-sm-5, .rt-col-md-5, .rt-col-lg-5, .rt-col-xs-6, .rt-col-sm-6, .rt-col-md-6, .rt-col-lg-6, .rt-col-xs-7, .rt-col-sm-7, .rt-col-md-7, .rt-col-lg-7, .rt-col-xs-8, .rt-col-sm-8, .rt-col-md-8, .rt-col-lg-8, .rt-col-xs-9, .rt-col-sm-9, .rt-col-md-9, .rt-col-lg-9, .rt-col-xs-10, .rt-col-sm-10, .rt-col-md-10, .rt-col-lg-10, .rt-col-xs-11, .rt-col-sm-11, .rt-col-md-11, .rt-col-lg-11, .rt-col-xs-12, .rt-col-sm-12, .rt-col-md-12, .rt-col-lg-12 {
|
48 |
position: relative;
|
50 |
padding-left: 15px;
|
51 |
padding-right: 15px;
|
52 |
}
|
53 |
+
.rt-col-xs-24,.rt-col-xs-1, .rt-col-xs-2, .rt-col-xs-3, .rt-col-xs-4, .rt-col-xs-5, .rt-col-xs-6, .rt-col-xs-7, .rt-col-xs-8, .rt-col-xs-9, .rt-col-xs-10, .rt-col-xs-11, .rt-col-xs-12 {
|
54 |
float: left;
|
55 |
}
|
56 |
+
.rt-col-xs-24{ width: 20%; } .rt-col-xs-12 { width: 100%; } .rt-col-xs-11 { width: 91.66666667%; } .rt-col-xs-10 { width: 83.33333333%; } .rt-col-xs-9 { width: 75%; } .rt-col-xs-8 { width: 66.66666667%; } .rt-col-xs-7 { width: 58.33333333%; } .rt-col-xs-6 { width: 50%; } .rt-col-xs-5 { width: 41.66666667%; } .rt-col-xs-4 { width: 33.33333333%; } .rt-col-xs-3 { width: 25%; } .rt-col-xs-2 { width: 16.66666667%; } .rt-col-xs-1 { width: 8.33333333%; }
|
57 |
.img-responsive {
|
58 |
max-width: 100%;
|
59 |
display: block;
|
616 |
}
|
617 |
|
618 |
@media (min-width: 768px) {
|
619 |
+
.rt-col-sm-24,.rt-col-sm-1, .rt-col-sm-2, .rt-col-sm-3, .rt-col-sm-4, .rt-col-sm-5, .rt-col-sm-6, .rt-col-sm-7, .rt-col-sm-8, .rt-col-sm-9, .rt-col-sm-10, .rt-col-sm-11, .rt-col-sm-12 {
|
620 |
float: left;
|
621 |
}
|
622 |
+
.rt-col-sm-24{ width: 20%; }.rt-col-sm-12 { width: 100%; } .rt-col-sm-11 { width: 91.66666667%; } .rt-col-sm-10 { width: 83.33333333%; } .rt-col-sm-9 { width: 75%; } .rt-col-sm-8 { width: 66.66666667%; } .rt-col-sm-7 { width: 58.33333333%; } .rt-col-sm-6 { width: 50%; } .rt-col-sm-5 { width: 41.66666667%; } .rt-col-sm-4 { width: 33.33333333%; } .rt-col-sm-3 { width: 25%; } .rt-col-sm-2 { width: 16.66666667%; } .rt-col-sm-1 { width: 8.33333333%; }
|
623 |
}
|
624 |
|
625 |
@media (min-width: 992px) {
|
626 |
+
.rt-col-md-24,.rt-col-md-1, .rt-col-md-2, .rt-col-md-3, .rt-col-md-4, .rt-col-md-5, .rt-col-md-6, .rt-col-md-7, .rt-col-md-8, .rt-col-md-9, .rt-col-md-10, .rt-col-md-11, .rt-col-md-12 {
|
627 |
float: left;
|
628 |
}
|
629 |
+
.rt-col-md-24 { width: 20%; }.rt-col-md-12 { width: 100%; } .rt-col-md-11 { width: 91.66666667%; } .rt-col-md-10 { width: 83.33333333%; } .rt-col-md-9 { width: 75%; } .rt-col-md-8 { width: 66.66666667%; } .rt-col-md-7 { width: 58.33333333%; } .rt-col-md-6 { width: 50%; } .rt-col-md-5 { width: 41.66666667%; } .rt-col-md-4 { width: 33.33333333%; } .rt-col-md-3 { width: 25%; } .rt-col-md-2 { width: 16.66666667%; } .rt-col-md-1 { width: 8.33333333%; }
|
630 |
}
|
631 |
|
632 |
@media (min-width: 1200px) {
|
633 |
+
.rt-col-lg-24,.rt-col-lg-1, .rt-col-lg-2, .rt-col-lg-3, .rt-col-lg-4, .rt-col-lg-5, .rt-col-lg-6, .rt-col-lg-7, .rt-col-lg-8, .rt-col-lg-9, .rt-col-lg-10, .rt-col-lg-11, .rt-col-lg-12 {
|
634 |
float: left;
|
635 |
}
|
636 |
+
.rt-col-lg-24 { width: 20%; }.rt-col-lg-12 { width: 100%; } .rt-col-lg-11 { width: 91.66666667%; } .rt-col-lg-10 { width: 83.33333333%; } .rt-col-lg-9 { width: 75%; } .rt-col-lg-8 { width: 66.66666667%; } .rt-col-lg-7 { width: 58.33333333%; } .rt-col-lg-6 { width: 50%; } .rt-col-lg-5 { width: 41.66666667%; } .rt-col-lg-4 { width: 33.33333333%; } .rt-col-lg-3 { width: 25%; } .rt-col-lg-2 { width: 16.66666667%; } .rt-col-lg-1 { width: 8.33333333%; }
|
637 |
}
|
languages/the-post-grid-bn_BD.mo
CHANGED
Binary file
|
languages/the-post-grid-bn_BD.po
CHANGED
@@ -3,7 +3,7 @@ msgstr ""
|
|
3 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
4 |
"Project-Id-Version: The Post Grid\n"
|
5 |
"POT-Creation-Date: 2017-01-05 16:56+0600\n"
|
6 |
-
"PO-Revision-Date:
|
7 |
"Language-Team: \n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -221,7 +221,7 @@ 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"
|
3 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
4 |
"Project-Id-Version: The Post Grid\n"
|
5 |
"POT-Creation-Date: 2017-01-05 16:56+0600\n"
|
6 |
+
"PO-Revision-Date: 2018-02-15 13:09+0600\n"
|
7 |
"Language-Team: \n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
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"
|
languages/the-post-grid-fr_FR.mo
ADDED
Binary file
|
languages/the-post-grid-fr_FR.po
ADDED
@@ -0,0 +1,278 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: 2018-02-15 13:33+0600\n"
|
6 |
+
"PO-Revision-Date: 2018-02-15 13:34+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;esc_attr__;"
|
16 |
+
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
17 |
+
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
18 |
+
"Last-Translator: \n"
|
19 |
+
"Language: fr_FR\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 "Montre tout"
|
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
|
263 |
+
msgid "http://demo.radiustheme.com/wordpress/plugins/the-post-grid/"
|
264 |
+
msgstr ""
|
265 |
+
|
266 |
+
#. Description of the plugin/theme
|
267 |
+
msgid ""
|
268 |
+
"Fast & Easy way to display WordPress post in Grid, List & Isotope view "
|
269 |
+
"( filter by category, tag, author..) without a single line of coding."
|
270 |
+
msgstr ""
|
271 |
+
|
272 |
+
#. Author of the plugin/theme
|
273 |
+
msgid "RadiusTheme"
|
274 |
+
msgstr ""
|
275 |
+
|
276 |
+
#. Author URI of the plugin/theme
|
277 |
+
msgid "https://radiustheme.com/"
|
278 |
+
msgstr ""
|
lib/classes/rtTPGInit.php
CHANGED
@@ -13,7 +13,7 @@ if ( ! class_exists( 'rtTPGInit' ) ):
|
|
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
|
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
|
lib/classes/rtTPGOptions.php
CHANGED
@@ -245,6 +245,12 @@ if ( ! class_exists( 'rtTPGOptions' ) ):
|
|
245 |
"id" => "tgp_excerpt_more_text",
|
246 |
"default" => "..."
|
247 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
248 |
'tpg_overlay' => array(
|
249 |
"type" => "checkbox",
|
250 |
"name" => "tpg_overlay",
|
245 |
"id" => "tgp_excerpt_more_text",
|
246 |
"default" => "..."
|
247 |
),
|
248 |
+
'tgp_read_more_text' => array(
|
249 |
+
"type" => "text",
|
250 |
+
"label" => "Read more text",
|
251 |
+
"name" => "tgp_read_more_text",
|
252 |
+
"id" => "tgp_read_more_text",
|
253 |
+
),
|
254 |
'tpg_overlay' => array(
|
255 |
"type" => "checkbox",
|
256 |
"name" => "tpg_overlay",
|
lib/classes/rtTPGShortCode.php
CHANGED
@@ -60,12 +60,15 @@ if ( ! class_exists( 'rtTPGShortCode' ) ):
|
|
60 |
if ( ! in_array( $col, array_keys( $rtTPG->rtTPGColumns() ) ) ) {
|
61 |
$col = 4;
|
62 |
}
|
63 |
-
$fImg
|
64 |
-
$fImgSize
|
65 |
-
$mediaSource
|
66 |
-
$excerpt_type
|
67 |
-
$excerpt_limit
|
68 |
-
$excerpt_more_text
|
|
|
|
|
|
|
69 |
|
70 |
|
71 |
$isIsotope = preg_match( '/isotope/', $layout );
|
@@ -186,13 +189,10 @@ if ( ! class_exists( 'rtTPGShortCode' ) ):
|
|
186 |
}
|
187 |
|
188 |
// Validation
|
189 |
-
if ( ! in_array( $col, array_keys( $rtTPG->rtTPGColumns() ) ) ) {
|
190 |
-
$col = 4;
|
191 |
-
}
|
192 |
-
|
193 |
if ( ! in_array( $layout, array_keys( $rtTPG->rtTPGLayouts() ) ) ) {
|
194 |
$layout = 'layout1';
|
195 |
}
|
|
|
196 |
if ( ( $layout == 'layout2' ) || ( $layout == 'layout3' ) ) {
|
197 |
$iCol = ( isset( $scMeta['tgp_layout2_image_column'][0] ) ? absint( $scMeta['tgp_layout2_image_column'][0] ) : 4 );
|
198 |
$iCol = $iCol > 12 ? 4 : $iCol;
|
@@ -200,7 +200,7 @@ if ( ! class_exists( 'rtTPGShortCode' ) ):
|
|
200 |
$arg['image_area'] = "rt-col-sm-{$iCol} rt-col-xs-12 ";
|
201 |
$arg['content_area'] = "rt-col-sm-{$cCol} rt-col-xs-12 ";
|
202 |
}
|
203 |
-
$col = round( 12 / $col );
|
204 |
if ( ( $layout == 'layout2' ) || ( $layout == 'layout3' ) ) {
|
205 |
$arg['grid'] = "rt-col-lg-{$col} rt-col-md-{$col} rt-col-sm-12 rt-col-xs-12";
|
206 |
} else {
|
@@ -292,7 +292,7 @@ if ( ! class_exists( 'rtTPGShortCode' ) ):
|
|
292 |
}
|
293 |
$imgSrc = null;
|
294 |
|
295 |
-
$arg['imgSrc'] =
|
296 |
|
297 |
$html .= $rtTPG->render( 'layouts/' . $layout, $arg, true );
|
298 |
|
60 |
if ( ! in_array( $col, array_keys( $rtTPG->rtTPGColumns() ) ) ) {
|
61 |
$col = 4;
|
62 |
}
|
63 |
+
$fImg = ( isset( $scMeta['featured_image'][0] ) ? true : false );
|
64 |
+
$fImgSize = ( isset( $scMeta['featured_image_size'][0] ) ? $scMeta['featured_image_size'][0] : "medium" );
|
65 |
+
$mediaSource = ( isset( $scMeta['media_source'][0] ) ? $scMeta['media_source'][0] : "feature_image" );
|
66 |
+
$excerpt_type = ( isset( $scMeta['tgp_excerpt_type'][0] ) ? $scMeta['tgp_excerpt_type'][0] : 'character' );
|
67 |
+
$excerpt_limit = ( isset( $scMeta['excerpt_limit'][0] ) ? absint( $scMeta['excerpt_limit'][0] ) : 0 );
|
68 |
+
$excerpt_more_text = ( isset( $scMeta['tgp_excerpt_more_text'][0] ) ? $scMeta['tgp_excerpt_more_text'][0] : null );
|
69 |
+
$read_more_text = ( ! empty( $scMeta['tgp_read_more_text'][0] ) ? $scMeta['tgp_read_more_text'][0] : __( 'Read More',
|
70 |
+
'the-post-grid' ) );
|
71 |
+
$arg['read_more_text'] = $read_more_text;
|
72 |
|
73 |
|
74 |
$isIsotope = preg_match( '/isotope/', $layout );
|
189 |
}
|
190 |
|
191 |
// Validation
|
|
|
|
|
|
|
|
|
192 |
if ( ! in_array( $layout, array_keys( $rtTPG->rtTPGLayouts() ) ) ) {
|
193 |
$layout = 'layout1';
|
194 |
}
|
195 |
+
|
196 |
if ( ( $layout == 'layout2' ) || ( $layout == 'layout3' ) ) {
|
197 |
$iCol = ( isset( $scMeta['tgp_layout2_image_column'][0] ) ? absint( $scMeta['tgp_layout2_image_column'][0] ) : 4 );
|
198 |
$iCol = $iCol > 12 ? 4 : $iCol;
|
200 |
$arg['image_area'] = "rt-col-sm-{$iCol} rt-col-xs-12 ";
|
201 |
$arg['content_area'] = "rt-col-sm-{$cCol} rt-col-xs-12 ";
|
202 |
}
|
203 |
+
$col = $col == 5 ? "24" : round( 12 / $col );
|
204 |
if ( ( $layout == 'layout2' ) || ( $layout == 'layout3' ) ) {
|
205 |
$arg['grid'] = "rt-col-lg-{$col} rt-col-md-{$col} rt-col-sm-12 rt-col-xs-12";
|
206 |
} else {
|
292 |
}
|
293 |
$imgSrc = null;
|
294 |
|
295 |
+
$arg['imgSrc'] = ! $fImg ? $rtTPG->getFeatureImageSrc( $pID, $fImgSize, $mediaSource ) : null;
|
296 |
|
297 |
$html .= $rtTPG->render( 'layouts/' . $layout, $arg, true );
|
298 |
|
lib/views/layouts/layout1.php
CHANGED
@@ -52,7 +52,7 @@ $html .= "<div class='{$grid} {$class}'>";
|
|
52 |
|
53 |
|
54 |
if(in_array('read_more', $items)){
|
55 |
-
$postMetaBottom .= "<span class='read-more'><a href='{$pLink}'>
|
56 |
}
|
57 |
if(!empty($postMetaBottom)){
|
58 |
$html .= "<div class='post-meta'>$postMetaBottom</div>";
|
52 |
|
53 |
|
54 |
if(in_array('read_more', $items)){
|
55 |
+
$postMetaBottom .= "<span class='read-more'><a href='{$pLink}'>{$read_more_text}</a></span>";
|
56 |
}
|
57 |
if(!empty($postMetaBottom)){
|
58 |
$html .= "<div class='post-meta'>$postMetaBottom</div>";
|
lib/views/layouts/layout2.php
CHANGED
@@ -49,7 +49,7 @@ $html .= "<div class='{$grid} {$class}'>";
|
|
49 |
$html .= "<p>{$excerpt}</p>";
|
50 |
}
|
51 |
if(in_array('read_more', $items)){
|
52 |
-
$html .= "<span class='read-more'><a href='{$pLink}'>
|
53 |
}
|
54 |
$html .= '</div>';
|
55 |
$html .= '</div>';
|
49 |
$html .= "<p>{$excerpt}</p>";
|
50 |
}
|
51 |
if(in_array('read_more', $items)){
|
52 |
+
$html .= "<span class='read-more'><a href='{$pLink}'>{$read_more_text}</a></span>";
|
53 |
}
|
54 |
$html .= '</div>';
|
55 |
$html .= '</div>';
|
lib/views/layouts/layout3.php
CHANGED
@@ -50,7 +50,7 @@ $html .= "<div class='{$grid} {$class}'>";
|
|
50 |
$html .= "<div class='post-content'>{$excerpt}</div>";
|
51 |
}
|
52 |
if(in_array('read_more', $items)){
|
53 |
-
$html .= "<span class='read-more'><a href='{$pLink}'>
|
54 |
}
|
55 |
$html .= '</div>';
|
56 |
$html .= '</div>';
|
50 |
$html .= "<div class='post-content'>{$excerpt}</div>";
|
51 |
}
|
52 |
if(in_array('read_more', $items)){
|
53 |
+
$html .= "<span class='read-more'><a href='{$pLink}'>{$read_more_text}</a></span>";
|
54 |
}
|
55 |
$html .= '</div>';
|
56 |
$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: 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.3
|
8 |
* Text Domain: the-post-grid
|
9 |
* Domain Path: /languages
|
10 |
* Author URI: https://radiustheme.com/
|