Google Sitemap by BestWebSoft - Version 3.0.9

Version Description

  • 04.05.2017 =
  • Update : The Czech language file was updated.
  • Bugfix : The bug with editing of robots.txt file was fixed.
  • Bugfix : The frontpage duplication in the sitemap was fixed.
Download this release

Release Info

Developer bestwebsoft
Plugin Icon 128x128 Google Sitemap by BestWebSoft
Version 3.0.9
Comparing to
See all releases

Code changes from version 3.0.8 to 3.0.9

google-sitemap-plugin.php CHANGED
@@ -6,7 +6,7 @@ Description: Generate and add XML sitemap to WordPress website. Help search engi
6
  Author: BestWebSoft
7
  Text Domain: google-sitemap-plugin
8
  Domain Path: /languages
9
- Version: 3.0.8
10
  Author URI: https://bestwebsoft.com/
11
  License: GPLv2 or later
12
  */
@@ -173,15 +173,18 @@ if ( ! function_exists( 'gglstmp_sitemapcreate' ) ) {
173
  $gglstmp_urlset = $xml->appendChild( $xml->createElementNS( 'http://www.sitemaps.org/schemas/sitemap/0.9','urlset' ) );
174
 
175
  /* add home page */
176
- $url = $gglstmp_urlset->appendChild( $xml->createElement( 'url' ) );
177
- $loc = $url->appendChild( $xml->createElement( 'loc' ) );
178
- $loc->appendChild( $xml->createTextNode( home_url( '/' ) ) );
179
- $lastmod = $url->appendChild( $xml->createElement( 'lastmod' ) );
180
- $lastmod->appendChild( $xml->createTextNode( date( 'Y-m-d\TH:i:sP', time() ) ) );
181
- $changefreq = $url->appendChild( $xml->createElement( 'changefreq' ) );
182
- $changefreq->appendChild( $xml->createTextNode( 'monthly' ) );
183
- $priority = $url->appendChild( $xml->createElement( 'priority' ) );
184
- $priority->appendChild( $xml->createTextNode( 1.0 ) );
 
 
 
185
  /* getting an array of the excluded post ids of 'forum', 'topic' and 'reply' post types (hidden and private bbPress forum posts) */
186
  $excluded_posts_array = $wpdb->get_col( "SELECT `ID` FROM $wpdb->posts WHERE `post_status` IN ('hidden', 'private') AND `post_type` IN ('forum', 'topic', 'reply')" );
187
  if ( ! empty( $excluded_posts_array ) ) {
@@ -209,7 +212,7 @@ if ( ! function_exists( 'gglstmp_sitemapcreate' ) ) {
209
  foreach ( $loc as $val ) {
210
  $gglstmp_url = $gglstmp_urlset->appendChild( $xml->createElement( 'url' ) );
211
  $loc = $gglstmp_url->appendChild( $xml->createElement( 'loc' ) );
212
- $permalink = get_permalink( $val->ID );
213
  $loc->appendChild( $xml->createTextNode( $permalink ) );
214
  $lastmod = $gglstmp_url->appendChild( $xml->createElement( 'lastmod' ) );
215
  $now = $val->post_modified;
6
  Author: BestWebSoft
7
  Text Domain: google-sitemap-plugin
8
  Domain Path: /languages
9
+ Version: 3.0.9
10
  Author URI: https://bestwebsoft.com/
11
  License: GPLv2 or later
12
  */
173
  $gglstmp_urlset = $xml->appendChild( $xml->createElementNS( 'http://www.sitemaps.org/schemas/sitemap/0.9','urlset' ) );
174
 
175
  /* add home page */
176
+ $frontpage_id = get_option( 'page_on_front' );
177
+ if ( empty( $frontpage_id ) || ! in_array( 'page', $gglstmp_options['post_type'] ) ) {
178
+ $url = $gglstmp_urlset->appendChild( $xml->createElement( 'url' ) );
179
+ $loc = $url->appendChild( $xml->createElement( 'loc' ) );
180
+ $loc->appendChild( $xml->createTextNode( home_url( '/' ) ) );
181
+ $lastmod = $url->appendChild( $xml->createElement( 'lastmod' ) );
182
+ $lastmod->appendChild( $xml->createTextNode( date( 'Y-m-d\TH:i:sP', time() ) ) );
183
+ $changefreq = $url->appendChild( $xml->createElement( 'changefreq' ) );
184
+ $changefreq->appendChild( $xml->createTextNode( 'monthly' ) );
185
+ $priority = $url->appendChild( $xml->createElement( 'priority' ) );
186
+ $priority->appendChild( $xml->createTextNode( 1.0 ) );
187
+ }
188
  /* getting an array of the excluded post ids of 'forum', 'topic' and 'reply' post types (hidden and private bbPress forum posts) */
189
  $excluded_posts_array = $wpdb->get_col( "SELECT `ID` FROM $wpdb->posts WHERE `post_status` IN ('hidden', 'private') AND `post_type` IN ('forum', 'topic', 'reply')" );
190
  if ( ! empty( $excluded_posts_array ) ) {
212
  foreach ( $loc as $val ) {
213
  $gglstmp_url = $gglstmp_urlset->appendChild( $xml->createElement( 'url' ) );
214
  $loc = $gglstmp_url->appendChild( $xml->createElement( 'loc' ) );
215
+ $permalink = get_permalink( $val );
216
  $loc->appendChild( $xml->createTextNode( $permalink ) );
217
  $lastmod = $gglstmp_url->appendChild( $xml->createElement( 'lastmod' ) );
218
  $now = $val->post_modified;
includes/class-gglstmp-settings.php CHANGED
@@ -89,7 +89,7 @@ if ( ! class_exists( 'Gglstmp_Settings_Tabs' ) ) {
89
  * @return array The action results
90
  */
91
  public function save_options() {
92
- global $wpdb;
93
 
94
  if ( isset( $_POST['gglstmp_logout'] ) ) {
95
  unset( $_SESSION[ 'gglstmp_authorization_code' . $this->blog_prefix ], $this->options['authorization_code'] );
@@ -133,8 +133,9 @@ if ( ! class_exists( 'Gglstmp_Settings_Tabs' ) ) {
133
 
134
  update_option( 'gglstmp_options', $this->options );
135
 
136
- if ( isset( $sitemapcreate ) )
137
  gglstmp_sitemapcreate();
 
138
 
139
  /*============================ Adding location of sitemap file to the robots.txt =============*/
140
  if ( ! $this->is_multisite ) {
@@ -335,6 +336,7 @@ if ( ! class_exists( 'Gglstmp_Settings_Tabs' ) ) {
335
  * @access public
336
  */
337
  public function additional_restore_options( $default_options ) {
 
338
  $url_robot = ABSPATH . 'robots.txt';
339
  /* remove sitemap.xml */
340
  if ( $this->is_multisite ) {
89
  * @return array The action results
90
  */
91
  public function save_options() {
92
+ global $wpdb, $gglstmp_url_home;
93
 
94
  if ( isset( $_POST['gglstmp_logout'] ) ) {
95
  unset( $_SESSION[ 'gglstmp_authorization_code' . $this->blog_prefix ], $this->options['authorization_code'] );
133
 
134
  update_option( 'gglstmp_options', $this->options );
135
 
136
+ if ( isset( $sitemapcreate ) ) {
137
  gglstmp_sitemapcreate();
138
+ }
139
 
140
  /*============================ Adding location of sitemap file to the robots.txt =============*/
141
  if ( ! $this->is_multisite ) {
336
  * @access public
337
  */
338
  public function additional_restore_options( $default_options ) {
339
+ global $gglstmp_url_home;
340
  $url_robot = ABSPATH . 'robots.txt';
341
  /* remove sitemap.xml */
342
  if ( $this->is_multisite ) {
includes/pro_banners.php CHANGED
@@ -57,7 +57,7 @@ if ( ! function_exists( 'gglstmp_frequency_block' ) ) {
57
  */
58
  if ( ! function_exists( 'gglstmp_extra_block' ) ) {
59
  function gglstmp_extra_block() { ?>
60
- <img src="<?php echo plugins_url( 'images/pro_screen_1.png', dirname( __FILE__ ) ); ?>" alt="<?php _e( "Example of site pages' tree", 'google-sitemap-plugin' ); ?>" title="<?php _e( "Example of site pages' tree", 'google-sitemap-plugin' ); ?>" />
61
  <?php }
62
  }
63
 
57
  */
58
  if ( ! function_exists( 'gglstmp_extra_block' ) ) {
59
  function gglstmp_extra_block() { ?>
60
+ <img style="max-width: 100%;" src="<?php echo plugins_url( 'images/pro_screen_1.png', dirname( __FILE__ ) ); ?>" alt="<?php _e( "Example of site pages' tree", 'google-sitemap-plugin' ); ?>" title="<?php _e( "Example of site pages' tree", 'google-sitemap-plugin' ); ?>" />
61
  <?php }
62
  }
63
 
languages/google-sitemap-plugin-cs_CZ.mo CHANGED
Binary file
languages/google-sitemap-plugin-cs_CZ.po CHANGED
@@ -2,9 +2,9 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Google Sitemap\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2017-03-30 09:21+0300\n"
6
- "PO-Revision-Date: 2017-03-30 09:21+0300\n"
7
- "Last-Translator: bestwebsoft.com <plugins@bestwebsoft.com>\n"
8
  "Language-Team: Mik013\n"
9
  "Language: cs_CZ\n"
10
  "MIME-Version: 1.0\n"
@@ -30,61 +30,61 @@ msgstr "Nastavení"
30
 
31
  #: google-sitemap-plugin.php:42 google-sitemap-plugin.php:350
32
  msgid "Custom Links"
33
- msgstr ""
34
 
35
  #: google-sitemap-plugin.php:48 includes/pro_banners.php:27
36
  msgid "Upgrade to Pro"
37
- msgstr ""
38
 
39
  #: google-sitemap-plugin.php:347
40
  msgid "Please enable JavaScript in Your browser."
41
- msgstr ""
42
 
43
  #: google-sitemap-plugin.php:395 google-sitemap-plugin.php:472
44
  #: google-sitemap-plugin.php:522
45
  msgid "Website"
46
- msgstr ""
47
 
48
  #: google-sitemap-plugin.php:406 google-sitemap-plugin.php:410
49
  #: google-sitemap-plugin.php:488 google-sitemap-plugin.php:504
50
  #: google-sitemap-plugin.php:526 google-sitemap-plugin.php:540
51
  msgid "Status"
52
- msgstr ""
53
 
54
  #: google-sitemap-plugin.php:407 google-sitemap-plugin.php:430
55
  #: google-sitemap-plugin.php:505
56
  msgid "Not added"
57
- msgstr ""
58
 
59
  #: google-sitemap-plugin.php:411 google-sitemap-plugin.php:433
60
  #: google-sitemap-plugin.php:527 google-sitemap-plugin.php:623
61
  msgid "Added"
62
- msgstr ""
63
 
64
  #: google-sitemap-plugin.php:413 google-sitemap-plugin.php:582
65
  #: google-sitemap-plugin.php:594 google-sitemap-plugin.php:608
66
  msgid "Verification Status"
67
- msgstr ""
68
 
69
  #: google-sitemap-plugin.php:415
70
  msgid "Verified"
71
- msgstr ""
72
 
73
  #: google-sitemap-plugin.php:417
74
  msgid "Not verified"
75
- msgstr ""
76
 
77
  #: google-sitemap-plugin.php:425 google-sitemap-plugin.php:615
78
  msgid "Sitemap Status"
79
- msgstr ""
80
 
81
  #: google-sitemap-plugin.php:435
82
  msgid "Added with errors."
83
- msgstr ""
84
 
85
  #: google-sitemap-plugin.php:435
86
  msgid "View errors in Google Webmaster Tools"
87
- msgstr ""
88
 
89
  #: google-sitemap-plugin.php:438
90
  msgid "Sitemap URL"
@@ -96,11 +96,11 @@ msgstr "URL sitemap.xml"
96
  #: google-sitemap-plugin.php:636 google-sitemap-plugin.php:644
97
  #: includes/class-gglstmp-settings.php:407
98
  msgid "Error"
99
- msgstr ""
100
 
101
  #: google-sitemap-plugin.php:441
102
  msgid "Please check the sitemap file manually."
103
- msgstr ""
104
 
105
  #: google-sitemap-plugin.php:441 google-sitemap-plugin.php:459
106
  #: google-sitemap-plugin.php:544 google-sitemap-plugin.php:583
@@ -113,46 +113,46 @@ msgstr "Více informací"
113
  #: google-sitemap-plugin.php:530 google-sitemap-plugin.php:567
114
  #: google-sitemap-plugin.php:598 google-sitemap-plugin.php:626
115
  msgid "Unexpected error"
116
- msgstr ""
117
 
118
  #: google-sitemap-plugin.php:459 google-sitemap-plugin.php:544
119
  #: google-sitemap-plugin.php:612
120
  msgid "Manual verification required."
121
- msgstr ""
122
 
123
  #: google-sitemap-plugin.php:489
124
  msgid "Deleted"
125
- msgstr ""
126
 
127
  #: google-sitemap-plugin.php:559 google-sitemap-plugin.php:562
128
  #: google-sitemap-plugin.php:578
129
  msgid "Verification Code"
130
- msgstr ""
131
 
132
  #: google-sitemap-plugin.php:560
133
  msgid "Received and added to the site"
134
- msgstr ""
135
 
136
  #: google-sitemap-plugin.php:563
137
  msgid "Received, but has not been added to the site"
138
- msgstr ""
139
 
140
  #: google-sitemap-plugin.php:638
141
  msgid "Please add the sitemap file manually."
142
- msgstr ""
143
 
144
  #: google-sitemap-plugin.php:641
145
  msgid "Error 404"
146
- msgstr ""
147
 
148
  #: google-sitemap-plugin.php:641
149
  #, php-format
150
  msgid "The sitemap file %s not found."
151
- msgstr ""
152
 
153
  #: google-sitemap-plugin.php:644
154
  msgid "The sitemap file not found."
155
- msgstr ""
156
 
157
  #: google-sitemap-plugin.php:717
158
  msgid "FAQ"
@@ -164,15 +164,15 @@ msgstr "Podpora"
164
 
165
  #: includes/class-gglstmp-settings.php:28
166
  msgid "Structure"
167
- msgstr ""
168
 
169
  #: includes/class-gglstmp-settings.php:29
170
  msgid "Misc"
171
- msgstr ""
172
 
173
  #: includes/class-gglstmp-settings.php:30
174
  msgid "License Key"
175
- msgstr ""
176
 
177
  #: includes/class-gglstmp-settings.php:155
178
  msgid "Cannot edit \"robots.txt\". Check your permissions"
@@ -180,7 +180,7 @@ msgstr "Nelze upravit \"robots.txt\". Prosím, zkontrolujte oprávnění"
180
 
181
  #: includes/class-gglstmp-settings.php:167
182
  msgid "Settings saved."
183
- msgstr ""
184
 
185
  #: includes/class-gglstmp-settings.php:191
186
  #, php-format
@@ -188,33 +188,35 @@ msgid ""
188
  "Since you are using multisiting, the plugin does not allow to add a sitemap "
189
  "to %s."
190
  msgstr ""
 
 
191
 
192
  #: includes/class-gglstmp-settings.php:197
193
  #, php-format
194
  msgid "Enable to add a sitemap file path to the %s file."
195
- msgstr ""
196
 
197
  #: includes/class-gglstmp-settings.php:203
198
  msgid "This option will be applied to all websites in the network."
199
- msgstr ""
200
 
201
  #: includes/class-gglstmp-settings.php:206
202
  msgid "Activate"
203
- msgstr ""
204
 
205
  #: includes/class-gglstmp-settings.php:210
206
  msgid "Install Now"
207
- msgstr ""
208
 
209
  #: includes/class-gglstmp-settings.php:219
210
  #, php-format
211
  msgid "%s Plugin"
212
- msgstr ""
213
 
214
  #: includes/class-gglstmp-settings.php:221
215
  #, php-format
216
  msgid "Enable to allow XML files access using %s plugin."
217
- msgstr ""
218
 
219
  #: includes/class-gglstmp-settings.php:222
220
  msgid "The following string will be added to your .htaccess file"
@@ -227,39 +229,43 @@ msgstr "Zavřít"
227
 
228
  #: includes/class-gglstmp-settings.php:241
229
  msgid "Google Webmaster Tools"
230
- msgstr ""
231
 
232
  #: includes/class-gglstmp-settings.php:244
233
  msgid ""
234
  "This hosting does not support сURL, so you cannot add a sitemap file "
235
  "automatically."
236
  msgstr ""
 
 
237
 
238
  #: includes/class-gglstmp-settings.php:247
239
  msgid "Logout from Google Webmaster Tools"
240
- msgstr ""
241
 
242
  #: includes/class-gglstmp-settings.php:251
243
  msgid "Manage Website with Google Webmaster Tools"
244
- msgstr ""
245
 
246
  #: includes/class-gglstmp-settings.php:253
247
  msgid "Add"
248
- msgstr ""
249
 
250
  #: includes/class-gglstmp-settings.php:254
251
  msgid "Delete"
252
- msgstr ""
253
 
254
  #: includes/class-gglstmp-settings.php:255
255
  msgid "Get Info"
256
- msgstr ""
257
 
258
  #: includes/class-gglstmp-settings.php:257
259
  msgid ""
260
  "Add, delete or get info about this website using your Google Webmaster Tools "
261
  "account."
262
  msgstr ""
 
 
263
 
264
  #: includes/class-gglstmp-settings.php:265
265
  msgid "Get Authorization Code"
@@ -271,43 +277,43 @@ msgstr "Schválit"
271
 
272
  #: includes/class-gglstmp-settings.php:271
273
  msgid "Invalid authorization code. Please try again."
274
- msgstr ""
275
 
276
  #: includes/class-gglstmp-settings.php:276
277
  msgid "You can also add your sitemap to Google Webmaster Tools manually."
278
- msgstr ""
279
 
280
  #: includes/class-gglstmp-settings.php:276
281
  msgid "Read the instruction"
282
- msgstr ""
283
 
284
  #: includes/class-gglstmp-settings.php:291
285
  msgid "Post category"
286
- msgstr ""
287
 
288
  #: includes/class-gglstmp-settings.php:292
289
  msgid "Post tag"
290
- msgstr ""
291
 
292
  #: includes/class-gglstmp-settings.php:294
293
  msgid "Sitemap Structure"
294
- msgstr ""
295
 
296
  #: includes/class-gglstmp-settings.php:299
297
  msgid "Post Types"
298
- msgstr ""
299
 
300
  #: includes/class-gglstmp-settings.php:306
301
  msgid "Enable to add post type links to the sitemap."
302
- msgstr ""
303
 
304
  #: includes/class-gglstmp-settings.php:310
305
  msgid "Taxonomies"
306
- msgstr ""
307
 
308
  #: includes/class-gglstmp-settings.php:317
309
  msgid "Enable to taxonomy links to the sitemap."
310
- msgstr ""
311
 
312
  #: includes/class-gglstmp-settings.php:358
313
  msgid "Cannot edit \"robot.txt\". Check your permissions"
@@ -316,7 +322,7 @@ msgstr "Nelze upravit \"robot.txt\". Prosím, zkontrolujte oprávnění"
316
  #: includes/class-gglstmp-settings.php:397
317
  #, php-format
318
  msgid "%s is in the site root directory."
319
- msgstr ""
320
 
321
  #: includes/class-gglstmp-settings.php:397
322
  msgid "The Sitemap file"
@@ -325,6 +331,7 @@ msgstr "Soubor sitemap.xml"
325
  #: includes/class-gglstmp-settings.php:399
326
  msgid "The Sitemap file for this site has been deleted by network admin."
327
  msgstr ""
 
328
 
329
  #: includes/class-gglstmp-settings.php:408
330
  #, php-format
@@ -333,6 +340,9 @@ msgid ""
333
  "file in %s after %s or install, activate and enable %s plugin option to "
334
  "resolve this error."
335
  msgstr ""
 
 
 
336
 
337
  #: includes/pro_banners.php:18
338
  msgid "This options is available in Pro version of plugin"
@@ -355,10 +365,13 @@ msgid ""
355
  "frequently the page is likely to change. It may not correlate exactly to how "
356
  "often they crawl the website."
357
  msgstr ""
 
 
 
358
 
359
  #: includes/pro_banners.php:60
360
  msgid "Example of site pages' tree"
361
- msgstr "Příklad stromu stránek webu \""
362
 
363
  #: includes/pro_banners.php:75
364
  msgid "Search"
@@ -403,10 +416,7 @@ msgstr "Vždy"
403
 
404
  #: includes/pro_banners.php:110
405
  msgid "Save"
406
- msgstr ""
407
-
408
- #~ msgid "Save link"
409
- #~ msgstr "Uložit odkaz"
410
 
411
  #~ msgid "Settings saved"
412
  #~ msgstr "Nastavení uloženo"
@@ -552,7 +562,7 @@ msgstr ""
552
  #~ msgstr "ověřen"
553
 
554
  #~ msgid "not verified"
555
- #~ msgstr "ověřen"
556
 
557
  #~ msgid "Failed to verify the site in Google Webmaster Tools"
558
  #~ msgstr "Selhalo ověření tohoto webu na Google Webmaster Tools"
@@ -655,3 +665,6 @@ msgstr ""
655
 
656
  #~ msgid "Show URL for pages"
657
  #~ msgstr "Zobrazovat URL pro stránky"
 
 
 
2
  msgstr ""
3
  "Project-Id-Version: Google Sitemap\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-04-24 14:51+0300\n"
6
+ "PO-Revision-Date: 2017-04-24 14:51+0300\n"
7
+ "Last-Translator: Mik013\n"
8
  "Language-Team: Mik013\n"
9
  "Language: cs_CZ\n"
10
  "MIME-Version: 1.0\n"
30
 
31
  #: google-sitemap-plugin.php:42 google-sitemap-plugin.php:350
32
  msgid "Custom Links"
33
+ msgstr "Uživatelské odkazy"
34
 
35
  #: google-sitemap-plugin.php:48 includes/pro_banners.php:27
36
  msgid "Upgrade to Pro"
37
+ msgstr "Aktualizovat na Pro"
38
 
39
  #: google-sitemap-plugin.php:347
40
  msgid "Please enable JavaScript in Your browser."
41
+ msgstr "Prosím, povolte JavaScript ve vašem prohlížeči."
42
 
43
  #: google-sitemap-plugin.php:395 google-sitemap-plugin.php:472
44
  #: google-sitemap-plugin.php:522
45
  msgid "Website"
46
+ msgstr "Webová stránka"
47
 
48
  #: google-sitemap-plugin.php:406 google-sitemap-plugin.php:410
49
  #: google-sitemap-plugin.php:488 google-sitemap-plugin.php:504
50
  #: google-sitemap-plugin.php:526 google-sitemap-plugin.php:540
51
  msgid "Status"
52
+ msgstr "Stav"
53
 
54
  #: google-sitemap-plugin.php:407 google-sitemap-plugin.php:430
55
  #: google-sitemap-plugin.php:505
56
  msgid "Not added"
57
+ msgstr "Nepřidáno"
58
 
59
  #: google-sitemap-plugin.php:411 google-sitemap-plugin.php:433
60
  #: google-sitemap-plugin.php:527 google-sitemap-plugin.php:623
61
  msgid "Added"
62
+ msgstr "Přidáno"
63
 
64
  #: google-sitemap-plugin.php:413 google-sitemap-plugin.php:582
65
  #: google-sitemap-plugin.php:594 google-sitemap-plugin.php:608
66
  msgid "Verification Status"
67
+ msgstr "Stav ověření"
68
 
69
  #: google-sitemap-plugin.php:415
70
  msgid "Verified"
71
+ msgstr "Ověřeno"
72
 
73
  #: google-sitemap-plugin.php:417
74
  msgid "Not verified"
75
+ msgstr "Nevěřeno"
76
 
77
  #: google-sitemap-plugin.php:425 google-sitemap-plugin.php:615
78
  msgid "Sitemap Status"
79
+ msgstr "Stav sitemap.xml"
80
 
81
  #: google-sitemap-plugin.php:435
82
  msgid "Added with errors."
83
+ msgstr "Přidáno s chybami."
84
 
85
  #: google-sitemap-plugin.php:435
86
  msgid "View errors in Google Webmaster Tools"
87
+ msgstr "Zobrazit chyby v Google Webmaster Tools"
88
 
89
  #: google-sitemap-plugin.php:438
90
  msgid "Sitemap URL"
96
  #: google-sitemap-plugin.php:636 google-sitemap-plugin.php:644
97
  #: includes/class-gglstmp-settings.php:407
98
  msgid "Error"
99
+ msgstr "Chyba"
100
 
101
  #: google-sitemap-plugin.php:441
102
  msgid "Please check the sitemap file manually."
103
+ msgstr "Zkontrolujte soubor sitemap.xml manuálně."
104
 
105
  #: google-sitemap-plugin.php:441 google-sitemap-plugin.php:459
106
  #: google-sitemap-plugin.php:544 google-sitemap-plugin.php:583
113
  #: google-sitemap-plugin.php:530 google-sitemap-plugin.php:567
114
  #: google-sitemap-plugin.php:598 google-sitemap-plugin.php:626
115
  msgid "Unexpected error"
116
+ msgstr "Neočekávaná chyba"
117
 
118
  #: google-sitemap-plugin.php:459 google-sitemap-plugin.php:544
119
  #: google-sitemap-plugin.php:612
120
  msgid "Manual verification required."
121
+ msgstr "Je vyžadováno ruční ověření."
122
 
123
  #: google-sitemap-plugin.php:489
124
  msgid "Deleted"
125
+ msgstr "Odstraněno"
126
 
127
  #: google-sitemap-plugin.php:559 google-sitemap-plugin.php:562
128
  #: google-sitemap-plugin.php:578
129
  msgid "Verification Code"
130
+ msgstr "Ověřovací kód"
131
 
132
  #: google-sitemap-plugin.php:560
133
  msgid "Received and added to the site"
134
+ msgstr "Přijato a přidáno na web"
135
 
136
  #: google-sitemap-plugin.php:563
137
  msgid "Received, but has not been added to the site"
138
+ msgstr "Přijato avšak nepřidáno na web"
139
 
140
  #: google-sitemap-plugin.php:638
141
  msgid "Please add the sitemap file manually."
142
+ msgstr "Přidejte soubor sitemap.xml manuálně."
143
 
144
  #: google-sitemap-plugin.php:641
145
  msgid "Error 404"
146
+ msgstr "Chyba 404"
147
 
148
  #: google-sitemap-plugin.php:641
149
  #, php-format
150
  msgid "The sitemap file %s not found."
151
+ msgstr "Soubor sitemap.xml %s nebyl nalezen."
152
 
153
  #: google-sitemap-plugin.php:644
154
  msgid "The sitemap file not found."
155
+ msgstr "Soubor sitemap.xml nebyl nalezen."
156
 
157
  #: google-sitemap-plugin.php:717
158
  msgid "FAQ"
164
 
165
  #: includes/class-gglstmp-settings.php:28
166
  msgid "Structure"
167
+ msgstr "Struktura"
168
 
169
  #: includes/class-gglstmp-settings.php:29
170
  msgid "Misc"
171
+ msgstr "Různé"
172
 
173
  #: includes/class-gglstmp-settings.php:30
174
  msgid "License Key"
175
+ msgstr "Licenční klíč"
176
 
177
  #: includes/class-gglstmp-settings.php:155
178
  msgid "Cannot edit \"robots.txt\". Check your permissions"
180
 
181
  #: includes/class-gglstmp-settings.php:167
182
  msgid "Settings saved."
183
+ msgstr "Nastavení uloženo."
184
 
185
  #: includes/class-gglstmp-settings.php:191
186
  #, php-format
188
  "Since you are using multisiting, the plugin does not allow to add a sitemap "
189
  "to %s."
190
  msgstr ""
191
+ "Vzhledem k tomu, že používáte multisite, plugin neumožňuje přidat soubor "
192
+ "sitemap.xml do %s."
193
 
194
  #: includes/class-gglstmp-settings.php:197
195
  #, php-format
196
  msgid "Enable to add a sitemap file path to the %s file."
197
+ msgstr "Přidat cestu k souboru sitemap.xml do souboru %s."
198
 
199
  #: includes/class-gglstmp-settings.php:203
200
  msgid "This option will be applied to all websites in the network."
201
+ msgstr "Tato volba bude použita pro všechny weby v síti."
202
 
203
  #: includes/class-gglstmp-settings.php:206
204
  msgid "Activate"
205
+ msgstr "Aktivovat"
206
 
207
  #: includes/class-gglstmp-settings.php:210
208
  msgid "Install Now"
209
+ msgstr "Instalovat nyní"
210
 
211
  #: includes/class-gglstmp-settings.php:219
212
  #, php-format
213
  msgid "%s Plugin"
214
+ msgstr "%s Plugin"
215
 
216
  #: includes/class-gglstmp-settings.php:221
217
  #, php-format
218
  msgid "Enable to allow XML files access using %s plugin."
219
+ msgstr "Povolte přístup ke XML souborům pomocí %s pluginu."
220
 
221
  #: includes/class-gglstmp-settings.php:222
222
  msgid "The following string will be added to your .htaccess file"
229
 
230
  #: includes/class-gglstmp-settings.php:241
231
  msgid "Google Webmaster Tools"
232
+ msgstr "Google Webmaster Tools"
233
 
234
  #: includes/class-gglstmp-settings.php:244
235
  msgid ""
236
  "This hosting does not support сURL, so you cannot add a sitemap file "
237
  "automatically."
238
  msgstr ""
239
+ "Váš hosting nepodporuje cURL, takže nemůžete přidat soubor sitemap.xml (do "
240
+ "Google?) automaticky."
241
 
242
  #: includes/class-gglstmp-settings.php:247
243
  msgid "Logout from Google Webmaster Tools"
244
+ msgstr "Odhlásit se z Google Webmaster Tools"
245
 
246
  #: includes/class-gglstmp-settings.php:251
247
  msgid "Manage Website with Google Webmaster Tools"
248
+ msgstr "Spravovat web s Google Webmaster Tools"
249
 
250
  #: includes/class-gglstmp-settings.php:253
251
  msgid "Add"
252
+ msgstr "Přidat"
253
 
254
  #: includes/class-gglstmp-settings.php:254
255
  msgid "Delete"
256
+ msgstr "Smazat"
257
 
258
  #: includes/class-gglstmp-settings.php:255
259
  msgid "Get Info"
260
+ msgstr "Získat informace"
261
 
262
  #: includes/class-gglstmp-settings.php:257
263
  msgid ""
264
  "Add, delete or get info about this website using your Google Webmaster Tools "
265
  "account."
266
  msgstr ""
267
+ "Přidat, odstranit nebo zobrazit informace o tomto webu pomocí účtu Google "
268
+ "Webmaster Tools."
269
 
270
  #: includes/class-gglstmp-settings.php:265
271
  msgid "Get Authorization Code"
277
 
278
  #: includes/class-gglstmp-settings.php:271
279
  msgid "Invalid authorization code. Please try again."
280
+ msgstr "Neplatný autorizační kód. Zkuste to znovu."
281
 
282
  #: includes/class-gglstmp-settings.php:276
283
  msgid "You can also add your sitemap to Google Webmaster Tools manually."
284
+ msgstr "Můžete také přidat soubor sitemap.xml na Google Webmaster Tools ručně."
285
 
286
  #: includes/class-gglstmp-settings.php:276
287
  msgid "Read the instruction"
288
+ msgstr "Přečíst si instrukce"
289
 
290
  #: includes/class-gglstmp-settings.php:291
291
  msgid "Post category"
292
+ msgstr "Kategorie příspěvku"
293
 
294
  #: includes/class-gglstmp-settings.php:292
295
  msgid "Post tag"
296
+ msgstr "Štítek příspěvku"
297
 
298
  #: includes/class-gglstmp-settings.php:294
299
  msgid "Sitemap Structure"
300
+ msgstr "Struktura sitemap.xml"
301
 
302
  #: includes/class-gglstmp-settings.php:299
303
  msgid "Post Types"
304
+ msgstr "Typy příspěvků"
305
 
306
  #: includes/class-gglstmp-settings.php:306
307
  msgid "Enable to add post type links to the sitemap."
308
+ msgstr "Do souboru sitemap.xml přidat typy příspěvků."
309
 
310
  #: includes/class-gglstmp-settings.php:310
311
  msgid "Taxonomies"
312
+ msgstr "Taxonomie"
313
 
314
  #: includes/class-gglstmp-settings.php:317
315
  msgid "Enable to taxonomy links to the sitemap."
316
+ msgstr "Do souboru sitemap.xml přidat taxonomie."
317
 
318
  #: includes/class-gglstmp-settings.php:358
319
  msgid "Cannot edit \"robot.txt\". Check your permissions"
322
  #: includes/class-gglstmp-settings.php:397
323
  #, php-format
324
  msgid "%s is in the site root directory."
325
+ msgstr "%s je v kořenovém adresáři webu."
326
 
327
  #: includes/class-gglstmp-settings.php:397
328
  msgid "The Sitemap file"
331
  #: includes/class-gglstmp-settings.php:399
332
  msgid "The Sitemap file for this site has been deleted by network admin."
333
  msgstr ""
334
+ "Soubor sitemap.xml pro tento web byl odstraněn sítovým administrátorem."
335
 
336
  #: includes/class-gglstmp-settings.php:408
337
  #, php-format
340
  "file in %s after %s or install, activate and enable %s plugin option to "
341
  "resolve this error."
342
  msgstr ""
343
+ "Nelze získat přístup k souborům XML na podřízených webech. Přidejte "
344
+ "následující pravidlo %s do souboru %s v %s po %s nebo zkuste instalovat, "
345
+ "aktivovat a povolit plugin %s Chcete-li vyřešit tuto chybu."
346
 
347
  #: includes/pro_banners.php:18
348
  msgid "This options is available in Pro version of plugin"
365
  "frequently the page is likely to change. It may not correlate exactly to how "
366
  "often they crawl the website."
367
  msgstr ""
368
+ "Tato hodnota poskytuje obecné informace vyhledávačům a řekněte jim, jak "
369
+ "často se stránka mění. Což nemusí přesně korelovat s tím, jak často "
370
+ "procházejí web."
371
 
372
  #: includes/pro_banners.php:60
373
  msgid "Example of site pages' tree"
374
+ msgstr "Příklad stromu stránek webu"
375
 
376
  #: includes/pro_banners.php:75
377
  msgid "Search"
416
 
417
  #: includes/pro_banners.php:110
418
  msgid "Save"
419
+ msgstr "Uložit"
 
 
 
420
 
421
  #~ msgid "Settings saved"
422
  #~ msgstr "Nastavení uloženo"
562
  #~ msgstr "ověřen"
563
 
564
  #~ msgid "not verified"
565
+ #~ msgstr "neověřen"
566
 
567
  #~ msgid "Failed to verify the site in Google Webmaster Tools"
568
  #~ msgstr "Selhalo ověření tohoto webu na Google Webmaster Tools"
665
 
666
  #~ msgid "Show URL for pages"
667
  #~ msgstr "Zobrazovat URL pro stránky"
668
+
669
+ #~ msgid "Save link"
670
+ #~ msgstr "Uložit odkaz"
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: bestwebsoft
3
  Donate link: https://bestwebsoft.com/donate/
4
  Tags: add pages to sitemap, add posts to sitemap, add sitemap, google, google sitemap, google sitemap plugin, sitemap file path, update sitemap, google webmaster tools, site map, sitemaps, webmaster tools
5
  Requires at least: 3.8
6
- Tested up to: 4.7.3
7
- Stable tag: 3.0.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -12,7 +12,7 @@ Generate and add XML sitemap to WordPress website. Help search engines index you
12
 
13
  == Description ==
14
 
15
- Google Sitemap plugin automatically generates XML sitemap for your WordPress website and helps search engines index your blog. Such sitemap file helps crawlers to extract the structure of your website more effectively.
16
 
17
  The plugin supports default WordPress pages as well as custom URLs. It can be also added to your Google Webmaster Tools account.
18
 
@@ -77,58 +77,39 @@ Some of these translations are not complete. We are constantly adding new featur
77
 
78
  * [Updater](https://bestwebsoft.com/products/wordpress/plugins/updater/?k=4b7b8eac2b35e12eaa2d51359f49cfb2) - Automatically check and update WordPress core with all installed plugins to the latest versions. Manual mode, email notifications and backups of all your files and database before updating.
79
 
80
- = Donate =
81
-
82
- Donations play an important role in supporting open-source projects. We greatly appreciate any donation you can make to help us continue further development of free products.
83
-
84
- [Donate Now](https://bestwebsoft.com/donate/)
85
-
86
  == Installation ==
87
 
88
  1. Upload the folder `google-sitemap-plugin` to the directory `/wp-content/plugins/`.
89
  2. Activate the plugin via the 'Plugins' menu in WordPress.
90
- 3. The site settings are available in "BWS Panel"->"Google Sitemap".
91
 
92
- [View a Step-by-step Instruction on Google Sitemap Installation](hhttps://docs.google.com/document/d/1-hvn6WRvWnOqj5v5pLUk7Awyu87lq5B_dO-Tv-MC9JQ/)
93
 
94
  https://www.youtube.com/watch?v=NKlAnFTzNrQ
95
 
96
  == Frequently Asked Questions ==
97
 
98
- = How can I use this plugin? =
99
 
100
- After opening the plugin settings page your Sitemap file will be created automatically. If you already have a Sitemap file and do not want to change it, just do not check off the field "I want to create a new sitemap file".
101
- If you do not want a Sitemap file to be added to Google Webmaster Tools automatically, just follow the brief instruction. In another case you should authorize via your Google Account and choose the necessary action.
102
- In order to add a path to your sitemap file in robots.txt you do not need to authorize via your Google Account, you should just select the necessary field and click "Save Changes" button. If you're using multisiting, the plugin does not allow to add a sitemap to robots.txt
103
 
104
  = How to create sitemap.xml file? =
105
 
106
  After opening the Settings page the sitemap.xml file will be created automatically in the site root.
107
 
108
- = How to replace the existing sitemap.xml file? =
109
-
110
- Select "I want to create a new sitemap file" and click "Save Changes" button, the sitemap file will be recreated then.
111
-
112
- = How to add a site to Google Webmaster Tools? =
113
-
114
- Select "I want to add this site to Google Webmaster Tools" and click "Save Changes" button. Your site will be added to Google Webmaster Tools and verified, afterwards your sitemap file will be added.
115
 
116
- = How can I remove a site from Google Webmaster Tools? =
117
-
118
- Select "I want to delete this site from Google Webmaster Tools" and click "Save Changes" button.
119
-
120
- = How can I get information about my site in Google Webmaster Tools? =
121
-
122
- Select "I want to get info about this site in Google Webmaster Tools" and click "Save Changes" button.
123
 
124
  = I have some problems with the plugin's work. What Information should I provide to receive proper support? =
125
 
126
  Please make sure that the problem hasn't been discussed yet on our forum (<https://support.bestwebsoft.com>). If no, please provide the following data along with your problem's description:
127
 
128
- 1. the link to the page where the problem occurs
129
- 2. the name of the plugin and its version. If you are using a pro version - your order number.
130
- 3. the version of your WordPress installation
131
- 4. copy and paste into the message your system status report. Please read more here: [Instruction on System Status](https://docs.google.com/document/d/1Wi2X8RdRGXk9kMszQy1xItJrpN0ncXgioH935MaBKtc/edit)
132
 
133
  == Screenshots ==
134
 
@@ -138,6 +119,11 @@ Please make sure that the problem hasn't been discussed yet on our forum (<https
138
 
139
  == Changelog ==
140
 
 
 
 
 
 
141
  = V3.0.8 - 31.03.2017 =
142
  * NEW : The Czech language file was added.
143
  * Update : The plugin settings page has been updated.
@@ -311,6 +297,10 @@ Please make sure that the problem hasn't been discussed yet on our forum (<https
311
 
312
  == Upgrade Notice ==
313
 
 
 
 
 
314
  = V3.0.8 =
315
  * Usability improved.
316
 
3
  Donate link: https://bestwebsoft.com/donate/
4
  Tags: add pages to sitemap, add posts to sitemap, add sitemap, google, google sitemap, google sitemap plugin, sitemap file path, update sitemap, google webmaster tools, site map, sitemaps, webmaster tools
5
  Requires at least: 3.8
6
+ Tested up to: 4.7.4
7
+ Stable tag: 3.0.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
12
 
13
  == Description ==
14
 
15
+ Google Sitemap plugin automatically generates XML sitemap for your WordPress website and helps search engines index your blog. Such sitemap file helps web crawlers to extract the structure of your website more effectively.
16
 
17
  The plugin supports default WordPress pages as well as custom URLs. It can be also added to your Google Webmaster Tools account.
18
 
77
 
78
  * [Updater](https://bestwebsoft.com/products/wordpress/plugins/updater/?k=4b7b8eac2b35e12eaa2d51359f49cfb2) - Automatically check and update WordPress core with all installed plugins to the latest versions. Manual mode, email notifications and backups of all your files and database before updating.
79
 
 
 
 
 
 
 
80
  == Installation ==
81
 
82
  1. Upload the folder `google-sitemap-plugin` to the directory `/wp-content/plugins/`.
83
  2. Activate the plugin via the 'Plugins' menu in WordPress.
84
+ 3. The site settings are available in "Google Sitemap".
85
 
86
+ [View a Step-by-step Instruction on Google Sitemap Installation](https://docs.google.com/document/d/1-hvn6WRvWnOqj5v5pLUk7Awyu87lq5B_dO-Tv-MC9JQ/)
87
 
88
  https://www.youtube.com/watch?v=NKlAnFTzNrQ
89
 
90
  == Frequently Asked Questions ==
91
 
92
+ = How does the Google XML Sitemap plugin work? =
93
 
94
+ Google XML Sitemap plugin generates the "sitemap.xml" file, which is located in the website root directory. You can add this file to your Google Tools account.
95
+ The plugin cannot apply any visual changes to your website.
 
96
 
97
  = How to create sitemap.xml file? =
98
 
99
  After opening the Settings page the sitemap.xml file will be created automatically in the site root.
100
 
101
+ = Cannot create "sitemap.xml" file (not updating in the "robots.txt" file) =
 
 
 
 
 
 
102
 
103
+ Check the plugin version and the folder permissions (it is better to use 644 or 755). You should create both files manually ("robots.txt" and "sitemap.xml") and set permissions to 755 for both.
 
 
 
 
 
 
104
 
105
  = I have some problems with the plugin's work. What Information should I provide to receive proper support? =
106
 
107
  Please make sure that the problem hasn't been discussed yet on our forum (<https://support.bestwebsoft.com>). If no, please provide the following data along with your problem's description:
108
 
109
+ - The link to the page where the problem occurs
110
+ - The name of the plugin and its version. If you are using a pro version - your order number.
111
+ - The version of your WordPress installation
112
+ - Copy and paste into the message your system status report. Please read more here: [Instruction on System Status](https://docs.google.com/document/d/1Wi2X8RdRGXk9kMszQy1xItJrpN0ncXgioH935MaBKtc/)
113
 
114
  == Screenshots ==
115
 
119
 
120
  == Changelog ==
121
 
122
+ = V3.0.9 - 04.05.2017 =
123
+ * Update : The Czech language file was updated.
124
+ * Bugfix : The bug with editing of robots.txt file was fixed.
125
+ * Bugfix : The frontpage duplication in the sitemap was fixed.
126
+
127
  = V3.0.8 - 31.03.2017 =
128
  * NEW : The Czech language file was added.
129
  * Update : The plugin settings page has been updated.
297
 
298
  == Upgrade Notice ==
299
 
300
+ = V3.0.9 =
301
+ * Languages updated.
302
+ * Bugs fixed.
303
+
304
  = V3.0.8 =
305
  * Usability improved.
306