Version Description
(Sept 23, 2022) = * Added: Schema Issue Fixed;
Download this release
Release Info
Developer | kcseopro |
Plugin | WP SEO Structured Data Schema |
Version | 2.7.5 |
Comparing to | |
See all releases |
Code changes from version 2.7.4 to 2.7.5
- README.txt +6 -3
- languages/wp-seo-structured-data-schema.pot +59 -71
- lib/functions/KcSeoOptions.php +0 -101
- lib/models/KcSeoSchemaModel.php +0 -73
- wp-seo-structured-data-schema.php +2 -2
README.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: kcseopro
|
|
3 |
Donate link:
|
4 |
Tags: seo, schema, structured data, rich snippets, microdata, json-ld, search engine optimization, local seo, google, sitelinks, schema.org, microformat, serp
|
5 |
Requires at least: 4.5
|
6 |
-
Tested up to:
|
7 |
-
Stable tag: 2.7.
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -130,8 +130,11 @@ You'll find the [FAQ on WPSEMPlugins.com](https://wpsemplugins.com/wordpress-seo
|
|
130 |
|
131 |
== Changelog ==
|
132 |
|
|
|
|
|
|
|
133 |
= 2.7.4 (Sept 15, 2022) =
|
134 |
-
* Added: New Schema Type TechArticle, MedicalWebPage
|
135 |
|
136 |
= 2.7.3 (Apr 04, 2022) =
|
137 |
* Fixed: Support Issue Fixed;
|
3 |
Donate link:
|
4 |
Tags: seo, schema, structured data, rich snippets, microdata, json-ld, search engine optimization, local seo, google, sitelinks, schema.org, microformat, serp
|
5 |
Requires at least: 4.5
|
6 |
+
Tested up to: 6.0
|
7 |
+
Stable tag: 2.7.5
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
130 |
|
131 |
== Changelog ==
|
132 |
|
133 |
+
= 2.7.5 (Sept 23, 2022) =
|
134 |
+
* Added: Schema Issue Fixed;
|
135 |
+
|
136 |
= 2.7.4 (Sept 15, 2022) =
|
137 |
+
* Added: New Schema Type TechArticle, MedicalWebPage;
|
138 |
|
139 |
= 2.7.3 (Apr 04, 2022) =
|
140 |
* Fixed: Support Issue Fixed;
|
languages/wp-seo-structured-data-schema.pot
CHANGED
@@ -57,11 +57,11 @@ msgstr ""
|
|
57 |
msgid "Movies"
|
58 |
msgstr ""
|
59 |
|
60 |
-
#: ../lib/classes/KcSeoHelper.php:492, ../lib/functions/KcSeoOptions.php:
|
61 |
msgid "Music"
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: ../lib/classes/KcSeoHelper.php:493, ../lib/functions/KcSeoOptions.php:
|
65 |
msgid "Recipe"
|
66 |
msgstr ""
|
67 |
|
@@ -69,11 +69,11 @@ msgstr ""
|
|
69 |
msgid "TV Episode"
|
70 |
msgstr ""
|
71 |
|
72 |
-
#: ../lib/classes/KcSeoHelper.php:495, ../lib/functions/KcSeoOptions.php:
|
73 |
msgid "QAPage"
|
74 |
msgstr ""
|
75 |
|
76 |
-
#: ../lib/classes/KcSeoHelper.php:496, ../lib/functions/KcSeoOptions.php:
|
77 |
msgid "Item List"
|
78 |
msgstr ""
|
79 |
|
@@ -141,7 +141,7 @@ msgstr ""
|
|
141 |
msgid "Article title"
|
142 |
msgstr ""
|
143 |
|
144 |
-
#: ../lib/functions/KcSeoOptions.php:27, ../lib/functions/KcSeoOptions.php:187, ../lib/functions/KcSeoOptions.php:285, ../lib/functions/KcSeoOptions.php:439, ../lib/functions/KcSeoOptions.php:
|
145 |
msgid "Page URL"
|
146 |
msgstr ""
|
147 |
|
@@ -149,15 +149,15 @@ msgstr ""
|
|
149 |
msgid "The canonical URL of the article page"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: ../lib/functions/KcSeoOptions.php:33, ../lib/functions/KcSeoOptions.php:203
|
153 |
msgid "Author Name"
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: ../lib/functions/KcSeoOptions.php:35, ../lib/functions/KcSeoOptions.php:205, ../lib/functions/KcSeoOptions.php:293, ../lib/functions/KcSeoOptions.php:447
|
157 |
msgid "Author display name"
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: ../lib/functions/KcSeoOptions.php:39, ../lib/functions/KcSeoOptions.php:209, ../lib/functions/KcSeoOptions.php:297, ../lib/functions/KcSeoOptions.php:451
|
161 |
msgid "Author URL"
|
162 |
msgstr ""
|
163 |
|
@@ -169,39 +169,39 @@ msgstr ""
|
|
169 |
msgid "Images should be at least 696 pixels wide.<br>Images should be in .jpg, .png, or. gif format."
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: ../lib/functions/KcSeoOptions.php:51, ../lib/functions/KcSeoOptions.php:226, ../lib/functions/KcSeoOptions.php:309, ../lib/functions/KcSeoOptions.php:463, ../lib/functions/KcSeoOptions.php:1505, ../lib/functions/KcSeoOptions.php:
|
173 |
msgid "Published date"
|
174 |
msgstr ""
|
175 |
|
176 |
-
#: ../lib/functions/KcSeoOptions.php:55, ../lib/functions/KcSeoOptions.php:62, ../lib/functions/KcSeoOptions.php:230, ../lib/functions/KcSeoOptions.php:237, ../lib/functions/KcSeoOptions.php:312, ../lib/functions/KcSeoOptions.php:319, ../lib/functions/KcSeoOptions.php:466, ../lib/functions/KcSeoOptions.php:474, ../lib/functions/KcSeoOptions.php:739, ../lib/functions/KcSeoOptions.php:975, ../lib/functions/KcSeoOptions.php:1204, ../lib/functions/KcSeoOptions.php:1453, ../lib/functions/KcSeoOptions.php:1508, ../lib/functions/KcSeoOptions.php:1514, ../lib/functions/KcSeoOptions.php:
|
177 |
msgid "Like this: 2021-12-25 14:20:00"
|
178 |
msgstr ""
|
179 |
|
180 |
-
#: ../lib/functions/KcSeoOptions.php:58, ../lib/functions/KcSeoOptions.php:233, ../lib/functions/KcSeoOptions.php:316, ../lib/functions/KcSeoOptions.php:470, ../lib/functions/KcSeoOptions.php:1511
|
181 |
msgid "Modified date"
|
182 |
msgstr ""
|
183 |
|
184 |
-
#: ../lib/functions/KcSeoOptions.php:65, ../lib/functions/KcSeoOptions.php:240, ../lib/functions/KcSeoOptions.php:323, ../lib/functions/KcSeoOptions.php:477, ../lib/functions/KcSeoOptions.php:1517
|
185 |
msgid "Publisher"
|
186 |
msgstr ""
|
187 |
|
188 |
-
#: ../lib/functions/KcSeoOptions.php:67, ../lib/functions/KcSeoOptions.php:242, ../lib/functions/KcSeoOptions.php:325, ../lib/functions/KcSeoOptions.php:479, ../lib/functions/KcSeoOptions.php:1519
|
189 |
msgid "Publisher name or Organization name"
|
190 |
msgstr ""
|
191 |
|
192 |
-
#: ../lib/functions/KcSeoOptions.php:71, ../lib/functions/KcSeoOptions.php:246, ../lib/functions/KcSeoOptions.php:329, ../lib/functions/KcSeoOptions.php:483, ../lib/functions/KcSeoOptions.php:1522, ../lib/
|
193 |
msgid "Publisher Logo"
|
194 |
msgstr ""
|
195 |
|
196 |
-
#: ../lib/functions/KcSeoOptions.php:73, ../lib/functions/KcSeoOptions.php:248, ../lib/functions/KcSeoOptions.php:331, ../lib/functions/KcSeoOptions.php:485, ../lib/functions/KcSeoOptions.php:1524
|
197 |
msgid "Logos should have a wide aspect ratio, not a square icon.<br>Logos should be no wider than 600px, and no taller than 60px.<br>Always retain the original aspect ratio of the logo when resizing. Ideally, logos are exactly 60px tall with width <= 600px. If maintaining a height of 60px would cause the width to exceed 600px, downscale the logo to exactly 600px wide and reduce the height accordingly below 60px to maintain the original aspect ratio.<br>"
|
198 |
msgstr ""
|
199 |
|
200 |
-
#: ../lib/functions/KcSeoOptions.php:77, ../lib/functions/KcSeoOptions.php:105, ../lib/functions/KcSeoOptions.php:149, ../lib/functions/KcSeoOptions.php:252, ../lib/functions/KcSeoOptions.php:335, ../lib/functions/KcSeoOptions.php:358, ../lib/functions/KcSeoOptions.php:402, ../lib/functions/KcSeoOptions.php:489, ../lib/functions/KcSeoOptions.php:512, ../lib/functions/KcSeoOptions.php:556, ../lib/functions/KcSeoOptions.php:619, ../lib/functions/KcSeoOptions.php:780, ../lib/functions/KcSeoOptions.php:930, ../lib/functions/KcSeoOptions.php:993, ../lib/functions/KcSeoOptions.php:1107, ../lib/functions/KcSeoOptions.php:1139, ../lib/functions/KcSeoOptions.php:1278, ../lib/functions/KcSeoOptions.php:1385, ../lib/functions/KcSeoOptions.php:1543, ../lib/
|
201 |
msgid "Description"
|
202 |
msgstr ""
|
203 |
|
204 |
-
#: ../lib/functions/KcSeoOptions.php:79, ../lib/functions/KcSeoOptions.php:217, ../lib/functions/KcSeoOptions.php:254, ../lib/functions/KcSeoOptions.php:337, ../lib/functions/KcSeoOptions.php:491, ../lib/functions/KcSeoOptions.php:1545
|
205 |
msgid "Short description. New line is not supported."
|
206 |
msgstr ""
|
207 |
|
@@ -225,11 +225,11 @@ msgstr ""
|
|
225 |
msgid "Video"
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: ../lib/functions/KcSeoOptions.php:101, ../lib/functions/KcSeoOptions.php:144, ../lib/functions/KcSeoOptions.php:354, ../lib/functions/KcSeoOptions.php:397, ../lib/functions/KcSeoOptions.php:508, ../lib/functions/KcSeoOptions.php:551, ../lib/functions/KcSeoOptions.php:587, ../lib/functions/KcSeoOptions.php:769, ../lib/functions/KcSeoOptions.php:924, ../lib/functions/KcSeoOptions.php:987, ../lib/functions/KcSeoOptions.php:1024, ../lib/functions/KcSeoOptions.php:1102, ../lib/functions/KcSeoOptions.php:1134, ../lib/functions/KcSeoOptions.php:1380, ../lib/functions/KcSeoOptions.php:
|
229 |
msgid "Name"
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: ../lib/functions/KcSeoOptions.php:109, ../lib/functions/KcSeoOptions.php:362, ../lib/functions/KcSeoOptions.php:457, ../lib/functions/KcSeoOptions.php:516, ../lib/functions/KcSeoOptions.php:775, ../lib/functions/KcSeoOptions.php:1111, ../lib/functions/KcSeoOptions.php:1143, ../lib/functions/KcSeoOptions.php:1352, ../lib/functions/KcSeoOptions.php:1499, ../lib/functions/KcSeoOptions.php:
|
233 |
msgid "Image"
|
234 |
msgstr ""
|
235 |
|
@@ -277,7 +277,7 @@ msgstr ""
|
|
277 |
msgid "The duration of the audio in ISO 8601 format.(PT1M33S)"
|
278 |
msgstr ""
|
279 |
|
280 |
-
#: ../lib/functions/KcSeoOptions.php:160, ../lib/functions/KcSeoOptions.php:413, ../lib/functions/KcSeoOptions.php:567, ../lib/functions/KcSeoOptions.php:1115, ../lib/functions/KcSeoOptions.php:1147, ../lib/functions/KcSeoOptions.php:1152, ../lib/functions/KcSeoOptions.php:
|
281 |
msgid "URL"
|
282 |
msgstr ""
|
283 |
|
@@ -297,19 +297,19 @@ msgstr ""
|
|
297 |
msgid "Tech Article"
|
298 |
msgstr ""
|
299 |
|
300 |
-
#: ../lib/functions/KcSeoOptions.php:193
|
301 |
msgid "Author Type"
|
302 |
msgstr ""
|
303 |
|
304 |
-
#: ../lib/functions/KcSeoOptions.php:196
|
305 |
msgid "Select one"
|
306 |
msgstr ""
|
307 |
|
308 |
-
#: ../lib/functions/KcSeoOptions.php:215
|
309 |
msgid "Author Description"
|
310 |
msgstr ""
|
311 |
|
312 |
-
#: ../lib/functions/KcSeoOptions.php:263, ../lib/functions/KcSeoOptions.php:1548
|
313 |
msgid "Keywords"
|
314 |
msgstr ""
|
315 |
|
@@ -796,7 +796,7 @@ msgstr ""
|
|
796 |
msgid "The item that is being rated."
|
797 |
msgstr ""
|
798 |
|
799 |
-
#: ../lib/functions/KcSeoOptions.php:1263, ../lib/functions/KcSeoOptions.php:1398, ../lib/functions/KcSeoOptions.php:
|
800 |
msgid "The price range of the business, for example $$$."
|
801 |
msgstr ""
|
802 |
|
@@ -936,7 +936,7 @@ msgstr ""
|
|
936 |
msgid "Medical WebPage"
|
937 |
msgstr ""
|
938 |
|
939 |
-
#: ../lib/functions/KcSeoOptions.php:1485
|
940 |
msgid "Medical title"
|
941 |
msgstr ""
|
942 |
|
@@ -944,7 +944,7 @@ msgstr ""
|
|
944 |
msgid "Webpage url"
|
945 |
msgstr ""
|
946 |
|
947 |
-
#: ../lib/functions/KcSeoOptions.php:1491
|
948 |
msgid "Web Page Url"
|
949 |
msgstr ""
|
950 |
|
@@ -956,11 +956,11 @@ msgstr ""
|
|
956 |
msgid "Specialty Url"
|
957 |
msgstr ""
|
958 |
|
959 |
-
#: ../lib/functions/KcSeoOptions.php:1528
|
960 |
msgid "Last Reviewed"
|
961 |
msgstr ""
|
962 |
|
963 |
-
#: ../lib/functions/KcSeoOptions.php:1531
|
964 |
msgid "Like this: 2021-12-25"
|
965 |
msgstr ""
|
966 |
|
@@ -968,135 +968,123 @@ msgstr ""
|
|
968 |
msgid "Main Content of Page"
|
969 |
msgstr ""
|
970 |
|
971 |
-
#: ../lib/functions/KcSeoOptions.php:
|
972 |
-
msgid "Collection Page"
|
973 |
-
msgstr ""
|
974 |
-
|
975 |
-
#: ../lib/functions/KcSeoOptions.php:1568
|
976 |
-
msgid "Url"
|
977 |
-
msgstr ""
|
978 |
-
|
979 |
-
#: ../lib/functions/KcSeoOptions.php:1615
|
980 |
-
msgid "Date Created"
|
981 |
-
msgstr ""
|
982 |
-
|
983 |
-
#: ../lib/functions/KcSeoOptions.php:1658
|
984 |
msgid "Book"
|
985 |
msgstr ""
|
986 |
|
987 |
-
#: ../lib/functions/KcSeoOptions.php:
|
988 |
msgid "Course"
|
989 |
msgstr ""
|
990 |
|
991 |
-
#: ../lib/functions/KcSeoOptions.php:
|
992 |
msgid "Job Posting"
|
993 |
msgstr ""
|
994 |
|
995 |
-
#: ../lib/functions/KcSeoOptions.php:
|
996 |
msgid "Movie"
|
997 |
msgstr ""
|
998 |
|
999 |
-
#: ../lib/functions/KcSeoOptions.php:
|
1000 |
msgid "TVEpisode"
|
1001 |
msgstr ""
|
1002 |
|
1003 |
-
#: ../lib/functions/KcSeoOptions.php:
|
1004 |
msgid "Special Announcement"
|
1005 |
msgstr ""
|
1006 |
|
1007 |
-
#: ../lib/functions/KcSeoOptions.php:
|
1008 |
msgid "SpecialAnnouncement.name: Name of the announcement. This text should be present on the underlying page."
|
1009 |
msgstr ""
|
1010 |
|
1011 |
-
#: ../lib/functions/KcSeoOptions.php:
|
1012 |
msgid "SpecialAnnouncement.url: URL of the page containing the announcements. If present, this must match the URL of the page containing the information."
|
1013 |
msgstr ""
|
1014 |
|
1015 |
-
#: ../lib/functions/KcSeoOptions.php:
|
1016 |
msgid "Expires date"
|
1017 |
msgstr ""
|
1018 |
|
1019 |
-
#: ../lib/functions/KcSeoOptions.php:
|
1020 |
msgid "Text"
|
1021 |
msgstr ""
|
1022 |
|
1023 |
-
#: ../lib/functions/KcSeoOptions.php:
|
1024 |
msgid "SpecialAnnouncement.text: Text of the announcements."
|
1025 |
msgstr ""
|
1026 |
|
1027 |
-
#: ../lib/functions/KcSeoOptions.php:
|
1028 |
msgid "Announcement Locations"
|
1029 |
msgstr ""
|
1030 |
|
1031 |
-
#: ../lib/functions/KcSeoOptions.php:
|
1032 |
msgid "Announcement Location"
|
1033 |
msgstr ""
|
1034 |
|
1035 |
-
#: ../lib/functions/KcSeoOptions.php:
|
1036 |
msgid "Type"
|
1037 |
msgstr ""
|
1038 |
|
1039 |
-
#: ../lib/functions/KcSeoOptions.php:
|
1040 |
msgid "SpecialAnnouncement.announcementLocation.name: "
|
1041 |
msgstr ""
|
1042 |
|
1043 |
-
#: ../lib/functions/KcSeoOptions.php:
|
1044 |
msgid "SpecialAnnouncement.announcementLocation.url: URL"
|
1045 |
msgstr ""
|
1046 |
|
1047 |
-
#: ../lib/functions/KcSeoOptions.php:
|
1048 |
msgid "Address: Street"
|
1049 |
msgstr ""
|
1050 |
|
1051 |
-
#: ../lib/functions/KcSeoOptions.php:
|
1052 |
msgid "SpecialAnnouncement.announcementLocation.address.streetAddress: The street address. For example, 1600 Amphitheatre Pkwy."
|
1053 |
msgstr ""
|
1054 |
|
1055 |
-
#: ../lib/functions/KcSeoOptions.php:
|
1056 |
msgid "Address: Locality"
|
1057 |
msgstr ""
|
1058 |
|
1059 |
-
#: ../lib/functions/KcSeoOptions.php:
|
1060 |
msgid "SpecialAnnouncement.announcementLocation.address.addressLocality: The locality in which the street address is, and which is in the region. For example, Mountain View."
|
1061 |
msgstr ""
|
1062 |
|
1063 |
-
#: ../lib/functions/KcSeoOptions.php:
|
1064 |
msgid "Address: Post Code"
|
1065 |
msgstr ""
|
1066 |
|
1067 |
-
#: ../lib/functions/KcSeoOptions.php:
|
1068 |
msgid "SpecialAnnouncement.announcementLocation.address.postalCode: The postal code. For example, 94043."
|
1069 |
msgstr ""
|
1070 |
|
1071 |
-
#: ../lib/functions/KcSeoOptions.php:
|
1072 |
msgid "Address: Region"
|
1073 |
msgstr ""
|
1074 |
|
1075 |
-
#: ../lib/functions/KcSeoOptions.php:
|
1076 |
msgid "SpecialAnnouncement.announcementLocation.address.addressRegion: The region in which the locality is, and which is in the country. For example, California."
|
1077 |
msgstr ""
|
1078 |
|
1079 |
-
#: ../lib/functions/KcSeoOptions.php:
|
1080 |
msgid "Address: Country"
|
1081 |
msgstr ""
|
1082 |
|
1083 |
-
#: ../lib/functions/KcSeoOptions.php:
|
1084 |
msgid "SpecialAnnouncement.announcementLocation.address.addressCountry: The country. For example, USA. You can also provide the two-letter ISO 3166-1 alpha-2 country code."
|
1085 |
msgstr ""
|
1086 |
|
1087 |
-
#: ../lib/functions/KcSeoOptions.php:
|
1088 |
msgid "ID"
|
1089 |
msgstr ""
|
1090 |
|
1091 |
-
#: ../lib/functions/KcSeoOptions.php:
|
1092 |
msgid "SpecialAnnouncement.announcementLocation.@id: An optional unique identifier so that you can reference pre-existing structured data for this location."
|
1093 |
msgstr ""
|
1094 |
|
1095 |
-
#: ../lib/models/KcSeoSchemaModel.php:
|
1096 |
msgid "Required"
|
1097 |
msgstr ""
|
1098 |
|
1099 |
-
#: ../lib/models/KcSeoSchemaModel.php:
|
1100 |
msgid "Recommended"
|
1101 |
msgstr ""
|
1102 |
|
57 |
msgid "Movies"
|
58 |
msgstr ""
|
59 |
|
60 |
+
#: ../lib/classes/KcSeoHelper.php:492, ../lib/functions/KcSeoOptions.php:1573
|
61 |
msgid "Music"
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: ../lib/classes/KcSeoHelper.php:493, ../lib/functions/KcSeoOptions.php:1577
|
65 |
msgid "Recipe"
|
66 |
msgstr ""
|
67 |
|
69 |
msgid "TV Episode"
|
70 |
msgstr ""
|
71 |
|
72 |
+
#: ../lib/classes/KcSeoHelper.php:495, ../lib/functions/KcSeoOptions.php:1585
|
73 |
msgid "QAPage"
|
74 |
msgstr ""
|
75 |
|
76 |
+
#: ../lib/classes/KcSeoHelper.php:496, ../lib/functions/KcSeoOptions.php:1589
|
77 |
msgid "Item List"
|
78 |
msgstr ""
|
79 |
|
141 |
msgid "Article title"
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: ../lib/functions/KcSeoOptions.php:27, ../lib/functions/KcSeoOptions.php:187, ../lib/functions/KcSeoOptions.php:285, ../lib/functions/KcSeoOptions.php:439, ../lib/functions/KcSeoOptions.php:1604
|
145 |
msgid "Page URL"
|
146 |
msgstr ""
|
147 |
|
149 |
msgid "The canonical URL of the article page"
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: ../lib/functions/KcSeoOptions.php:33, ../lib/functions/KcSeoOptions.php:203
|
153 |
msgid "Author Name"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: ../lib/functions/KcSeoOptions.php:35, ../lib/functions/KcSeoOptions.php:205, ../lib/functions/KcSeoOptions.php:293, ../lib/functions/KcSeoOptions.php:447
|
157 |
msgid "Author display name"
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: ../lib/functions/KcSeoOptions.php:39, ../lib/functions/KcSeoOptions.php:209, ../lib/functions/KcSeoOptions.php:297, ../lib/functions/KcSeoOptions.php:451
|
161 |
msgid "Author URL"
|
162 |
msgstr ""
|
163 |
|
169 |
msgid "Images should be at least 696 pixels wide.<br>Images should be in .jpg, .png, or. gif format."
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: ../lib/functions/KcSeoOptions.php:51, ../lib/functions/KcSeoOptions.php:226, ../lib/functions/KcSeoOptions.php:309, ../lib/functions/KcSeoOptions.php:463, ../lib/functions/KcSeoOptions.php:1505, ../lib/functions/KcSeoOptions.php:1610
|
173 |
msgid "Published date"
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: ../lib/functions/KcSeoOptions.php:55, ../lib/functions/KcSeoOptions.php:62, ../lib/functions/KcSeoOptions.php:230, ../lib/functions/KcSeoOptions.php:237, ../lib/functions/KcSeoOptions.php:312, ../lib/functions/KcSeoOptions.php:319, ../lib/functions/KcSeoOptions.php:466, ../lib/functions/KcSeoOptions.php:474, ../lib/functions/KcSeoOptions.php:739, ../lib/functions/KcSeoOptions.php:975, ../lib/functions/KcSeoOptions.php:1204, ../lib/functions/KcSeoOptions.php:1453, ../lib/functions/KcSeoOptions.php:1508, ../lib/functions/KcSeoOptions.php:1514, ../lib/functions/KcSeoOptions.php:1613, ../lib/functions/KcSeoOptions.php:1620
|
177 |
msgid "Like this: 2021-12-25 14:20:00"
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: ../lib/functions/KcSeoOptions.php:58, ../lib/functions/KcSeoOptions.php:233, ../lib/functions/KcSeoOptions.php:316, ../lib/functions/KcSeoOptions.php:470, ../lib/functions/KcSeoOptions.php:1511
|
181 |
msgid "Modified date"
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: ../lib/functions/KcSeoOptions.php:65, ../lib/functions/KcSeoOptions.php:240, ../lib/functions/KcSeoOptions.php:323, ../lib/functions/KcSeoOptions.php:477, ../lib/functions/KcSeoOptions.php:1517
|
185 |
msgid "Publisher"
|
186 |
msgstr ""
|
187 |
|
188 |
+
#: ../lib/functions/KcSeoOptions.php:67, ../lib/functions/KcSeoOptions.php:242, ../lib/functions/KcSeoOptions.php:325, ../lib/functions/KcSeoOptions.php:479, ../lib/functions/KcSeoOptions.php:1519
|
189 |
msgid "Publisher name or Organization name"
|
190 |
msgstr ""
|
191 |
|
192 |
+
#: ../lib/functions/KcSeoOptions.php:71, ../lib/functions/KcSeoOptions.php:246, ../lib/functions/KcSeoOptions.php:329, ../lib/functions/KcSeoOptions.php:483, ../lib/functions/KcSeoOptions.php:1522, ../lib/views/settings.php:86
|
193 |
msgid "Publisher Logo"
|
194 |
msgstr ""
|
195 |
|
196 |
+
#: ../lib/functions/KcSeoOptions.php:73, ../lib/functions/KcSeoOptions.php:248, ../lib/functions/KcSeoOptions.php:331, ../lib/functions/KcSeoOptions.php:485, ../lib/functions/KcSeoOptions.php:1524
|
197 |
msgid "Logos should have a wide aspect ratio, not a square icon.<br>Logos should be no wider than 600px, and no taller than 60px.<br>Always retain the original aspect ratio of the logo when resizing. Ideally, logos are exactly 60px tall with width <= 600px. If maintaining a height of 60px would cause the width to exceed 600px, downscale the logo to exactly 600px wide and reduce the height accordingly below 60px to maintain the original aspect ratio.<br>"
|
198 |
msgstr ""
|
199 |
|
200 |
+
#: ../lib/functions/KcSeoOptions.php:77, ../lib/functions/KcSeoOptions.php:105, ../lib/functions/KcSeoOptions.php:149, ../lib/functions/KcSeoOptions.php:252, ../lib/functions/KcSeoOptions.php:335, ../lib/functions/KcSeoOptions.php:358, ../lib/functions/KcSeoOptions.php:402, ../lib/functions/KcSeoOptions.php:489, ../lib/functions/KcSeoOptions.php:512, ../lib/functions/KcSeoOptions.php:556, ../lib/functions/KcSeoOptions.php:619, ../lib/functions/KcSeoOptions.php:780, ../lib/functions/KcSeoOptions.php:930, ../lib/functions/KcSeoOptions.php:993, ../lib/functions/KcSeoOptions.php:1107, ../lib/functions/KcSeoOptions.php:1139, ../lib/functions/KcSeoOptions.php:1278, ../lib/functions/KcSeoOptions.php:1385, ../lib/functions/KcSeoOptions.php:1543, ../lib/views/schema-options.php:170, ../lib/views/schema-options.php:255
|
201 |
msgid "Description"
|
202 |
msgstr ""
|
203 |
|
204 |
+
#: ../lib/functions/KcSeoOptions.php:79, ../lib/functions/KcSeoOptions.php:217, ../lib/functions/KcSeoOptions.php:254, ../lib/functions/KcSeoOptions.php:337, ../lib/functions/KcSeoOptions.php:491, ../lib/functions/KcSeoOptions.php:1545
|
205 |
msgid "Short description. New line is not supported."
|
206 |
msgstr ""
|
207 |
|
225 |
msgid "Video"
|
226 |
msgstr ""
|
227 |
|
228 |
+
#: ../lib/functions/KcSeoOptions.php:101, ../lib/functions/KcSeoOptions.php:144, ../lib/functions/KcSeoOptions.php:354, ../lib/functions/KcSeoOptions.php:397, ../lib/functions/KcSeoOptions.php:508, ../lib/functions/KcSeoOptions.php:551, ../lib/functions/KcSeoOptions.php:587, ../lib/functions/KcSeoOptions.php:769, ../lib/functions/KcSeoOptions.php:924, ../lib/functions/KcSeoOptions.php:987, ../lib/functions/KcSeoOptions.php:1024, ../lib/functions/KcSeoOptions.php:1102, ../lib/functions/KcSeoOptions.php:1134, ../lib/functions/KcSeoOptions.php:1380, ../lib/functions/KcSeoOptions.php:1598, ../lib/functions/KcSeoOptions.php:1645, ../lib/views/schema-options.php:224
|
229 |
msgid "Name"
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: ../lib/functions/KcSeoOptions.php:109, ../lib/functions/KcSeoOptions.php:362, ../lib/functions/KcSeoOptions.php:457, ../lib/functions/KcSeoOptions.php:516, ../lib/functions/KcSeoOptions.php:775, ../lib/functions/KcSeoOptions.php:1111, ../lib/functions/KcSeoOptions.php:1143, ../lib/functions/KcSeoOptions.php:1352, ../lib/functions/KcSeoOptions.php:1499, ../lib/functions/KcSeoOptions.php:1692, ../lib/views/schema-options.php:247
|
233 |
msgid "Image"
|
234 |
msgstr ""
|
235 |
|
277 |
msgid "The duration of the audio in ISO 8601 format.(PT1M33S)"
|
278 |
msgstr ""
|
279 |
|
280 |
+
#: ../lib/functions/KcSeoOptions.php:160, ../lib/functions/KcSeoOptions.php:413, ../lib/functions/KcSeoOptions.php:567, ../lib/functions/KcSeoOptions.php:1115, ../lib/functions/KcSeoOptions.php:1147, ../lib/functions/KcSeoOptions.php:1152, ../lib/functions/KcSeoOptions.php:1651
|
281 |
msgid "URL"
|
282 |
msgstr ""
|
283 |
|
297 |
msgid "Tech Article"
|
298 |
msgstr ""
|
299 |
|
300 |
+
#: ../lib/functions/KcSeoOptions.php:193
|
301 |
msgid "Author Type"
|
302 |
msgstr ""
|
303 |
|
304 |
+
#: ../lib/functions/KcSeoOptions.php:196
|
305 |
msgid "Select one"
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: ../lib/functions/KcSeoOptions.php:215
|
309 |
msgid "Author Description"
|
310 |
msgstr ""
|
311 |
|
312 |
+
#: ../lib/functions/KcSeoOptions.php:263, ../lib/functions/KcSeoOptions.php:1548
|
313 |
msgid "Keywords"
|
314 |
msgstr ""
|
315 |
|
796 |
msgid "The item that is being rated."
|
797 |
msgstr ""
|
798 |
|
799 |
+
#: ../lib/functions/KcSeoOptions.php:1263, ../lib/functions/KcSeoOptions.php:1398, ../lib/functions/KcSeoOptions.php:1699, ../lib/views/schema-options.php:118
|
800 |
msgid "The price range of the business, for example $$$."
|
801 |
msgstr ""
|
802 |
|
936 |
msgid "Medical WebPage"
|
937 |
msgstr ""
|
938 |
|
939 |
+
#: ../lib/functions/KcSeoOptions.php:1485
|
940 |
msgid "Medical title"
|
941 |
msgstr ""
|
942 |
|
944 |
msgid "Webpage url"
|
945 |
msgstr ""
|
946 |
|
947 |
+
#: ../lib/functions/KcSeoOptions.php:1491
|
948 |
msgid "Web Page Url"
|
949 |
msgstr ""
|
950 |
|
956 |
msgid "Specialty Url"
|
957 |
msgstr ""
|
958 |
|
959 |
+
#: ../lib/functions/KcSeoOptions.php:1528
|
960 |
msgid "Last Reviewed"
|
961 |
msgstr ""
|
962 |
|
963 |
+
#: ../lib/functions/KcSeoOptions.php:1531
|
964 |
msgid "Like this: 2021-12-25"
|
965 |
msgstr ""
|
966 |
|
968 |
msgid "Main Content of Page"
|
969 |
msgstr ""
|
970 |
|
971 |
+
#: ../lib/functions/KcSeoOptions.php:1557
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
972 |
msgid "Book"
|
973 |
msgstr ""
|
974 |
|
975 |
+
#: ../lib/functions/KcSeoOptions.php:1561
|
976 |
msgid "Course"
|
977 |
msgstr ""
|
978 |
|
979 |
+
#: ../lib/functions/KcSeoOptions.php:1565
|
980 |
msgid "Job Posting"
|
981 |
msgstr ""
|
982 |
|
983 |
+
#: ../lib/functions/KcSeoOptions.php:1569
|
984 |
msgid "Movie"
|
985 |
msgstr ""
|
986 |
|
987 |
+
#: ../lib/functions/KcSeoOptions.php:1581
|
988 |
msgid "TVEpisode"
|
989 |
msgstr ""
|
990 |
|
991 |
+
#: ../lib/functions/KcSeoOptions.php:1592
|
992 |
msgid "Special Announcement"
|
993 |
msgstr ""
|
994 |
|
995 |
+
#: ../lib/functions/KcSeoOptions.php:1600
|
996 |
msgid "SpecialAnnouncement.name: Name of the announcement. This text should be present on the underlying page."
|
997 |
msgstr ""
|
998 |
|
999 |
+
#: ../lib/functions/KcSeoOptions.php:1606
|
1000 |
msgid "SpecialAnnouncement.url: URL of the page containing the announcements. If present, this must match the URL of the page containing the information."
|
1001 |
msgstr ""
|
1002 |
|
1003 |
+
#: ../lib/functions/KcSeoOptions.php:1617
|
1004 |
msgid "Expires date"
|
1005 |
msgstr ""
|
1006 |
|
1007 |
+
#: ../lib/functions/KcSeoOptions.php:1624
|
1008 |
msgid "Text"
|
1009 |
msgstr ""
|
1010 |
|
1011 |
+
#: ../lib/functions/KcSeoOptions.php:1626
|
1012 |
msgid "SpecialAnnouncement.text: Text of the announcements."
|
1013 |
msgstr ""
|
1014 |
|
1015 |
+
#: ../lib/functions/KcSeoOptions.php:1630
|
1016 |
msgid "Announcement Locations"
|
1017 |
msgstr ""
|
1018 |
|
1019 |
+
#: ../lib/functions/KcSeoOptions.php:1636
|
1020 |
msgid "Announcement Location"
|
1021 |
msgstr ""
|
1022 |
|
1023 |
+
#: ../lib/functions/KcSeoOptions.php:1639
|
1024 |
msgid "Type"
|
1025 |
msgstr ""
|
1026 |
|
1027 |
+
#: ../lib/functions/KcSeoOptions.php:1647
|
1028 |
msgid "SpecialAnnouncement.announcementLocation.name: "
|
1029 |
msgstr ""
|
1030 |
|
1031 |
+
#: ../lib/functions/KcSeoOptions.php:1654
|
1032 |
msgid "SpecialAnnouncement.announcementLocation.url: URL"
|
1033 |
msgstr ""
|
1034 |
|
1035 |
+
#: ../lib/functions/KcSeoOptions.php:1657
|
1036 |
msgid "Address: Street"
|
1037 |
msgstr ""
|
1038 |
|
1039 |
+
#: ../lib/functions/KcSeoOptions.php:1659
|
1040 |
msgid "SpecialAnnouncement.announcementLocation.address.streetAddress: The street address. For example, 1600 Amphitheatre Pkwy."
|
1041 |
msgstr ""
|
1042 |
|
1043 |
+
#: ../lib/functions/KcSeoOptions.php:1663
|
1044 |
msgid "Address: Locality"
|
1045 |
msgstr ""
|
1046 |
|
1047 |
+
#: ../lib/functions/KcSeoOptions.php:1665
|
1048 |
msgid "SpecialAnnouncement.announcementLocation.address.addressLocality: The locality in which the street address is, and which is in the region. For example, Mountain View."
|
1049 |
msgstr ""
|
1050 |
|
1051 |
+
#: ../lib/functions/KcSeoOptions.php:1669
|
1052 |
msgid "Address: Post Code"
|
1053 |
msgstr ""
|
1054 |
|
1055 |
+
#: ../lib/functions/KcSeoOptions.php:1671
|
1056 |
msgid "SpecialAnnouncement.announcementLocation.address.postalCode: The postal code. For example, 94043."
|
1057 |
msgstr ""
|
1058 |
|
1059 |
+
#: ../lib/functions/KcSeoOptions.php:1675
|
1060 |
msgid "Address: Region"
|
1061 |
msgstr ""
|
1062 |
|
1063 |
+
#: ../lib/functions/KcSeoOptions.php:1677
|
1064 |
msgid "SpecialAnnouncement.announcementLocation.address.addressRegion: The region in which the locality is, and which is in the country. For example, California."
|
1065 |
msgstr ""
|
1066 |
|
1067 |
+
#: ../lib/functions/KcSeoOptions.php:1681
|
1068 |
msgid "Address: Country"
|
1069 |
msgstr ""
|
1070 |
|
1071 |
+
#: ../lib/functions/KcSeoOptions.php:1683
|
1072 |
msgid "SpecialAnnouncement.announcementLocation.address.addressCountry: The country. For example, USA. You can also provide the two-letter ISO 3166-1 alpha-2 country code."
|
1073 |
msgstr ""
|
1074 |
|
1075 |
+
#: ../lib/functions/KcSeoOptions.php:1687
|
1076 |
msgid "ID"
|
1077 |
msgstr ""
|
1078 |
|
1079 |
+
#: ../lib/functions/KcSeoOptions.php:1689
|
1080 |
msgid "SpecialAnnouncement.announcementLocation.@id: An optional unique identifier so that you can reference pre-existing structured data for this location."
|
1081 |
msgstr ""
|
1082 |
|
1083 |
+
#: ../lib/models/KcSeoSchemaModel.php:1202
|
1084 |
msgid "Required"
|
1085 |
msgstr ""
|
1086 |
|
1087 |
+
#: ../lib/models/KcSeoSchemaModel.php:1203
|
1088 |
msgid "Recommended"
|
1089 |
msgstr ""
|
1090 |
|
lib/functions/KcSeoOptions.php
CHANGED
@@ -1551,107 +1551,6 @@ class KcSeoOptions
|
|
1551 |
|
1552 |
)
|
1553 |
),
|
1554 |
-
'CollectionPage' => array(
|
1555 |
-
'pro' => false,
|
1556 |
-
'title' => __('Collection Page', "wp-seo-structured-data-schema"),
|
1557 |
-
'fields' => array(
|
1558 |
-
'active' => array(
|
1559 |
-
'type' => 'checkbox'
|
1560 |
-
),
|
1561 |
-
'name' => array(
|
1562 |
-
'title' => __('Name', "wp-seo-structured-data-schema"),
|
1563 |
-
'type' => 'text',
|
1564 |
-
'desc' => __('Medical title', "wp-seo-structured-data-schema"),
|
1565 |
-
'required' => true
|
1566 |
-
),
|
1567 |
-
'webpage_url' => array(
|
1568 |
-
'title' => __('Url', "wp-seo-structured-data-schema"),
|
1569 |
-
'type' => 'url',
|
1570 |
-
'desc' => __('Web Page Url', "wp-seo-structured-data-schema"),
|
1571 |
-
),
|
1572 |
-
'description' => array(
|
1573 |
-
'title' => __('Description', "wp-seo-structured-data-schema"),
|
1574 |
-
'type' => 'textarea',
|
1575 |
-
'desc' => __('Short description. New line is not supported.', "wp-seo-structured-data-schema")
|
1576 |
-
),
|
1577 |
-
// 'maincontentofpage' => array(
|
1578 |
-
// 'title' => __('Main Content of Page', "wp-seo-structured-data-schema"),
|
1579 |
-
// 'type' => 'text'
|
1580 |
-
// ),
|
1581 |
-
|
1582 |
-
'image' => array(
|
1583 |
-
'title' => __('Image', "wp-seo-structured-data-schema"),
|
1584 |
-
'type' => 'image',
|
1585 |
-
'required' => true,
|
1586 |
-
),
|
1587 |
-
'author_type' => array(
|
1588 |
-
'title' => __('Author Type', "wp-seo-structured-data-schema"),
|
1589 |
-
'type' => 'select',
|
1590 |
-
'recommended' => true,
|
1591 |
-
'empty' => __("Select one", "wp-seo-structured-data-schema"),
|
1592 |
-
'options' => array(
|
1593 |
-
'Person' => 'Person',
|
1594 |
-
'Organization' => 'Organization'
|
1595 |
-
),
|
1596 |
-
),
|
1597 |
-
'author' => array(
|
1598 |
-
'title' => __('Author Name', "wp-seo-structured-data-schema"),
|
1599 |
-
'type' => 'text',
|
1600 |
-
'desc' => __('Author display name', "wp-seo-structured-data-schema"),
|
1601 |
-
'required' => true
|
1602 |
-
),
|
1603 |
-
'author_url' => array(
|
1604 |
-
'title' => __('Author URL', "wp-seo-structured-data-schema"),
|
1605 |
-
'type' => 'url',
|
1606 |
-
'required' => true,
|
1607 |
-
'default' => $author_url,
|
1608 |
-
),
|
1609 |
-
'author_description' => array(
|
1610 |
-
'title' => __('Author Description', "wp-seo-structured-data-schema"),
|
1611 |
-
'type' => 'textarea',
|
1612 |
-
'desc' => __('Short description. New line is not supported.', "wp-seo-structured-data-schema")
|
1613 |
-
),
|
1614 |
-
'DateCreated' => array(
|
1615 |
-
'title' => __('Date Created', "wp-seo-structured-data-schema"),
|
1616 |
-
'type' => 'text',
|
1617 |
-
'class' => 'kcseo-date',
|
1618 |
-
'desc' => __('Like this: 2021-12-25 14:20:00', "wp-seo-structured-data-schema")
|
1619 |
-
),
|
1620 |
-
'datePublished' => array(
|
1621 |
-
'title' => __('Published date', "wp-seo-structured-data-schema"),
|
1622 |
-
'type' => 'text',
|
1623 |
-
'class' => 'kcseo-date',
|
1624 |
-
'desc' => __('Like this: 2021-12-25 14:20:00', "wp-seo-structured-data-schema")
|
1625 |
-
),
|
1626 |
-
'dateModified' => array(
|
1627 |
-
'title' => __('Modified date', "wp-seo-structured-data-schema"),
|
1628 |
-
'type' => 'text',
|
1629 |
-
'class' => 'kcseo-date',
|
1630 |
-
'desc' => __('Like this: 2021-12-25 14:20:00', "wp-seo-structured-data-schema")
|
1631 |
-
),
|
1632 |
-
'publisher' => array(
|
1633 |
-
'title' => __('Publisher', "wp-seo-structured-data-schema"),
|
1634 |
-
'type' => 'text',
|
1635 |
-
'desc' => __('Publisher name or Organization name', "wp-seo-structured-data-schema"),
|
1636 |
-
),
|
1637 |
-
'publisherImage' => array(
|
1638 |
-
'title' => __('Publisher Logo', "wp-seo-structured-data-schema"),
|
1639 |
-
'type' => 'image',
|
1640 |
-
'desc' => __('Logos should have a wide aspect ratio, not a square icon.<br>Logos should be no wider than 600px, and no taller than 60px.<br>Always retain the original aspect ratio of the logo when resizing. Ideally, logos are exactly 60px tall with width <= 600px. If maintaining a height of 60px would cause the width to exceed 600px, downscale the logo to exactly 600px wide and reduce the height accordingly below 60px to maintain the original aspect ratio.<br>', "wp-seo-structured-data-schema"),
|
1641 |
-
),
|
1642 |
-
'lastreviewed' => array(
|
1643 |
-
'title' => __('Last Reviewed', "wp-seo-structured-data-schema"),
|
1644 |
-
'type' => 'text',
|
1645 |
-
'class' => 'kcseo-date',
|
1646 |
-
'desc' => __('Like this: 2021-12-25', "wp-seo-structured-data-schema")
|
1647 |
-
),
|
1648 |
-
'keywords' => array(
|
1649 |
-
'title' => __('Keywords', "wp-seo-structured-data-schema"),
|
1650 |
-
'type' => 'text',
|
1651 |
-
),
|
1652 |
-
|
1653 |
-
)
|
1654 |
-
),
|
1655 |
|
1656 |
'book' => array(
|
1657 |
'pro' => true,
|
1551 |
|
1552 |
)
|
1553 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1554 |
|
1555 |
'book' => array(
|
1556 |
'pro' => true,
|
lib/models/KcSeoSchemaModel.php
CHANGED
@@ -1184,80 +1184,7 @@ if ( ! class_exists( 'KcSeoSchemaModel' ) ) :
|
|
1184 |
|
1185 |
$html .= $this->get_jsonEncode( apply_filters( 'kcseo_snippet_restaurant', $medicalwebpage, $metaData ) );
|
1186 |
break;
|
1187 |
-
case 'CollectionPage':
|
1188 |
-
$collection_page = [
|
1189 |
-
'@context' => 'https://schema.org',
|
1190 |
-
'@type' => 'CollectionPage',
|
1191 |
-
];
|
1192 |
-
if ( ! empty( $metaData['name'] ) ) {
|
1193 |
-
$collection_page['name'] = $KcSeoWPSchema->sanitizeOutPut( $metaData['name'] );
|
1194 |
-
}
|
1195 |
-
if ( ! empty( $metaData['webpage_url'] ) ) {
|
1196 |
-
$collection_page['url'] = $KcSeoWPSchema->sanitizeOutPut( $metaData['webpage_url'], 'url' );
|
1197 |
-
}
|
1198 |
-
if ( ! empty( $metaData['description'] ) ) {
|
1199 |
-
$collection_page['description'] = $KcSeoWPSchema->sanitizeOutPut( $metaData['description'], 'textarea' );
|
1200 |
-
}
|
1201 |
-
if ( ! empty( $metaData['image'] ) ) {
|
1202 |
-
$img = $KcSeoWPSchema->imageInfo( absint( $metaData['image'] ) );
|
1203 |
-
$collection_page['image'] = [
|
1204 |
-
'@type' => 'ImageObject',
|
1205 |
-
'url' => $KcSeoWPSchema->sanitizeOutPut( $img['url'], 'url' ),
|
1206 |
-
'height' => $img['height'],
|
1207 |
-
'width' => $img['width'],
|
1208 |
-
];
|
1209 |
-
}
|
1210 |
-
if ( ! empty( $metaData['author'] ) ) {
|
1211 |
-
$collection_page['author'] = [
|
1212 |
-
'@type' => 'Person',
|
1213 |
-
'name' => $KcSeoWPSchema->sanitizeOutPut( $metaData['author'] ),
|
1214 |
-
];
|
1215 |
-
if ( ! empty( $metaData['author_type'] ) ) {
|
1216 |
-
$collection_page['author']['@type'] = $KcSeoWPSchema->sanitizeOutPut( $metaData['author_type'] );
|
1217 |
-
}
|
1218 |
-
if ( ! empty( $metaData['author_url'] ) ) {
|
1219 |
-
$collection_page['author']['url'] = $KcSeoWPSchema->sanitizeOutPut( $metaData['author_url'], 'url' );
|
1220 |
-
}
|
1221 |
-
if ( ! empty( $metaData['author_description'] ) ) {
|
1222 |
-
$collection_page['author']['description'] = $KcSeoWPSchema->sanitizeOutPut( $metaData['author_description'], 'url' );
|
1223 |
-
}
|
1224 |
-
}
|
1225 |
-
if ( ! empty( $metaData['publisher'] ) ) {
|
1226 |
-
if ( ! empty( $metaData['publisherImage'] ) ) {
|
1227 |
-
$img = $KcSeoWPSchema->imageInfo( absint( $metaData['publisherImage'] ) );
|
1228 |
-
$plA = [
|
1229 |
-
'@type' => 'ImageObject',
|
1230 |
-
'url' => $KcSeoWPSchema->sanitizeOutPut( $img['url'], 'url' ),
|
1231 |
-
'height' => $img['height'],
|
1232 |
-
'width' => $img['width'],
|
1233 |
-
];
|
1234 |
-
} else {
|
1235 |
-
$plA = [];
|
1236 |
-
}
|
1237 |
-
$collection_page['publisher'] = [
|
1238 |
-
'@type' => 'Organization',
|
1239 |
-
'name' => $KcSeoWPSchema->sanitizeOutPut( $metaData['publisher'] ),
|
1240 |
-
'logo' => $plA,
|
1241 |
-
];
|
1242 |
-
}
|
1243 |
-
|
1244 |
-
if ( ! empty( $metaData['DateCreated'] ) ) {
|
1245 |
-
$collection_page['DateCreated'] = $KcSeoWPSchema->sanitizeOutPut( $metaData['DateCreated'] );
|
1246 |
-
}
|
1247 |
-
if ( ! empty( $metaData['datePublished'] ) ) {
|
1248 |
-
$collection_page['datePublished'] = $KcSeoWPSchema->sanitizeOutPut( $metaData['datePublished'] );
|
1249 |
-
}
|
1250 |
-
if ( ! empty( $metaData['dateModified'] ) ) {
|
1251 |
-
$collection_page['dateModified'] = $KcSeoWPSchema->sanitizeOutPut( $metaData['dateModified'] );
|
1252 |
-
}
|
1253 |
-
if ( ! empty( $metaData['lastreviewed'] ) ) {
|
1254 |
-
$collection_page['lastReviewed'] = $KcSeoWPSchema->sanitizeOutPut( $metaData['lastreviewed'] );
|
1255 |
-
}
|
1256 |
-
|
1257 |
-
$html .= $this->get_jsonEncode( apply_filters( 'kcseo_snippet_restaurant', $collection_page, $metaData ) );
|
1258 |
-
break;
|
1259 |
default:
|
1260 |
-
break;
|
1261 |
}
|
1262 |
}
|
1263 |
return $html;
|
1184 |
|
1185 |
$html .= $this->get_jsonEncode( apply_filters( 'kcseo_snippet_restaurant', $medicalwebpage, $metaData ) );
|
1186 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1187 |
default:
|
|
|
1188 |
}
|
1189 |
}
|
1190 |
return $html;
|
wp-seo-structured-data-schema.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: WP SEO Structured Data Schema
|
4 |
* Plugin URI: https://wpsemplugins.com/
|
5 |
* Description: Comprehensive JSON-LD based Structured Data solution for WordPress for adding schema for organizations, businesses, blog posts, ratings & more.
|
6 |
-
* Version: 2.7.
|
7 |
* Author: WPSEMPlugins
|
8 |
* Author URI: https://wpsemplugins.com/
|
9 |
* Text Domain: wp-seo-structured-data-schema
|
@@ -24,7 +24,7 @@ if (! defined('JSON_UNESCAPED_UNICODE')) {
|
|
24 |
define('JSON_UNESCAPED_UNICODE', 256);
|
25 |
}
|
26 |
|
27 |
-
define('KCSEO_WP_SCHEMA_VERSION', '2.7.
|
28 |
define('KCSEO_WP_SCHEMA_SLUG', 'wp-seo-structured-data-schema');
|
29 |
define('KCSEO_WP_SCHEMA_PATH', dirname(__FILE__));
|
30 |
define('KCSEO_WP_SCHEMA_PLUGIN_ACTIVE_FILE_NAME', plugin_basename(__FILE__));
|
3 |
* Plugin Name: WP SEO Structured Data Schema
|
4 |
* Plugin URI: https://wpsemplugins.com/
|
5 |
* Description: Comprehensive JSON-LD based Structured Data solution for WordPress for adding schema for organizations, businesses, blog posts, ratings & more.
|
6 |
+
* Version: 2.7.5
|
7 |
* Author: WPSEMPlugins
|
8 |
* Author URI: https://wpsemplugins.com/
|
9 |
* Text Domain: wp-seo-structured-data-schema
|
24 |
define('JSON_UNESCAPED_UNICODE', 256);
|
25 |
}
|
26 |
|
27 |
+
define('KCSEO_WP_SCHEMA_VERSION', '2.7.5');
|
28 |
define('KCSEO_WP_SCHEMA_SLUG', 'wp-seo-structured-data-schema');
|
29 |
define('KCSEO_WP_SCHEMA_PATH', dirname(__FILE__));
|
30 |
define('KCSEO_WP_SCHEMA_PLUGIN_ACTIVE_FILE_NAME', plugin_basename(__FILE__));
|