WP Realtime Sitemap - Version 1.4.8

Version Description

  • Added custom post types, if this was something you have been waiting for, or have requested then please consider making a donation thank you!
  • Added ability to change the names of the sections from the defaults of Pages, Posts, Archives, Categories and Tags, this is optional if there blank/empty will use the defaults.
  • No longer using query_posts to display pages, posts and custom post types, now using get_posts now works correctly with WPMU.
  • Added Screenshots of admin interface, and the output of the plugin.
  • Fixed bug where was showing comments and comment form on the sitemap page, a great big thank you to eceleste for help with this fix.
  • Fixed issue where was output html which wasn't valid for posts, missing the double quotes round the url, thanks to GreyIBlackJay for spotting this.
Download this release

Release Info

Developer Rincewind
Plugin Icon wp plugin WP Realtime Sitemap
Version 1.4.8
Comparing to
See all releases

Code changes from version 1.4.7.2 to 1.4.8

images/donate.jpg ADDED
Binary file
images/themefuse.jpg ADDED
Binary file
language/wp-realtime-sitemap-es_ES.mo ADDED
Binary file
language/wp-realtime-sitemap-es_ES.po ADDED
@@ -0,0 +1,324 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Translation of the WordPress plugin WP Realtime Sitemap 1.4.3 by Daniel Tweedy.
2
+ # Copyright (C) 2010 Daniel Tweedy
3
+ # This file is distributed under the same license as the WP Realtime Sitemap package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: WP Realtime Sitemap 1.4.3\n"
9
+ "Report-Msgid-Bugs-To: \n"
10
+ "POT-Creation-Date: 2011-01-01 23:32-0000\n"
11
+ "PO-Revision-Date: 2011-01-01 23:37-0000\n"
12
+ "Last-Translator: Daniel Tweedy <daniel.tweedy@gmail.com>\n"
13
+ "Language-Team: Libor Cerny <me@cerny.eu.org>\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "X-Poedit-KeywordsList: __;_e;esc_attr__\n"
18
+ "X-Poedit-Basepath: .\n"
19
+ "X-Poedit-Language: Czech\n"
20
+ "X-Poedit-Country: CZECH REPUBLIC\n"
21
+ "X-Poedit-SourceCharset: utf-8\n"
22
+ "X-Poedit-SearchPath-0: ..\n"
23
+
24
+ #: ../wp-realtime-sitemap.php:63
25
+ #: ../wp-realtime-sitemap.php:90
26
+ msgid "FAQ"
27
+ msgstr "Preguntas Frequentes"
28
+
29
+ #: ../wp-realtime-sitemap.php:65
30
+ #: ../wp-realtime-sitemap.php:91
31
+ msgid "Support"
32
+ msgstr "Soporte"
33
+
34
+ #: ../wp-realtime-sitemap.php:67
35
+ #: ../wp-realtime-sitemap.php:80
36
+ msgid "Settings"
37
+ msgstr "Ajustes"
38
+
39
+ #: ../wp-realtime-sitemap.php:69
40
+ #: ../wp-realtime-sitemap.php:92
41
+ msgid "Donate"
42
+ msgstr "Donaciones"
43
+
44
+ #: ../wp-realtime-sitemap.php:71
45
+ #: ../wp-realtime-sitemap.php:93
46
+ msgid "Amazon Wishlist"
47
+ msgstr "Amazon Wishlist"
48
+
49
+ #: ../wp-realtime-sitemap.php:88
50
+ msgid "WP Realtime Sitemap Help"
51
+ msgstr "Ayuda sobre WP Realtime Sitemap"
52
+
53
+ #: ../wp-realtime-sitemap.php:89
54
+ msgid "Home Page"
55
+ msgstr "Pagina de Inicio"
56
+
57
+ #: ../wp-realtime-sitemap.php:94
58
+ msgid "Please read the plugin information and FAQ, before asking a question."
59
+ msgstr "Por favor lee las informaciones y Preguntas frequentes sobre el pluggin antes de hacer una pregunta."
60
+
61
+ #: ../wp-realtime-sitemap.php:107
62
+ #: ../wp-realtime-sitemap.php:530
63
+ msgid "WP Realtime Sitemap Options"
64
+ msgstr "Ajustes de WP Realtime Sitemap"
65
+
66
+ #: ../wp-realtime-sitemap.php:107
67
+ msgid "WP Realtime Sitemap"
68
+ msgstr "WP Realtime Sitemap"
69
+
70
+ #: ../wp-realtime-sitemap.php:113
71
+ msgid "General Settings"
72
+ msgstr "Ajustes generales"
73
+
74
+ #: ../wp-realtime-sitemap.php:114
75
+ msgid "Sort Column"
76
+ msgstr "Enseñar por columna"
77
+
78
+ #: ../wp-realtime-sitemap.php:115
79
+ msgid "Sort Order"
80
+ msgstr "Enseñar por orden"
81
+
82
+ #: ../wp-realtime-sitemap.php:117
83
+ msgid "Post Settings"
84
+ msgstr "Ajustes de la entrada"
85
+
86
+ #: ../wp-realtime-sitemap.php:118
87
+ msgid "Count"
88
+ msgstr "Contador"
89
+
90
+ #: ../wp-realtime-sitemap.php:119
91
+ msgid "Date"
92
+ msgstr "Fecha"
93
+
94
+ #: ../wp-realtime-sitemap.php:120
95
+ msgid "Limit"
96
+ msgstr "limite"
97
+
98
+ #: ../wp-realtime-sitemap.php:122
99
+ msgid "Tag Cloud Settings"
100
+ msgstr "Ajustes"
101
+
102
+ #: ../wp-realtime-sitemap.php:123
103
+ msgid "Show Category as a Tag Cloud"
104
+ msgstr "Enseñar las Categorias como nube de Tag"
105
+
106
+ #: ../wp-realtime-sitemap.php:124
107
+ msgid "Show Tags as a Tag Cloud"
108
+ msgstr "Enseñar los Tags como nube de Tags"
109
+
110
+ #: ../wp-realtime-sitemap.php:126
111
+ msgid "Display Settings"
112
+ msgstr "Ajustes"
113
+
114
+ #: ../wp-realtime-sitemap.php:127
115
+ msgid "Show Pages"
116
+ msgstr "Paginas"
117
+
118
+ #: ../wp-realtime-sitemap.php:128
119
+ msgid "Show Posts"
120
+ msgstr "Entradas"
121
+
122
+ #: ../wp-realtime-sitemap.php:129
123
+ msgid "Show Archives"
124
+ msgstr "Archivos"
125
+
126
+ #: ../wp-realtime-sitemap.php:130
127
+ msgid "Show Categories"
128
+ msgstr "Categorias"
129
+
130
+ #: ../wp-realtime-sitemap.php:131
131
+ msgid "Show Tags"
132
+ msgstr "Etiquetas"
133
+
134
+ #: ../wp-realtime-sitemap.php:135
135
+ msgid "Sort Column and Sort Order are used for sorting Pages, Posts, Categories and Tags."
136
+ msgstr "Enseñar por Columna y Enseñar por Orden se usan para filtrar las Paginas, Entradas, Categorias y Tags"
137
+
138
+ #: ../wp-realtime-sitemap.php:143
139
+ msgid "Alphabetically (by title) (Default)"
140
+ msgstr "Por orden alfabético (titulo) (por defecto)"
141
+
142
+ #: ../wp-realtime-sitemap.php:144
143
+ msgid "Page order"
144
+ msgstr "Orden de pagina"
145
+
146
+ #: ../wp-realtime-sitemap.php:145
147
+ msgid "Creation time"
148
+ msgstr "Fecha de creacion"
149
+
150
+ #: ../wp-realtime-sitemap.php:146
151
+ msgid "Time last modified"
152
+ msgstr "Fecha de ultima modificacíon"
153
+
154
+ #: ../wp-realtime-sitemap.php:147
155
+ msgid "Numeric Page ID"
156
+ msgstr "Identificador numerico de la pagina"
157
+
158
+ #: ../wp-realtime-sitemap.php:148
159
+ msgid "Page author"
160
+ msgstr "Pagina de Autor"
161
+
162
+ #: ../wp-realtime-sitemap.php:149
163
+ msgid "Alphabetically (by post slug)"
164
+ msgstr "Por orden alfabético (por Extracto de entrada)"
165
+
166
+ #: ../wp-realtime-sitemap.php:170
167
+ msgid "Ascending (Default)"
168
+ msgstr "Creciente (por defecto)"
169
+
170
+ #: ../wp-realtime-sitemap.php:171
171
+ msgid "Descending"
172
+ msgstr "Decreciente"
173
+
174
+ #: ../wp-realtime-sitemap.php:188
175
+ msgid "Count is to display the number of posts that a Archive, Category and/or Tag has."
176
+ msgstr "El Contador sirve para enseñar el numero de entradas que contiene un Archivo, Categoria, y/o Tag."
177
+
178
+ #: ../wp-realtime-sitemap.php:189
179
+ msgid "Date is to show the date that the post itself was created/published."
180
+ msgstr "La Fecha se usa para enseñar la fecha de creacion/publicacion de la entrada"
181
+
182
+ #: ../wp-realtime-sitemap.php:190
183
+ msgid "Limit is used to apply a limit as to how many posts should be shown on the sitemap, useful for if you have a very large blog and as such a large number of posts, use -1 to show all posts and not apply a limit."
184
+ msgstr "El Limite se usa para aplicar un numero maximo de entradas enseñadas en el mapa web, muy practico si tiene un blog muy amplio con muchas entradas. Usa -1 para enseñar todo y quitar el limite."
185
+
186
+ #: ../wp-realtime-sitemap.php:198
187
+ #: ../wp-realtime-sitemap.php:220
188
+ #: ../wp-realtime-sitemap.php:253
189
+ #: ../wp-realtime-sitemap.php:275
190
+ #: ../wp-realtime-sitemap.php:389
191
+ msgid "Yes/On"
192
+ msgstr "Si"
193
+
194
+ #: ../wp-realtime-sitemap.php:199
195
+ #: ../wp-realtime-sitemap.php:221
196
+ #: ../wp-realtime-sitemap.php:254
197
+ #: ../wp-realtime-sitemap.php:276
198
+ #: ../wp-realtime-sitemap.php:390
199
+ msgid "No/Off (Default)"
200
+ msgstr "No (por defecto)"
201
+
202
+ #: ../wp-realtime-sitemap.php:245
203
+ msgid "To show category and/or tags as a tag cloud instead of a bulletted list."
204
+ msgstr "Para enseñar las categorias y/o tags como una nube de tag y no como un listadoc con viñetas"
205
+
206
+ #: ../wp-realtime-sitemap.php:293
207
+ msgid "Choose what you would like to be displayed on your site map."
208
+ msgstr "Elige lo que quiere enseñar en el mapa web"
209
+
210
+ #: ../wp-realtime-sitemap.php:301
211
+ #: ../wp-realtime-sitemap.php:323
212
+ #: ../wp-realtime-sitemap.php:345
213
+ #: ../wp-realtime-sitemap.php:367
214
+ msgid "Yes/On (Default)"
215
+ msgstr "Si (por defecto)"
216
+
217
+ #: ../wp-realtime-sitemap.php:302
218
+ #: ../wp-realtime-sitemap.php:324
219
+ #: ../wp-realtime-sitemap.php:346
220
+ #: ../wp-realtime-sitemap.php:368
221
+ msgid "No/Off"
222
+ msgstr "No"
223
+
224
+ #: ../wp-realtime-sitemap.php:426
225
+ msgid "Sort Column: Only Yes/On or No/Off are accepted as valid inputs."
226
+ msgstr "Enseñar en Columna : Solamente se accepta Si o No "
227
+
228
+ #: ../wp-realtime-sitemap.php:434
229
+ msgid "Sort Order: Only Yes/On or No/Off are accepted as valid inputs."
230
+ msgstr "Enseñar en Orden : Solamente se accepta Si o No "
231
+
232
+ #: ../wp-realtime-sitemap.php:442
233
+ msgid "Count: Only Yes/On or No/Off are accepted as valid inputs."
234
+ msgstr "Contador : Solamente se accepta Si o No "
235
+
236
+ #: ../wp-realtime-sitemap.php:450
237
+ msgid "Date: Only Yes/On or No/Off are accepted as valid inputs."
238
+ msgstr "Fecha : Solamente se accepta Si o No "
239
+
240
+ #: ../wp-realtime-sitemap.php:458
241
+ msgid "Limit: Only integers or -1 are accepted as valid inputs."
242
+ msgstr "Limite : Solamente numero enteros o -1"
243
+
244
+ #: ../wp-realtime-sitemap.php:466
245
+ msgid "Show Pages: Only Yes/On or No/Off are accepted as valid inputs."
246
+ msgstr "Enseña las Paginas : Solamente se accepta Si o No "
247
+
248
+ #: ../wp-realtime-sitemap.php:474
249
+ msgid "Show Posts: Only Yes/On or No/Off are accepted as valid inputs."
250
+ msgstr "Enseña las Entradas : Solamente se accepta Si o No "
251
+
252
+ #: ../wp-realtime-sitemap.php:482
253
+ msgid "Show Archives: Only Yes/On or No/Off are accepted as valid inputs."
254
+ msgstr "Enseña los Archivos : Solamente se accepta Si o No "
255
+
256
+ #: ../wp-realtime-sitemap.php:490
257
+ msgid "Show Categories: Only Yes/On or No/Off are accepted as valid inputs."
258
+ msgstr "Enseña las Categorias : Solamente se accepta Si o No "
259
+
260
+ #: ../wp-realtime-sitemap.php:498
261
+ msgid "Show Category as a Tag Cloud: Only Yes/On or No/Off are accepted as valid inputs."
262
+ msgstr "Enseña las Categorias como una nube de Tags : Solamente se accepta Si o No "
263
+
264
+ #: ../wp-realtime-sitemap.php:506
265
+ msgid "Show Tags: Only Yes/On or No/Off are accepted as valid inputs."
266
+ msgstr "Enseña los Tags : Solamente se accepta Si o No "
267
+
268
+ #: ../wp-realtime-sitemap.php:514
269
+ msgid "Show Tags as a Tag Cloud: Only Yes/On or No/Off are accepted as valid inputs."
270
+ msgstr "Enseña los Tags como una nube de Tags : Solamente se accepta Si o No "
271
+
272
+ #: ../wp-realtime-sitemap.php:525
273
+ msgid "You do not have sufficient permissions to access this page."
274
+ msgstr "No tiene las permisiones suficientes para acceder a esta pagina."
275
+
276
+ #: ../wp-realtime-sitemap.php:532
277
+ msgid "This plugin can easily be styled by using the following ids below should you need to, if you require more flexibility than this please feel free to suggest something"
278
+ msgstr "Este plugin puede ser facilmente estilizado usando los identificadores siguientes. Para mas flexibilidad no dude en proponerme algo diferente"
279
+
280
+ #: ../wp-realtime-sitemap.php:545
281
+ msgid "Save Changes"
282
+ msgstr "Guardar los cambios"
283
+
284
+ #: ../wp-realtime-sitemap.php:585
285
+ msgid "Pages"
286
+ msgstr "Paginas"
287
+
288
+ #: ../wp-realtime-sitemap.php:604
289
+ msgid "Posts"
290
+ msgstr "Entradas"
291
+
292
+ #: ../wp-realtime-sitemap.php:615
293
+ #, php-format
294
+ msgid "Permalink to %s"
295
+ msgstr "Enlace permanenta a %s"
296
+
297
+ #: ../wp-realtime-sitemap.php:636
298
+ msgid "Archives"
299
+ msgstr "Archivos"
300
+
301
+ #: ../wp-realtime-sitemap.php:642
302
+ msgid "Categories"
303
+ msgstr "Categorias"
304
+
305
+ #: ../wp-realtime-sitemap.php:660
306
+ msgid "Tags"
307
+ msgstr "Etiquetas"
308
+
309
+ #. Plugin URI of the plugin/theme
310
+ msgid "http://www.daniel-tweedy.co.uk/redir/wp-realtime-sitemap-home/"
311
+ msgstr "http://www.daniel-tweedy.co.uk/redir/wp-realtime-sitemap-home/"
312
+
313
+ #. Description of the plugin/theme
314
+ msgid "Adds a sitemap to your Wordpress blog that is always up-to-date. Add `[wp-realtime-sitemap show=\"all\"]` to any page or post and the site map will be added there. Use Settings->WP Realtime Sitemap to set options."
315
+ msgstr "Añade un mapa web a tu blog Wordpress siempre actualizado. Añade `[wp-realtime-sitemap show=\"all\"]` a cualquier pagina o entrada y aparecera el mapa en este sitio. Usa Parametros->WP Realtime Sitemap para cambiar los ajustes..."
316
+
317
+ #. Author of the plugin/theme
318
+ msgid "Daniel Tweedy"
319
+ msgstr "Daniel Tweedy"
320
+
321
+ #. Author URI of the plugin/theme
322
+ msgid "http://www.daniel-tweedy.co.uk/"
323
+ msgstr "http://www.daniel-tweedy.co.uk/"
324
+
language/wp-realtime-sitemap.mo CHANGED
Binary file
language/wp-realtime-sitemap.po CHANGED
@@ -3,15 +3,14 @@
3
  # This file is distributed under the same license as the WP Realtime Sitemap package.
4
  # Daniel Tweedy <support@daniel-tweedy.co.uk>, 2010.
5
  #
6
- #, fuzzy
7
  msgid ""
8
  msgstr ""
9
  "Project-Id-Version: WP Realtime Sitemap\n"
10
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-realtime-sitemap\n"
11
- "POT-Creation-Date: 2010-12-03 22:41-0000\n"
12
- "PO-Revision-Date: 2010-12-03 22:44-0000\n"
13
  "Last-Translator: Daniel Tweedy <daniel.tweedy@gmail.com>\n"
14
- "Language-Team: LANGUAGE <LL@li.org>\n"
15
  "MIME-Version: 1.0\n"
16
  "Content-Type: text/plain; charset=UTF-8\n"
17
  "Content-Transfer-Encoding: 8bit\n"
@@ -22,19 +21,15 @@ msgstr ""
22
  "X-Poedit-SourceCharset: utf-8\n"
23
  "X-Poedit-SearchPath-0: ..\n"
24
 
25
- #: ../wp-realtime-sitemap.php:63
26
- #: ../wp-realtime-sitemap.php:90
27
- msgid "FAQ"
28
- msgstr ""
29
-
30
  #: ../wp-realtime-sitemap.php:65
31
- #: ../wp-realtime-sitemap.php:91
32
- msgid "Support"
33
  msgstr ""
34
 
35
  #: ../wp-realtime-sitemap.php:67
36
- #: ../wp-realtime-sitemap.php:80
37
- msgid "Settings"
 
38
  msgstr ""
39
 
40
  #: ../wp-realtime-sitemap.php:69
@@ -43,269 +38,330 @@ msgid "Donate"
43
  msgstr ""
44
 
45
  #: ../wp-realtime-sitemap.php:71
46
- #: ../wp-realtime-sitemap.php:93
47
  msgid "Amazon Wishlist"
48
  msgstr ""
49
 
50
- #: ../wp-realtime-sitemap.php:88
 
 
 
 
 
 
 
 
 
 
51
  msgid "WP Realtime Sitemap Help"
52
  msgstr ""
53
 
54
- #: ../wp-realtime-sitemap.php:89
55
  msgid "Home Page"
56
  msgstr ""
57
 
58
- #: ../wp-realtime-sitemap.php:94
59
  msgid "Please read the plugin information and FAQ, before asking a question."
60
  msgstr ""
61
 
62
- #: ../wp-realtime-sitemap.php:102
63
- #: ../wp-realtime-sitemap.php:525
 
 
 
 
64
  msgid "WP Realtime Sitemap Options"
65
  msgstr ""
66
 
67
- #. #-#-#-#-# plugin.pot (WP Realtime Sitemap 1.4.7) #-#-#-#-#
68
  #. Plugin Name of the plugin/theme
69
- #: ../wp-realtime-sitemap.php:102
70
  msgid "WP Realtime Sitemap"
71
  msgstr ""
72
 
73
- #: ../wp-realtime-sitemap.php:108
74
  msgid "General Settings"
75
  msgstr ""
76
 
77
- #: ../wp-realtime-sitemap.php:109
78
  msgid "Sort Column"
79
  msgstr ""
80
 
81
- #: ../wp-realtime-sitemap.php:110
82
  msgid "Sort Order"
83
  msgstr ""
84
 
85
- #: ../wp-realtime-sitemap.php:112
86
  msgid "Post Settings"
87
  msgstr ""
88
 
89
- #: ../wp-realtime-sitemap.php:113
90
  msgid "Count"
91
  msgstr ""
92
 
93
- #: ../wp-realtime-sitemap.php:114
94
  msgid "Date"
95
  msgstr ""
96
 
97
- #: ../wp-realtime-sitemap.php:115
98
  msgid "Limit"
99
  msgstr ""
100
 
101
- #: ../wp-realtime-sitemap.php:117
102
  msgid "Tag Cloud Settings"
103
  msgstr ""
104
 
105
- #: ../wp-realtime-sitemap.php:118
106
  msgid "Show Category as a Tag Cloud"
107
  msgstr ""
108
 
109
- #: ../wp-realtime-sitemap.php:119
110
  msgid "Show Tags as a Tag Cloud"
111
  msgstr ""
112
 
113
- #: ../wp-realtime-sitemap.php:121
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
  msgid "Display Settings"
115
  msgstr ""
116
 
117
- #: ../wp-realtime-sitemap.php:122
118
  msgid "Show Pages"
119
  msgstr ""
120
 
121
- #: ../wp-realtime-sitemap.php:123
122
  msgid "Show Posts"
123
  msgstr ""
124
 
125
- #: ../wp-realtime-sitemap.php:124
 
 
 
 
126
  msgid "Show Archives"
127
  msgstr ""
128
 
129
- #: ../wp-realtime-sitemap.php:125
130
  msgid "Show Categories"
131
  msgstr ""
132
 
133
- #: ../wp-realtime-sitemap.php:126
134
  msgid "Show Tags"
135
  msgstr ""
136
 
137
- #: ../wp-realtime-sitemap.php:130
138
  msgid "Sort Column and Sort Order are used for sorting Pages, Posts, Categories and Tags."
139
  msgstr ""
140
 
141
- #: ../wp-realtime-sitemap.php:138
142
  msgid "Alphabetically (by title) (Default)"
143
  msgstr ""
144
 
145
- #: ../wp-realtime-sitemap.php:139
146
  msgid "Page order"
147
  msgstr ""
148
 
149
- #: ../wp-realtime-sitemap.php:140
150
  msgid "Creation time"
151
  msgstr ""
152
 
153
- #: ../wp-realtime-sitemap.php:141
154
  msgid "Time last modified"
155
  msgstr ""
156
 
157
- #: ../wp-realtime-sitemap.php:142
158
  msgid "Numeric Page ID"
159
  msgstr ""
160
 
161
- #: ../wp-realtime-sitemap.php:143
162
  msgid "Page author"
163
  msgstr ""
164
 
165
- #: ../wp-realtime-sitemap.php:144
166
  msgid "Alphabetically (by post slug)"
167
  msgstr ""
168
 
169
- #: ../wp-realtime-sitemap.php:165
170
  msgid "Ascending (Default)"
171
  msgstr ""
172
 
173
- #: ../wp-realtime-sitemap.php:166
174
  msgid "Descending"
175
  msgstr ""
176
 
177
- #: ../wp-realtime-sitemap.php:183
178
  msgid "Count is to display the number of posts that a Archive, Category and/or Tag has."
179
  msgstr ""
180
 
181
- #: ../wp-realtime-sitemap.php:184
182
  msgid "Date is to show the date that the post itself was created/published."
183
  msgstr ""
184
 
185
- #: ../wp-realtime-sitemap.php:185
186
  msgid "Limit is used to apply a limit as to how many posts should be shown on the sitemap, useful for if you have a very large blog and as such a large number of posts, use -1 to show all posts and not apply a limit."
187
  msgstr ""
188
 
189
- #: ../wp-realtime-sitemap.php:193
190
- #: ../wp-realtime-sitemap.php:215
191
- #: ../wp-realtime-sitemap.php:248
192
- #: ../wp-realtime-sitemap.php:270
193
- #: ../wp-realtime-sitemap.php:384
194
  msgid "Yes/On"
195
  msgstr ""
196
 
197
- #: ../wp-realtime-sitemap.php:194
198
- #: ../wp-realtime-sitemap.php:216
199
- #: ../wp-realtime-sitemap.php:249
200
- #: ../wp-realtime-sitemap.php:271
201
- #: ../wp-realtime-sitemap.php:385
202
  msgid "No/Off (Default)"
203
  msgstr ""
204
 
205
- #: ../wp-realtime-sitemap.php:240
206
  msgid "To show category and/or tags as a tag cloud instead of a bulletted list."
207
  msgstr ""
208
 
209
- #: ../wp-realtime-sitemap.php:288
 
 
 
 
210
  msgid "Choose what you would like to be displayed on your site map."
211
  msgstr ""
212
 
213
- #: ../wp-realtime-sitemap.php:296
214
- #: ../wp-realtime-sitemap.php:318
215
- #: ../wp-realtime-sitemap.php:340
216
- #: ../wp-realtime-sitemap.php:362
 
217
  msgid "Yes/On (Default)"
218
  msgstr ""
219
 
220
- #: ../wp-realtime-sitemap.php:297
221
- #: ../wp-realtime-sitemap.php:319
222
- #: ../wp-realtime-sitemap.php:341
223
- #: ../wp-realtime-sitemap.php:363
 
224
  msgid "No/Off"
225
  msgstr ""
226
 
227
- #: ../wp-realtime-sitemap.php:421
228
  msgid "Sort Column: Only Yes/On or No/Off are accepted as valid inputs."
229
  msgstr ""
230
 
231
- #: ../wp-realtime-sitemap.php:429
232
  msgid "Sort Order: Only Yes/On or No/Off are accepted as valid inputs."
233
  msgstr ""
234
 
235
- #: ../wp-realtime-sitemap.php:437
236
  msgid "Count: Only Yes/On or No/Off are accepted as valid inputs."
237
  msgstr ""
238
 
239
- #: ../wp-realtime-sitemap.php:445
240
  msgid "Date: Only Yes/On or No/Off are accepted as valid inputs."
241
  msgstr ""
242
 
243
- #: ../wp-realtime-sitemap.php:453
244
  msgid "Limit: Only integers or -1 are accepted as valid inputs."
245
  msgstr ""
246
 
247
- #: ../wp-realtime-sitemap.php:461
248
  msgid "Show Pages: Only Yes/On or No/Off are accepted as valid inputs."
249
  msgstr ""
250
 
251
- #: ../wp-realtime-sitemap.php:469
252
  msgid "Show Posts: Only Yes/On or No/Off are accepted as valid inputs."
253
  msgstr ""
254
 
255
- #: ../wp-realtime-sitemap.php:477
 
 
 
 
256
  msgid "Show Archives: Only Yes/On or No/Off are accepted as valid inputs."
257
  msgstr ""
258
 
259
- #: ../wp-realtime-sitemap.php:485
260
  msgid "Show Categories: Only Yes/On or No/Off are accepted as valid inputs."
261
  msgstr ""
262
 
263
- #: ../wp-realtime-sitemap.php:493
264
  msgid "Show Category as a Tag Cloud: Only Yes/On or No/Off are accepted as valid inputs."
265
  msgstr ""
266
 
267
- #: ../wp-realtime-sitemap.php:501
268
  msgid "Show Tags: Only Yes/On or No/Off are accepted as valid inputs."
269
  msgstr ""
270
 
271
- #: ../wp-realtime-sitemap.php:509
272
  msgid "Show Tags as a Tag Cloud: Only Yes/On or No/Off are accepted as valid inputs."
273
  msgstr ""
274
 
275
- #: ../wp-realtime-sitemap.php:520
276
  msgid "You do not have sufficient permissions to access this page."
277
  msgstr ""
278
 
279
- #: ../wp-realtime-sitemap.php:527
 
 
 
 
 
 
 
 
280
  msgid "This plugin can easily be styled by using the following ids below should you need to, if you require more flexibility than this please feel free to suggest something"
281
  msgstr ""
282
 
283
- #: ../wp-realtime-sitemap.php:540
284
  msgid "Save Changes"
285
  msgstr ""
286
 
287
- #: ../wp-realtime-sitemap.php:574
288
  msgid "Pages"
289
  msgstr ""
290
 
291
- #: ../wp-realtime-sitemap.php:593
292
- msgid "Posts"
293
- msgstr ""
294
-
295
- #: wp-realtime-sitemap.php:610
296
  #, php-format
297
  msgid "Permalink to %s"
298
  msgstr ""
299
 
300
- #: ../wp-realtime-sitemap.php:614
 
 
 
 
301
  msgid "Archives"
302
  msgstr ""
303
 
304
- #: ../wp-realtime-sitemap.php:620
305
  msgid "Categories"
306
  msgstr ""
307
 
308
- #: ../wp-realtime-sitemap.php:638
309
  msgid "Tags"
310
  msgstr ""
311
 
3
  # This file is distributed under the same license as the WP Realtime Sitemap package.
4
  # Daniel Tweedy <support@daniel-tweedy.co.uk>, 2010.
5
  #
 
6
  msgid ""
7
  msgstr ""
8
  "Project-Id-Version: WP Realtime Sitemap\n"
9
+ "Report-Msgid-Bugs-To: \n"
10
+ "POT-Creation-Date: 2011-02-06 22:39-0000\n"
11
+ "PO-Revision-Date: 2011-02-06 22:40-0000\n"
12
  "Last-Translator: Daniel Tweedy <daniel.tweedy@gmail.com>\n"
13
+ "Language-Team: Daniel Tweedy <daniel.tweedy@gmail.com>\n"
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
21
  "X-Poedit-SourceCharset: utf-8\n"
22
  "X-Poedit-SearchPath-0: ..\n"
23
 
 
 
 
 
 
24
  #: ../wp-realtime-sitemap.php:65
25
+ #: ../wp-realtime-sitemap.php:94
26
+ msgid "FAQ"
27
  msgstr ""
28
 
29
  #: ../wp-realtime-sitemap.php:67
30
+ #: ../wp-realtime-sitemap.php:93
31
+ #: ../wp-realtime-sitemap.php:112
32
+ msgid "Support"
33
  msgstr ""
34
 
35
  #: ../wp-realtime-sitemap.php:69
38
  msgstr ""
39
 
40
  #: ../wp-realtime-sitemap.php:71
41
+ #: ../wp-realtime-sitemap.php:91
42
  msgid "Amazon Wishlist"
43
  msgstr ""
44
 
45
+ #: ../wp-realtime-sitemap.php:73
46
+ #: ../wp-realtime-sitemap.php:96
47
+ msgid "Contact Me"
48
+ msgstr ""
49
+
50
+ #: ../wp-realtime-sitemap.php:82
51
+ #: ../wp-realtime-sitemap.php:111
52
+ msgid "Settings"
53
+ msgstr ""
54
+
55
+ #: ../wp-realtime-sitemap.php:90
56
  msgid "WP Realtime Sitemap Help"
57
  msgstr ""
58
 
59
+ #: ../wp-realtime-sitemap.php:95
60
  msgid "Home Page"
61
  msgstr ""
62
 
63
+ #: ../wp-realtime-sitemap.php:97
64
  msgid "Please read the plugin information and FAQ, before asking a question."
65
  msgstr ""
66
 
67
+ #: ../wp-realtime-sitemap.php:113
68
+ msgid "Translations"
69
+ msgstr ""
70
+
71
+ #: ../wp-realtime-sitemap.php:128
72
+ #: ../wp-realtime-sitemap.php:644
73
  msgid "WP Realtime Sitemap Options"
74
  msgstr ""
75
 
76
+ #. #-#-#-#-# plugin.pot (WP Realtime Sitemap 1.4.8) #-#-#-#-#
77
  #. Plugin Name of the plugin/theme
78
+ #: ../wp-realtime-sitemap.php:106
79
  msgid "WP Realtime Sitemap"
80
  msgstr ""
81
 
82
+ #: ../wp-realtime-sitemap.php:138
83
  msgid "General Settings"
84
  msgstr ""
85
 
86
+ #: ../wp-realtime-sitemap.php:139
87
  msgid "Sort Column"
88
  msgstr ""
89
 
90
+ #: ../wp-realtime-sitemap.php:140
91
  msgid "Sort Order"
92
  msgstr ""
93
 
94
+ #: ../wp-realtime-sitemap.php:142
95
  msgid "Post Settings"
96
  msgstr ""
97
 
98
+ #: ../wp-realtime-sitemap.php:143
99
  msgid "Count"
100
  msgstr ""
101
 
102
+ #: ../wp-realtime-sitemap.php:144
103
  msgid "Date"
104
  msgstr ""
105
 
106
+ #: ../wp-realtime-sitemap.php:145
107
  msgid "Limit"
108
  msgstr ""
109
 
110
+ #: ../wp-realtime-sitemap.php:147
111
  msgid "Tag Cloud Settings"
112
  msgstr ""
113
 
114
+ #: ../wp-realtime-sitemap.php:148
115
  msgid "Show Category as a Tag Cloud"
116
  msgstr ""
117
 
118
+ #: ../wp-realtime-sitemap.php:149
119
  msgid "Show Tags as a Tag Cloud"
120
  msgstr ""
121
 
122
+ #: ../wp-realtime-sitemap.php:151
123
+ msgid "Header Settings"
124
+ msgstr ""
125
+
126
+ #: ../wp-realtime-sitemap.php:152
127
+ msgid "Pages Header"
128
+ msgstr ""
129
+
130
+ #: ../wp-realtime-sitemap.php:153
131
+ msgid "Posts Header"
132
+ msgstr ""
133
+
134
+ #: ../wp-realtime-sitemap.php:154
135
+ msgid "Archives Header"
136
+ msgstr ""
137
+
138
+ #: ../wp-realtime-sitemap.php:155
139
+ msgid "Categories Header"
140
+ msgstr ""
141
+
142
+ #: ../wp-realtime-sitemap.php:156
143
+ msgid "Tags Header"
144
+ msgstr ""
145
+
146
+ #: ../wp-realtime-sitemap.php:158
147
  msgid "Display Settings"
148
  msgstr ""
149
 
150
+ #: ../wp-realtime-sitemap.php:159
151
  msgid "Show Pages"
152
  msgstr ""
153
 
154
+ #: ../wp-realtime-sitemap.php:160
155
  msgid "Show Posts"
156
  msgstr ""
157
 
158
+ #: ../wp-realtime-sitemap.php:161
159
+ msgid "Show ALL Custom Post Types"
160
+ msgstr ""
161
+
162
+ #: ../wp-realtime-sitemap.php:162
163
  msgid "Show Archives"
164
  msgstr ""
165
 
166
+ #: ../wp-realtime-sitemap.php:163
167
  msgid "Show Categories"
168
  msgstr ""
169
 
170
+ #: ../wp-realtime-sitemap.php:164
171
  msgid "Show Tags"
172
  msgstr ""
173
 
174
+ #: ../wp-realtime-sitemap.php:168
175
  msgid "Sort Column and Sort Order are used for sorting Pages, Posts, Categories and Tags."
176
  msgstr ""
177
 
178
+ #: ../wp-realtime-sitemap.php:176
179
  msgid "Alphabetically (by title) (Default)"
180
  msgstr ""
181
 
182
+ #: ../wp-realtime-sitemap.php:177
183
  msgid "Page order"
184
  msgstr ""
185
 
186
+ #: ../wp-realtime-sitemap.php:178
187
  msgid "Creation time"
188
  msgstr ""
189
 
190
+ #: ../wp-realtime-sitemap.php:179
191
  msgid "Time last modified"
192
  msgstr ""
193
 
194
+ #: ../wp-realtime-sitemap.php:180
195
  msgid "Numeric Page ID"
196
  msgstr ""
197
 
198
+ #: ../wp-realtime-sitemap.php:181
199
  msgid "Page author"
200
  msgstr ""
201
 
202
+ #: ../wp-realtime-sitemap.php:182
203
  msgid "Alphabetically (by post slug)"
204
  msgstr ""
205
 
206
+ #: ../wp-realtime-sitemap.php:203
207
  msgid "Ascending (Default)"
208
  msgstr ""
209
 
210
+ #: ../wp-realtime-sitemap.php:204
211
  msgid "Descending"
212
  msgstr ""
213
 
214
+ #: ../wp-realtime-sitemap.php:221
215
  msgid "Count is to display the number of posts that a Archive, Category and/or Tag has."
216
  msgstr ""
217
 
218
+ #: ../wp-realtime-sitemap.php:222
219
  msgid "Date is to show the date that the post itself was created/published."
220
  msgstr ""
221
 
222
+ #: ../wp-realtime-sitemap.php:223
223
  msgid "Limit is used to apply a limit as to how many posts should be shown on the sitemap, useful for if you have a very large blog and as such a large number of posts, use -1 to show all posts and not apply a limit."
224
  msgstr ""
225
 
226
+ #: ../wp-realtime-sitemap.php:231
227
+ #: ../wp-realtime-sitemap.php:253
228
+ #: ../wp-realtime-sitemap.php:286
229
+ #: ../wp-realtime-sitemap.php:308
230
+ #: ../wp-realtime-sitemap.php:483
231
  msgid "Yes/On"
232
  msgstr ""
233
 
234
+ #: ../wp-realtime-sitemap.php:232
235
+ #: ../wp-realtime-sitemap.php:254
236
+ #: ../wp-realtime-sitemap.php:287
237
+ #: ../wp-realtime-sitemap.php:309
238
+ #: ../wp-realtime-sitemap.php:484
239
  msgid "No/Off (Default)"
240
  msgstr ""
241
 
242
+ #: ../wp-realtime-sitemap.php:278
243
  msgid "To show category and/or tags as a tag cloud instead of a bulletted list."
244
  msgstr ""
245
 
246
+ #: ../wp-realtime-sitemap.php:326
247
+ msgid "This section is optional, you can change the names of the sections if you wish from the defaults. Defaults are used when the below options are left blank/empty."
248
+ msgstr ""
249
+
250
+ #: ../wp-realtime-sitemap.php:365
251
  msgid "Choose what you would like to be displayed on your site map."
252
  msgstr ""
253
 
254
+ #: ../wp-realtime-sitemap.php:373
255
+ #: ../wp-realtime-sitemap.php:395
256
+ #: ../wp-realtime-sitemap.php:417
257
+ #: ../wp-realtime-sitemap.php:439
258
+ #: ../wp-realtime-sitemap.php:461
259
  msgid "Yes/On (Default)"
260
  msgstr ""
261
 
262
+ #: ../wp-realtime-sitemap.php:374
263
+ #: ../wp-realtime-sitemap.php:396
264
+ #: ../wp-realtime-sitemap.php:418
265
+ #: ../wp-realtime-sitemap.php:440
266
+ #: ../wp-realtime-sitemap.php:462
267
  msgid "No/Off"
268
  msgstr ""
269
 
270
+ #: ../wp-realtime-sitemap.php:521
271
  msgid "Sort Column: Only Yes/On or No/Off are accepted as valid inputs."
272
  msgstr ""
273
 
274
+ #: ../wp-realtime-sitemap.php:529
275
  msgid "Sort Order: Only Yes/On or No/Off are accepted as valid inputs."
276
  msgstr ""
277
 
278
+ #: ../wp-realtime-sitemap.php:537
279
  msgid "Count: Only Yes/On or No/Off are accepted as valid inputs."
280
  msgstr ""
281
 
282
+ #: ../wp-realtime-sitemap.php:545
283
  msgid "Date: Only Yes/On or No/Off are accepted as valid inputs."
284
  msgstr ""
285
 
286
+ #: ../wp-realtime-sitemap.php:553
287
  msgid "Limit: Only integers or -1 are accepted as valid inputs."
288
  msgstr ""
289
 
290
+ #: ../wp-realtime-sitemap.php:561
291
  msgid "Show Pages: Only Yes/On or No/Off are accepted as valid inputs."
292
  msgstr ""
293
 
294
+ #: ../wp-realtime-sitemap.php:569
295
  msgid "Show Posts: Only Yes/On or No/Off are accepted as valid inputs."
296
  msgstr ""
297
 
298
+ #: ../wp-realtime-sitemap.php:577
299
+ msgid "Show Custom Post Types: Only Yes/On or No/Off are accepted as valid inputs."
300
+ msgstr ""
301
+
302
+ #: ../wp-realtime-sitemap.php:585
303
  msgid "Show Archives: Only Yes/On or No/Off are accepted as valid inputs."
304
  msgstr ""
305
 
306
+ #: ../wp-realtime-sitemap.php:593
307
  msgid "Show Categories: Only Yes/On or No/Off are accepted as valid inputs."
308
  msgstr ""
309
 
310
+ #: ../wp-realtime-sitemap.php:601
311
  msgid "Show Category as a Tag Cloud: Only Yes/On or No/Off are accepted as valid inputs."
312
  msgstr ""
313
 
314
+ #: ../wp-realtime-sitemap.php:609
315
  msgid "Show Tags: Only Yes/On or No/Off are accepted as valid inputs."
316
  msgstr ""
317
 
318
+ #: ../wp-realtime-sitemap.php:617
319
  msgid "Show Tags as a Tag Cloud: Only Yes/On or No/Off are accepted as valid inputs."
320
  msgstr ""
321
 
322
+ #: ../wp-realtime-sitemap.php:635
323
  msgid "You do not have sufficient permissions to access this page."
324
  msgstr ""
325
 
326
+ #: ../wp-realtime-sitemap.php:646
327
+ msgid "WP Realtime Sitemap is free to use, however, it has required a great deal of time and effort to develop and if it has been useful you can help support this development by making a small donation. This will act as an incentive for me to carry on developing, providing countless hours of support, and including new features and suggestions. You get some useful software and I get to carry on making it. Everybody wins."
328
+ msgstr ""
329
+
330
+ #: ../wp-realtime-sitemap.php:647
331
+ msgid "If you have yet to rate my plugin then can you please do that also, thank you!"
332
+ msgstr ""
333
+
334
+ #: ../wp-realtime-sitemap.php:675
335
  msgid "This plugin can easily be styled by using the following ids below should you need to, if you require more flexibility than this please feel free to suggest something"
336
  msgstr ""
337
 
338
+ #: ../wp-realtime-sitemap.php:691
339
  msgid "Save Changes"
340
  msgstr ""
341
 
342
+ #: ../wp-realtime-sitemap.php:731
343
  msgid "Pages"
344
  msgstr ""
345
 
346
+ #: ../wp-realtime-sitemap.php:757
347
+ #: ../wp-realtime-sitemap.php:792
 
 
 
348
  #, php-format
349
  msgid "Permalink to %s"
350
  msgstr ""
351
 
352
+ #: ../wp-realtime-sitemap.php:760
353
+ msgid "Posts"
354
+ msgstr ""
355
+
356
+ #: ../wp-realtime-sitemap.php:802
357
  msgid "Archives"
358
  msgstr ""
359
 
360
+ #: ../wp-realtime-sitemap.php:810
361
  msgid "Categories"
362
  msgstr ""
363
 
364
+ #: ../wp-realtime-sitemap.php:830
365
  msgid "Tags"
366
  msgstr ""
367
 
language/wp-realtime-sitemap.pot CHANGED
@@ -3,13 +3,12 @@
3
  # This file is distributed under the same license as the WP Realtime Sitemap package.
4
  # Daniel Tweedy <support@daniel-tweedy.co.uk>, 2010.
5
  #
6
- #, fuzzy
7
  msgid ""
8
  msgstr ""
9
  "Project-Id-Version: WP Realtime Sitemap\n"
10
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-realtime-sitemap\n"
11
- "POT-Creation-Date: 2010-12-03 22:41-0000\n"
12
- "PO-Revision-Date: 2010-12-03 22:44-0000\n"
13
  "Last-Translator: Daniel Tweedy <daniel.tweedy@gmail.com>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
  "MIME-Version: 1.0\n"
@@ -59,253 +58,304 @@ msgstr ""
59
  msgid "Please read the plugin information and FAQ, before asking a question."
60
  msgstr ""
61
 
62
- #: ../wp-realtime-sitemap.php:102
63
- #: ../wp-realtime-sitemap.php:525
64
  msgid "WP Realtime Sitemap Options"
65
  msgstr ""
66
 
67
- #. #-#-#-#-# plugin.pot (WP Realtime Sitemap 1.4.7) #-#-#-#-#
68
  #. Plugin Name of the plugin/theme
69
- #: ../wp-realtime-sitemap.php:102
70
  msgid "WP Realtime Sitemap"
71
  msgstr ""
72
 
73
- #: ../wp-realtime-sitemap.php:108
74
  msgid "General Settings"
75
  msgstr ""
76
 
77
- #: ../wp-realtime-sitemap.php:109
78
  msgid "Sort Column"
79
  msgstr ""
80
 
81
- #: ../wp-realtime-sitemap.php:110
82
  msgid "Sort Order"
83
  msgstr ""
84
 
85
- #: ../wp-realtime-sitemap.php:112
86
  msgid "Post Settings"
87
  msgstr ""
88
 
89
- #: ../wp-realtime-sitemap.php:113
90
  msgid "Count"
91
  msgstr ""
92
 
93
- #: ../wp-realtime-sitemap.php:114
94
  msgid "Date"
95
  msgstr ""
96
 
97
- #: ../wp-realtime-sitemap.php:115
98
  msgid "Limit"
99
  msgstr ""
100
 
101
- #: ../wp-realtime-sitemap.php:117
102
  msgid "Tag Cloud Settings"
103
  msgstr ""
104
 
105
- #: ../wp-realtime-sitemap.php:118
106
  msgid "Show Category as a Tag Cloud"
107
  msgstr ""
108
 
109
- #: ../wp-realtime-sitemap.php:119
110
  msgid "Show Tags as a Tag Cloud"
111
  msgstr ""
112
 
113
- #: ../wp-realtime-sitemap.php:121
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
  msgid "Display Settings"
115
  msgstr ""
116
 
117
- #: ../wp-realtime-sitemap.php:122
118
  msgid "Show Pages"
119
  msgstr ""
120
 
121
- #: ../wp-realtime-sitemap.php:123
122
  msgid "Show Posts"
123
  msgstr ""
124
 
125
- #: ../wp-realtime-sitemap.php:124
 
 
 
 
126
  msgid "Show Archives"
127
  msgstr ""
128
 
129
- #: ../wp-realtime-sitemap.php:125
130
  msgid "Show Categories"
131
  msgstr ""
132
 
133
- #: ../wp-realtime-sitemap.php:126
134
  msgid "Show Tags"
135
  msgstr ""
136
 
137
- #: ../wp-realtime-sitemap.php:130
138
  msgid "Sort Column and Sort Order are used for sorting Pages, Posts, Categories and Tags."
139
  msgstr ""
140
 
141
- #: ../wp-realtime-sitemap.php:138
142
  msgid "Alphabetically (by title) (Default)"
143
  msgstr ""
144
 
145
- #: ../wp-realtime-sitemap.php:139
146
  msgid "Page order"
147
  msgstr ""
148
 
149
- #: ../wp-realtime-sitemap.php:140
150
  msgid "Creation time"
151
  msgstr ""
152
 
153
- #: ../wp-realtime-sitemap.php:141
154
  msgid "Time last modified"
155
  msgstr ""
156
 
157
- #: ../wp-realtime-sitemap.php:142
158
  msgid "Numeric Page ID"
159
  msgstr ""
160
 
161
- #: ../wp-realtime-sitemap.php:143
162
  msgid "Page author"
163
  msgstr ""
164
 
165
- #: ../wp-realtime-sitemap.php:144
166
  msgid "Alphabetically (by post slug)"
167
  msgstr ""
168
 
169
- #: ../wp-realtime-sitemap.php:165
170
  msgid "Ascending (Default)"
171
  msgstr ""
172
 
173
- #: ../wp-realtime-sitemap.php:166
174
  msgid "Descending"
175
  msgstr ""
176
 
177
- #: ../wp-realtime-sitemap.php:183
178
  msgid "Count is to display the number of posts that a Archive, Category and/or Tag has."
179
  msgstr ""
180
 
181
- #: ../wp-realtime-sitemap.php:184
182
  msgid "Date is to show the date that the post itself was created/published."
183
  msgstr ""
184
 
185
- #: ../wp-realtime-sitemap.php:185
186
  msgid "Limit is used to apply a limit as to how many posts should be shown on the sitemap, useful for if you have a very large blog and as such a large number of posts, use -1 to show all posts and not apply a limit."
187
  msgstr ""
188
 
189
- #: ../wp-realtime-sitemap.php:193
190
- #: ../wp-realtime-sitemap.php:215
191
- #: ../wp-realtime-sitemap.php:248
192
- #: ../wp-realtime-sitemap.php:270
193
- #: ../wp-realtime-sitemap.php:384
194
  msgid "Yes/On"
195
  msgstr ""
196
 
197
- #: ../wp-realtime-sitemap.php:194
198
- #: ../wp-realtime-sitemap.php:216
199
- #: ../wp-realtime-sitemap.php:249
200
- #: ../wp-realtime-sitemap.php:271
201
- #: ../wp-realtime-sitemap.php:385
202
  msgid "No/Off (Default)"
203
  msgstr ""
204
 
205
- #: ../wp-realtime-sitemap.php:240
206
  msgid "To show category and/or tags as a tag cloud instead of a bulletted list."
207
  msgstr ""
208
 
209
- #: ../wp-realtime-sitemap.php:288
 
 
 
 
210
  msgid "Choose what you would like to be displayed on your site map."
211
  msgstr ""
212
 
213
- #: ../wp-realtime-sitemap.php:296
214
- #: ../wp-realtime-sitemap.php:318
215
- #: ../wp-realtime-sitemap.php:340
216
- #: ../wp-realtime-sitemap.php:362
 
217
  msgid "Yes/On (Default)"
218
  msgstr ""
219
 
220
- #: ../wp-realtime-sitemap.php:297
221
- #: ../wp-realtime-sitemap.php:319
222
- #: ../wp-realtime-sitemap.php:341
223
- #: ../wp-realtime-sitemap.php:363
 
224
  msgid "No/Off"
225
  msgstr ""
226
 
227
- #: ../wp-realtime-sitemap.php:421
228
  msgid "Sort Column: Only Yes/On or No/Off are accepted as valid inputs."
229
  msgstr ""
230
 
231
- #: ../wp-realtime-sitemap.php:429
232
  msgid "Sort Order: Only Yes/On or No/Off are accepted as valid inputs."
233
  msgstr ""
234
 
235
- #: ../wp-realtime-sitemap.php:437
236
  msgid "Count: Only Yes/On or No/Off are accepted as valid inputs."
237
  msgstr ""
238
 
239
- #: ../wp-realtime-sitemap.php:445
240
  msgid "Date: Only Yes/On or No/Off are accepted as valid inputs."
241
  msgstr ""
242
 
243
- #: ../wp-realtime-sitemap.php:453
244
  msgid "Limit: Only integers or -1 are accepted as valid inputs."
245
  msgstr ""
246
 
247
- #: ../wp-realtime-sitemap.php:461
248
  msgid "Show Pages: Only Yes/On or No/Off are accepted as valid inputs."
249
  msgstr ""
250
 
251
- #: ../wp-realtime-sitemap.php:469
252
  msgid "Show Posts: Only Yes/On or No/Off are accepted as valid inputs."
253
  msgstr ""
254
 
255
- #: ../wp-realtime-sitemap.php:477
 
 
 
 
256
  msgid "Show Archives: Only Yes/On or No/Off are accepted as valid inputs."
257
  msgstr ""
258
 
259
- #: ../wp-realtime-sitemap.php:485
260
  msgid "Show Categories: Only Yes/On or No/Off are accepted as valid inputs."
261
  msgstr ""
262
 
263
- #: ../wp-realtime-sitemap.php:493
264
  msgid "Show Category as a Tag Cloud: Only Yes/On or No/Off are accepted as valid inputs."
265
  msgstr ""
266
 
267
- #: ../wp-realtime-sitemap.php:501
268
  msgid "Show Tags: Only Yes/On or No/Off are accepted as valid inputs."
269
  msgstr ""
270
 
271
- #: ../wp-realtime-sitemap.php:509
272
  msgid "Show Tags as a Tag Cloud: Only Yes/On or No/Off are accepted as valid inputs."
273
  msgstr ""
274
 
275
- #: ../wp-realtime-sitemap.php:520
276
  msgid "You do not have sufficient permissions to access this page."
277
  msgstr ""
278
 
279
- #: ../wp-realtime-sitemap.php:527
 
 
 
 
 
 
 
 
280
  msgid "This plugin can easily be styled by using the following ids below should you need to, if you require more flexibility than this please feel free to suggest something"
281
  msgstr ""
282
 
283
- #: ../wp-realtime-sitemap.php:540
284
- msgid "Save Changes"
285
  msgstr ""
286
 
287
- #: ../wp-realtime-sitemap.php:574
288
- msgid "Pages"
289
  msgstr ""
290
 
291
- #: ../wp-realtime-sitemap.php:593
292
- msgid "Posts"
293
  msgstr ""
294
 
295
- #: wp-realtime-sitemap.php:610
 
296
  #, php-format
297
  msgid "Permalink to %s"
298
  msgstr ""
299
 
300
- #: ../wp-realtime-sitemap.php:614
 
 
 
 
301
  msgid "Archives"
302
  msgstr ""
303
 
304
- #: ../wp-realtime-sitemap.php:620
305
  msgid "Categories"
306
  msgstr ""
307
 
308
- #: ../wp-realtime-sitemap.php:638
309
  msgid "Tags"
310
  msgstr ""
311
 
@@ -327,3 +377,4 @@ msgstr ""
327
  #. Author URI of the plugin/theme
328
  msgid "http://www.daniel-tweedy.co.uk/"
329
  msgstr ""
 
3
  # This file is distributed under the same license as the WP Realtime Sitemap package.
4
  # Daniel Tweedy <support@daniel-tweedy.co.uk>, 2010.
5
  #
 
6
  msgid ""
7
  msgstr ""
8
  "Project-Id-Version: WP Realtime Sitemap\n"
9
+ "Report-Msgid-Bugs-To: \n"
10
+ "POT-Creation-Date: 2011-01-31 19:06-0000\n"
11
+ "PO-Revision-Date: 2011-01-31 19:07-0000\n"
12
  "Last-Translator: Daniel Tweedy <daniel.tweedy@gmail.com>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
  "MIME-Version: 1.0\n"
58
  msgid "Please read the plugin information and FAQ, before asking a question."
59
  msgstr ""
60
 
61
+ #: ../wp-realtime-sitemap.php:106
62
+ #: ../wp-realtime-sitemap.php:614
63
  msgid "WP Realtime Sitemap Options"
64
  msgstr ""
65
 
66
+ #. #-#-#-#-# plugin.pot (WP Realtime Sitemap 1.4.8) #-#-#-#-#
67
  #. Plugin Name of the plugin/theme
68
+ #: ../wp-realtime-sitemap.php:106
69
  msgid "WP Realtime Sitemap"
70
  msgstr ""
71
 
72
+ #: ../wp-realtime-sitemap.php:112
73
  msgid "General Settings"
74
  msgstr ""
75
 
76
+ #: ../wp-realtime-sitemap.php:113
77
  msgid "Sort Column"
78
  msgstr ""
79
 
80
+ #: ../wp-realtime-sitemap.php:114
81
  msgid "Sort Order"
82
  msgstr ""
83
 
84
+ #: ../wp-realtime-sitemap.php:116
85
  msgid "Post Settings"
86
  msgstr ""
87
 
88
+ #: ../wp-realtime-sitemap.php:117
89
  msgid "Count"
90
  msgstr ""
91
 
92
+ #: ../wp-realtime-sitemap.php:118
93
  msgid "Date"
94
  msgstr ""
95
 
96
+ #: ../wp-realtime-sitemap.php:119
97
  msgid "Limit"
98
  msgstr ""
99
 
100
+ #: ../wp-realtime-sitemap.php:121
101
  msgid "Tag Cloud Settings"
102
  msgstr ""
103
 
104
+ #: ../wp-realtime-sitemap.php:122
105
  msgid "Show Category as a Tag Cloud"
106
  msgstr ""
107
 
108
+ #: ../wp-realtime-sitemap.php:123
109
  msgid "Show Tags as a Tag Cloud"
110
  msgstr ""
111
 
112
+ #: ../wp-realtime-sitemap.php:125
113
+ msgid "Header Settings"
114
+ msgstr ""
115
+
116
+ #: ../wp-realtime-sitemap.php:126
117
+ msgid "Pages Header"
118
+ msgstr ""
119
+
120
+ #: ../wp-realtime-sitemap.php:127
121
+ msgid "Posts Header"
122
+ msgstr ""
123
+
124
+ #: ../wp-realtime-sitemap.php:128
125
+ msgid "Archives Header"
126
+ msgstr ""
127
+
128
+ #: ../wp-realtime-sitemap.php:129
129
+ msgid "Categories Header"
130
+ msgstr ""
131
+
132
+ #: ../wp-realtime-sitemap.php:130
133
+ msgid "Tags Header"
134
+ msgstr ""
135
+
136
+ #: ../wp-realtime-sitemap.php:132
137
  msgid "Display Settings"
138
  msgstr ""
139
 
140
+ #: ../wp-realtime-sitemap.php:133
141
  msgid "Show Pages"
142
  msgstr ""
143
 
144
+ #: ../wp-realtime-sitemap.php:134
145
  msgid "Show Posts"
146
  msgstr ""
147
 
148
+ #: ../wp-realtime-sitemap.php:135
149
+ msgid "Show ALL Custom Post Types"
150
+ msgstr ""
151
+
152
+ #: ../wp-realtime-sitemap.php:136
153
  msgid "Show Archives"
154
  msgstr ""
155
 
156
+ #: ../wp-realtime-sitemap.php:137
157
  msgid "Show Categories"
158
  msgstr ""
159
 
160
+ #: ../wp-realtime-sitemap.php:138
161
  msgid "Show Tags"
162
  msgstr ""
163
 
164
+ #: ../wp-realtime-sitemap.php:142
165
  msgid "Sort Column and Sort Order are used for sorting Pages, Posts, Categories and Tags."
166
  msgstr ""
167
 
168
+ #: ../wp-realtime-sitemap.php:150
169
  msgid "Alphabetically (by title) (Default)"
170
  msgstr ""
171
 
172
+ #: ../wp-realtime-sitemap.php:151
173
  msgid "Page order"
174
  msgstr ""
175
 
176
+ #: ../wp-realtime-sitemap.php:152
177
  msgid "Creation time"
178
  msgstr ""
179
 
180
+ #: ../wp-realtime-sitemap.php:153
181
  msgid "Time last modified"
182
  msgstr ""
183
 
184
+ #: ../wp-realtime-sitemap.php:154
185
  msgid "Numeric Page ID"
186
  msgstr ""
187
 
188
+ #: ../wp-realtime-sitemap.php:155
189
  msgid "Page author"
190
  msgstr ""
191
 
192
+ #: ../wp-realtime-sitemap.php:156
193
  msgid "Alphabetically (by post slug)"
194
  msgstr ""
195
 
196
+ #: ../wp-realtime-sitemap.php:177
197
  msgid "Ascending (Default)"
198
  msgstr ""
199
 
200
+ #: ../wp-realtime-sitemap.php:178
201
  msgid "Descending"
202
  msgstr ""
203
 
204
+ #: ../wp-realtime-sitemap.php:195
205
  msgid "Count is to display the number of posts that a Archive, Category and/or Tag has."
206
  msgstr ""
207
 
208
+ #: ../wp-realtime-sitemap.php:196
209
  msgid "Date is to show the date that the post itself was created/published."
210
  msgstr ""
211
 
212
+ #: ../wp-realtime-sitemap.php:197
213
  msgid "Limit is used to apply a limit as to how many posts should be shown on the sitemap, useful for if you have a very large blog and as such a large number of posts, use -1 to show all posts and not apply a limit."
214
  msgstr ""
215
 
216
+ #: ../wp-realtime-sitemap.php:205
217
+ #: ../wp-realtime-sitemap.php:227
218
+ #: ../wp-realtime-sitemap.php:260
219
+ #: ../wp-realtime-sitemap.php:282
220
+ #: ../wp-realtime-sitemap.php:457
221
  msgid "Yes/On"
222
  msgstr ""
223
 
224
+ #: ../wp-realtime-sitemap.php:206
225
+ #: ../wp-realtime-sitemap.php:228
226
+ #: ../wp-realtime-sitemap.php:261
227
+ #: ../wp-realtime-sitemap.php:283
228
+ #: ../wp-realtime-sitemap.php:458
229
  msgid "No/Off (Default)"
230
  msgstr ""
231
 
232
+ #: ../wp-realtime-sitemap.php:252
233
  msgid "To show category and/or tags as a tag cloud instead of a bulletted list."
234
  msgstr ""
235
 
236
+ #: ../wp-realtime-sitemap.php:300
237
+ msgid "This section is optional, you can change the names of the sections if you wish from the defaults. Defaults are used when the below options are left blank/empty."
238
+ msgstr ""
239
+
240
+ #: ../wp-realtime-sitemap.php:339
241
  msgid "Choose what you would like to be displayed on your site map."
242
  msgstr ""
243
 
244
+ #: ../wp-realtime-sitemap.php:347
245
+ #: ../wp-realtime-sitemap.php:369
246
+ #: ../wp-realtime-sitemap.php:391
247
+ #: ../wp-realtime-sitemap.php:413
248
+ #: ../wp-realtime-sitemap.php:435
249
  msgid "Yes/On (Default)"
250
  msgstr ""
251
 
252
+ #: ../wp-realtime-sitemap.php:348
253
+ #: ../wp-realtime-sitemap.php:370
254
+ #: ../wp-realtime-sitemap.php:392
255
+ #: ../wp-realtime-sitemap.php:414
256
+ #: ../wp-realtime-sitemap.php:436
257
  msgid "No/Off"
258
  msgstr ""
259
 
260
+ #: ../wp-realtime-sitemap.php:495
261
  msgid "Sort Column: Only Yes/On or No/Off are accepted as valid inputs."
262
  msgstr ""
263
 
264
+ #: ../wp-realtime-sitemap.php:503
265
  msgid "Sort Order: Only Yes/On or No/Off are accepted as valid inputs."
266
  msgstr ""
267
 
268
+ #: ../wp-realtime-sitemap.php:511
269
  msgid "Count: Only Yes/On or No/Off are accepted as valid inputs."
270
  msgstr ""
271
 
272
+ #: ../wp-realtime-sitemap.php:519
273
  msgid "Date: Only Yes/On or No/Off are accepted as valid inputs."
274
  msgstr ""
275
 
276
+ #: ../wp-realtime-sitemap.php:527
277
  msgid "Limit: Only integers or -1 are accepted as valid inputs."
278
  msgstr ""
279
 
280
+ #: ../wp-realtime-sitemap.php:535
281
  msgid "Show Pages: Only Yes/On or No/Off are accepted as valid inputs."
282
  msgstr ""
283
 
284
+ #: ../wp-realtime-sitemap.php:543
285
  msgid "Show Posts: Only Yes/On or No/Off are accepted as valid inputs."
286
  msgstr ""
287
 
288
+ #: ../wp-realtime-sitemap.php:551
289
+ msgid "Show Custom Post Types: Only Yes/On or No/Off are accepted as valid inputs."
290
+ msgstr ""
291
+
292
+ #: ../wp-realtime-sitemap.php:559
293
  msgid "Show Archives: Only Yes/On or No/Off are accepted as valid inputs."
294
  msgstr ""
295
 
296
+ #: ../wp-realtime-sitemap.php:567
297
  msgid "Show Categories: Only Yes/On or No/Off are accepted as valid inputs."
298
  msgstr ""
299
 
300
+ #: ../wp-realtime-sitemap.php:575
301
  msgid "Show Category as a Tag Cloud: Only Yes/On or No/Off are accepted as valid inputs."
302
  msgstr ""
303
 
304
+ #: ../wp-realtime-sitemap.php:583
305
  msgid "Show Tags: Only Yes/On or No/Off are accepted as valid inputs."
306
  msgstr ""
307
 
308
+ #: ../wp-realtime-sitemap.php:591
309
  msgid "Show Tags as a Tag Cloud: Only Yes/On or No/Off are accepted as valid inputs."
310
  msgstr ""
311
 
312
+ #: ../wp-realtime-sitemap.php:609
313
  msgid "You do not have sufficient permissions to access this page."
314
  msgstr ""
315
 
316
+ #: ../wp-realtime-sitemap.php:616
317
+ msgid "WP Realtime Sitemap is free to use, however, it has required a great deal of time and effort to develop and if it has been useful you can help support this development by making a small donation. This will act as an incentive for me to carry on developing, providing countless hours of support, and including new features and suggestions. You get some useful software and I get to carry on making it. Everybody wins."
318
+ msgstr ""
319
+
320
+ #: ../wp-realtime-sitemap.php:617
321
+ msgid "If you have yet to rate my plugin then can you please do that also, thank you!"
322
+ msgstr ""
323
+
324
+ #: ../wp-realtime-sitemap.php:626
325
  msgid "This plugin can easily be styled by using the following ids below should you need to, if you require more flexibility than this please feel free to suggest something"
326
  msgstr ""
327
 
328
+ #: ../wp-realtime-sitemap.php:634
329
+ msgid "insert custom post type name here"
330
  msgstr ""
331
 
332
+ #: ../wp-realtime-sitemap.php:640
333
+ msgid "Save Changes"
334
  msgstr ""
335
 
336
+ #: ../wp-realtime-sitemap.php:681
337
+ msgid "Pages"
338
  msgstr ""
339
 
340
+ #: ../wp-realtime-sitemap.php:712
341
+ #: ../wp-realtime-sitemap.php:752
342
  #, php-format
343
  msgid "Permalink to %s"
344
  msgstr ""
345
 
346
+ #: ../wp-realtime-sitemap.php:715
347
+ msgid "Posts"
348
+ msgstr ""
349
+
350
+ #: ../wp-realtime-sitemap.php:765
351
  msgid "Archives"
352
  msgstr ""
353
 
354
+ #: ../wp-realtime-sitemap.php:773
355
  msgid "Categories"
356
  msgstr ""
357
 
358
+ #: ../wp-realtime-sitemap.php:793
359
  msgid "Tags"
360
  msgstr ""
361
 
377
  #. Author URI of the plugin/theme
378
  msgid "http://www.daniel-tweedy.co.uk/"
379
  msgstr ""
380
+
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === WP Realtime Sitemap ===
2
  Contributors: Rincewind
3
- Donate link: http://www.daniel-tweedy.co.uk/redir/wp-realtime-sitemap-donate/
4
- Tags: seo, navigation, sitemap, sitemaps
5
  Requires at least: 3.0
6
- Tested up to: 3.0.2
7
  Stable tag: trunk
8
 
9
  A sitemap plugin to make it easier for your site to show all your pages, posts, archives, categories and tags in an easy to read format.
@@ -12,24 +12,27 @@ A sitemap plugin to make it easier for your site to show all your pages, posts,
12
 
13
  A sitemap plugin to make it easier for your site to show all your pages, posts, archives, categories and tags in an easy to read format without any need for template modification or html/php knowledge.
14
 
15
- 1. Can show/hide Posts, Pages, Archives, Categories and Tags.
16
- 1. All of the above can be ordered in anyway order you want.
17
  1. Can optionally show categories and/or tags as a bullet list, or as a tag cloud.
 
 
18
  1. Hierarchical list of pages and categories.
19
  1. Supports I18n for translation.
20
  1. Supports use of the wordpress shortcode for including the sitemap in pages and posts.
 
21
  1. It comes with an uninstaller, if you dont want it anymore just deactivate the plugin and delete it from within wordpress and it will delete all of its settings itself.
22
 
23
- I am open to ideas as to where to take the plugin next, if anyone has any ideas as to how to make it better then do please let me know and I will see what I can do to accomodate your requests.
24
 
25
  WP Realtime Sitemap is available in:-
26
 
27
- * English
28
- * Brazilian Portuguese by Gervasio Antonio
29
- * Czech by Libor Cerny
30
- * Russian by ssvictors
 
31
 
32
- Please rate this plugin and/or make a donation if you find it useful, thank you.
33
 
34
  == Installation ==
35
 
@@ -49,32 +52,39 @@ Please rate this plugin and/or make a donation if you find it useful, thank you.
49
 
50
  = Once plugin has been activated please follow one of the install options below to show the sitemap on your blog =
51
 
52
- 1. Create a page to be your sitemap.
53
- 1. Click the HTML tab in the WYSIWYG editor and paste into the page you created above or an already existing page the following shortcode `[wp-realtime-sitemap show="all"]`.
 
54
 
55
- = OR =
56
-
57
- 1. Goto Appearance and click on Editor.
58
- 1. v1.3: Now choose the php file you wish to add the sitemap to, and add the following code: `<?php echo wp_realtime_sitemap('<!--wp-realtime-sitemap-->'); ?>`.
59
- 1. v1.3.1+: Now choose the php file you wish to add the sitemap to, and add the following code: `<?php wp_realtime_sitemap(array('show' => 'all'), '', 'wp-realtime-sitemap'); ?>`.
60
 
61
  == Frequently Asked Questions ==
62
 
 
 
 
 
63
  = Do I need to add the &lt;!--wp-realtime-sitemap--&gt; to a Post or a Page? =
64
 
65
- This method is no longer supported in anything passed v1.3, please use the shortcode instead.
 
 
 
 
66
 
67
  = What should I call the page that I add the sitemap to? =
68
 
69
  You can call it whatever you like. I would suggest you call it Site Map.
70
 
71
- = Is there a php code so I can add it to a php template file? =
72
 
73
- Upto v1.3 you can put this php code into a file that you wish to have the sitemap shown on: `<?php echo wp_realtime_sitemap('<!--wp-realtime-sitemap-->'); ?>`.
74
 
75
- After v1.3 you can if do this put this php code in the php file you wish to have the sitemap shown on: `<?php echo wp_realtime_sitemap(array('show' => 'pages'), '', 'wp-realtime-sitemap'); ?>`.
76
 
77
- Please see the installation page for information about the short code usage for more information on the show attribute.
 
 
78
 
79
  == Examples ==
80
 
@@ -84,6 +94,8 @@ Show posts: `[wp-realtime-sitemap show="posts"]`.
84
 
85
  Show pages: `[wp-realtime-sitemap show="pages"]`.
86
 
 
 
87
  Show archives: `[wp-realtime-sitemap show="archives"]`.
88
 
89
  Show categories: `[wp-realtime-sitemap show="categories"]`.
@@ -99,16 +111,43 @@ Show everything (fixed order of: posts, pages, archives, categories, tags): `[wp
99
 
100
  == Translations ==
101
 
102
- * Brazilian Portuguese translation kindly done by Gervasio Antonio.
103
- * Czech translation kindly done by Libor Cerny.
104
- * Russian translation kindly done by ssvictors.
105
-
106
- I would be very grateful if someone could translate my plugin to other languages and also update the language files that have already been done to check they are still current and work with the recent changes I made to my plugin.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
107
 
108
  == Changelog ==
109
 
 
 
 
 
 
 
 
 
110
  = 1.4.7.2 =
111
  * Changed constructor so the localization files are initialized with the plugin.
 
112
 
113
  = 1.4.7.1 =
114
  * Fixed some duplication errors in the language files.
@@ -167,6 +206,9 @@ I would be very grateful if someone could translate my plugin to other languages
167
 
168
  == Upgrade Notice ==
169
 
 
 
 
170
  = 1.4.6 =
171
  Renamed form options for Show post count, Show date, Post limit, as a result of this I do regrettably have to tell you you will need to visit the settings page and submit your settings back into the database for these options, otherwise your sitemap will not display on your site.
172
 
1
  === WP Realtime Sitemap ===
2
  Contributors: Rincewind
3
+ Donate link: http://www.daniel-tweedy.co.uk/redir/wordpress-plugins-donation/
4
+ Tags: seo, navigation, sitemap, sitemaps, posts, pages, custom, post, types, translation, translated, i18n, wpmu, wordpress, multisite, multiuser, multi-lingual,
5
  Requires at least: 3.0
6
+ Tested up to: 3.0.4
7
  Stable tag: trunk
8
 
9
  A sitemap plugin to make it easier for your site to show all your pages, posts, archives, categories and tags in an easy to read format.
12
 
13
  A sitemap plugin to make it easier for your site to show all your pages, posts, archives, categories and tags in an easy to read format without any need for template modification or html/php knowledge.
14
 
15
+ 1. Can show/hide Posts, Custom Post Types, Pages, Archives, Categories and Tags.
 
16
  1. Can optionally show categories and/or tags as a bullet list, or as a tag cloud.
17
+ 1. All of the above can be ordered in anyway order you want.
18
+ 1. Can optionally name the sections different from the default of Pages, Posts, Archives, Categories and Tags.
19
  1. Hierarchical list of pages and categories.
20
  1. Supports I18n for translation.
21
  1. Supports use of the wordpress shortcode for including the sitemap in pages and posts.
22
+ 1. Works on WordPress Multisite (WPMU) blogs.
23
  1. It comes with an uninstaller, if you dont want it anymore just deactivate the plugin and delete it from within wordpress and it will delete all of its settings itself.
24
 
25
+ I cant think of anything else that I personally would need this plugin to do for my own use, if anyone feels it doesn't meet what they need, or has any suggestions as to how to make it better then do please get in touch with me and I will see what I can do to accomodate your requests.
26
 
27
  WP Realtime Sitemap is available in:-
28
 
29
+ * English.
30
+ * Brazilian Portuguese by Gervasio Antonio.
31
+ * Czech by Libor Cerny.
32
+ * Russian by ssvictors.
33
+ * Spanish by Fran�ois-Xavier Gonzalez.
34
 
35
+ Please rate this plugin and/or make a [donation](http://www.daniel-tweedy.co.uk/redir/wordpress-plugins-donation/ "PayPal donation") if you find it useful, thank you.
36
 
37
  == Installation ==
38
 
52
 
53
  = Once plugin has been activated please follow one of the install options below to show the sitemap on your blog =
54
 
55
+ 1. Click Pages in the left hand menu navigation.
56
+ 1. Click on the link in the left hand menu navigation that says Add New or the button that says Add New next to Pages in the main content area.
57
+ 1. Give your page a title I suggest Sitemap, and put the shortcode mentioned on the examples into the wysiwyg box.
58
 
59
+ *Note*: If you already have a page for your sitemap then put the shortcode in this pages wysiwyg box instead of creating a new page.
 
 
 
 
60
 
61
  == Frequently Asked Questions ==
62
 
63
+ = I would like to make a donation how can I do this? =
64
+
65
+ You can make a [Pay Pal donation](http://www.daniel-tweedy.co.uk/redir/wordpress-plugins-donation/ "PayPal donation") by clicking [here](http://www.daniel-tweedy.co.uk/redir/wordpress-plugins-donation/ "PayPal donation"), your [donation](http://www.daniel-tweedy.co.uk/redir/wordpress-plugins-donation/ "PayPal donation") will be very gratefully received thank you!
66
+
67
  = Do I need to add the &lt;!--wp-realtime-sitemap--&gt; to a Post or a Page? =
68
 
69
+ This method is no longer supported, please use the shortcode instead.
70
+
71
+ = Is there a php code so I can add it to a php template file? =
72
+
73
+ This method is no longer supported, please use the shortcode instead.
74
 
75
  = What should I call the page that I add the sitemap to? =
76
 
77
  You can call it whatever you like. I would suggest you call it Site Map.
78
 
79
+ = I have some pages that I need but are to be hidden and not on the sitemap =
80
 
81
+ My plugin only shows posts and pages that have the status as published, so if you wish to have a post of page be published but not to be shown, change its status to "privately published" and it will disappear off the sitemap, you can do this easily when editing a post/page with the Publish box on the left hand side, I have included a screeshot to show what to set this box to.
82
 
83
+ == Screenshots ==
84
 
85
+ 1. Settings page in the admin area.
86
+ 2. Output as displayed on Twenty Ten theme.
87
+ 3. How to hide a post and/or page off the sitemap.
88
 
89
  == Examples ==
90
 
94
 
95
  Show pages: `[wp-realtime-sitemap show="pages"]`.
96
 
97
+ Show custom post types: `[wp-realtime-sitemap show="custom-posts"]`.
98
+
99
  Show archives: `[wp-realtime-sitemap show="archives"]`.
100
 
101
  Show categories: `[wp-realtime-sitemap show="categories"]`.
111
 
112
  == Translations ==
113
 
114
+ If you're multi-lingual then you may want to consider donating a translation:
115
+
116
+ * Arabic
117
+ * Bahasa Indonesia
118
+ * Brazilian Portuguese *may need updating* - kindly done by Gervasio Antonio.
119
+ * Catalan
120
+ * Czech *may need updating* - kindly done by Libor Cerny.
121
+ * Dutch
122
+ * French
123
+ * German
124
+ * Hebrew
125
+ * Hindi
126
+ * Italian
127
+ * Japanese
128
+ * Polish
129
+ * Russian *may need updating* - kindly done by ssvictors.
130
+ * Simplified Chinese
131
+ * Spanish *may need updating* - kindly done by Fran�ois-Xavier Gonzalez.
132
+ * Ukrainian
133
+
134
+ All translators will have a link to their website placed on the plugin homepage on my site, and on the wordpress plugin homepage, in addition to being an individual supporter.
135
+
136
+ Full details of producing a translation can be found in this [guide to translating WordPress plugins](http://urbangiraffe.com/articles/translating-wordpress-themes-and-plugins/).
137
 
138
  == Changelog ==
139
 
140
+ = 1.4.8 =
141
+ * Added custom post types, if this was something you have been waiting for, or have requested then please consider making a [donation](http://www.daniel-tweedy.co.uk/redir/wordpress-plugins-donation/ "PayPal donation") thank you!
142
+ * Added ability to change the names of the sections from the defaults of Pages, Posts, Archives, Categories and Tags, this is optional if there blank/empty will use the defaults.
143
+ * No longer using query_posts to display pages, posts and custom post types, now using get_posts now works correctly with WPMU.
144
+ * Added Screenshots of admin interface, and the output of the plugin.
145
+ * Fixed bug where was showing comments and comment form on the sitemap page, a great big thank you to [eceleste](http://wordpress.org/support/profile/eceleste) for help with this fix.
146
+ * Fixed issue where was output html which wasn't valid for posts, missing the double quotes round the url, thanks to [GreyIBlackJay](http://wordpress.org/support/profile/greyiblackjay) for spotting this.
147
+
148
  = 1.4.7.2 =
149
  * Changed constructor so the localization files are initialized with the plugin.
150
+ * Spanish translation kindly done by Fran�ois-Xavier Gonzalez.
151
 
152
  = 1.4.7.1 =
153
  * Fixed some duplication errors in the language files.
206
 
207
  == Upgrade Notice ==
208
 
209
+ = 1.4.8 =
210
+ All versions prior to this version output html which is not valid, please upgrade to atleast v1.4.8.
211
+
212
  = 1.4.6 =
213
  Renamed form options for Show post count, Show date, Post limit, as a result of this I do regrettably have to tell you you will need to visit the settings page and submit your settings back into the database for these options, otherwise your sitemap will not display on your site.
214
 
screenshot-1.png ADDED
Binary file
screenshot-2.png ADDED
Binary file
screenshot-3.png ADDED
Binary file
wp-realtime-sitemap.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: WP Realtime Sitemap
5
  Plugin URI: http://www.daniel-tweedy.co.uk/redir/wp-realtime-sitemap-home/
6
  Description: Adds a sitemap to your Wordpress blog that is always up-to-date. Add `[wp-realtime-sitemap show="all"]` to any page or post and the site map will be added there. Use Settings->WP Realtime Sitemap to set options.
7
- Version: 1.4.7.2
8
  Author: Daniel Tweedy
9
  Author URI: http://www.daniel-tweedy.co.uk/
10
  License: GPL2
@@ -28,6 +28,8 @@ License: GPL2
28
 
29
  if (!class_exists('WPRealtimeSitemap')) {
30
  class WPRealtimeSitemap {
 
 
31
  function WPRealtimeSitemap() { //constructor
32
  // Add Init
33
  add_action('init', array(&$this, 'addInit'));
@@ -60,15 +62,15 @@ if (!class_exists('WPRealtimeSitemap')) {
60
  function addMeta($links, $file) {
61
  $plugin_file = basename(__FILE__);
62
  if (basename($file) == $plugin_file) {
63
- $faq_link = '<a href="http://www.daniel-tweedy.co.uk/redir/wp-realtime-sitemap-faq">' . __('FAQ', 'wp-realtime-sitemap') . '</a>';
64
  array_unshift($links, $faq_link);
65
- $support_link = '<a href="http://www.daniel-tweedy.co.uk/redir/wp-realtime-sitemap-support">' . __('Support', 'wp-realtime-sitemap') . '</a>';
66
  array_unshift($links, $support_link);
67
- $settings_link = '<a href="options-general.php?page='.$plugin_file.'">' . __('Settings', 'wp-realtime-sitemap') . '</a>';
68
- array_unshift($links, $settings_link);
69
- $donate_link = '<a href="http://www.daniel-tweedy.co.uk/redir/wp-realtime-sitemap-donate">' . __('Donate', 'wp-realtime-sitemap') . '</a>';
70
  array_unshift($links, $donate_link);
71
- $amazon_link = '<a href="http://www.daniel-tweedy.co.uk/redir/wp-realtime-sitemap-amazon-wishlist">' . __('Amazon Wishlist', 'wp-realtime-sitemap') . '</a>';
 
 
72
  array_unshift($links, $amazon_link);
73
  }
74
  return $links;
@@ -85,26 +87,49 @@ if (!class_exists('WPRealtimeSitemap')) {
85
 
86
  function addHelp( $help, $screen ) {
87
  if ( $screen == 'settings_page_wp-realtime-sitemap' ) {
88
- $help .= '<h5>' . __('WP Realtime Sitemap Help', 'wp-realtime-sitemap') . '</h5><div class="metabox-prefs">';
89
- $help .= '<a href="http://www.daniel-tweedy.co.uk/redir/wp-realtime-sitemap-install">' . __( 'Home Page', 'wp-realtime-sitemap' ).'</a><br/>';
90
- $help .= '<a href="http://www.daniel-tweedy.co.uk/redir/wp-realtime-sitemap-faq">' . __( 'FAQ', 'wp-realtime-sitemap' ).'</a><br/>';
91
- $help .= '<a href="http://www.daniel-tweedy.co.uk/redir/wp-realtime-sitemap-support">' . __( 'Support', 'wp-realtime-sitemap' ).'</a><br/>';
92
- $help .= '<a href="http://www.daniel-tweedy.co.uk/redir/wp-realtime-sitemap-donate">' . __( 'Donate', 'wp-realtime-sitemap' ).'</a><br/>';
93
- $help .= '<a href="http://www.daniel-tweedy.co.uk/redir/wp-realtime-sitemap-amazon-wishlist">' . __('Amazon Wishlist', 'wp-realtime-sitemap') . '</a>';
94
- $help .= __( 'Please read the plugin information and FAQ, before asking a question.', 'wp-realtime-sitemap' );
95
- $help .= '</div>';
96
  }
97
 
98
  return $help;
99
  }
100
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
  function addInit() {
 
 
 
102
  // Localization
103
  load_plugin_textdomain('wp-realtime-sitemap', false, dirname(plugin_basename(__FILE__)) . '/language');
104
  }
105
 
106
  function addOptions() {
107
- add_options_page(__('WP Realtime Sitemap Options', 'wp-realtime-sitemap'), __('WP Realtime Sitemap', 'wp-realtime-sitemap'), 'manage_options', basename(__FILE__), array(&$this, '_optionsForm'));
 
 
 
 
108
  }
109
 
110
  function addOptionsInit() {
@@ -123,9 +148,17 @@ if (!class_exists('WPRealtimeSitemap')) {
123
  add_settings_field('category_tagcloud', __('Show Category as a Tag Cloud', 'wp-realtime-sitemap'), array($this, '_formCategoryTagCloud'), __FILE__, 'tagcloud_settings');
124
  add_settings_field('tags_tagcloud', __('Show Tags as a Tag Cloud', 'wp-realtime-sitemap'), array($this, '_formTagsTagCloud'), __FILE__, 'tagcloud_settings');
125
 
 
 
 
 
 
 
 
126
  add_settings_section('display_settings', __('Display Settings', 'wp-realtime-sitemap'), array($this, 'display_section_text'), __FILE__);
127
  add_settings_field('show_pages', __('Show Pages', 'wp-realtime-sitemap'), array($this, '_formShowPages'), __FILE__, 'display_settings');
128
  add_settings_field('show_posts', __('Show Posts', 'wp-realtime-sitemap'), array($this, '_formShowPosts'), __FILE__, 'display_settings');
 
129
  add_settings_field('show_archives', __('Show Archives', 'wp-realtime-sitemap'), array($this, '_formShowArchives'), __FILE__, 'display_settings');
130
  add_settings_field('show_categories', __('Show Categories', 'wp-realtime-sitemap'), array($this, '_formShowCategories'), __FILE__, 'display_settings');
131
  add_settings_field('show_tags', __('Show Tags', 'wp-realtime-sitemap'), array($this, '_formShowTags'), __FILE__, 'display_settings');
@@ -289,6 +322,45 @@ if (!class_exists('WPRealtimeSitemap')) {
289
  echo $output;
290
  }
291
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
292
  function display_section_text() {
293
  echo '<p>' . __('Choose what you would like to be displayed on your site map.', 'wp-realtime-sitemap') . '</p>';
294
  }
@@ -337,6 +409,28 @@ if (!class_exists('WPRealtimeSitemap')) {
337
  echo $output;
338
  }
339
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
340
  function _formShowArchives() {
341
  // Get current options from the database.
342
  extract(get_option('plugin_wp_realtime_sitemap_settings'));
@@ -407,17 +501,18 @@ if (!class_exists('WPRealtimeSitemap')) {
407
  $plugin_wp_realtime_sitemap_settings = get_option('plugin_wp_realtime_sitemap_settings');
408
 
409
  $validOptions = array(
410
- 'sort_column' => array('title', 'menu_order', 'date', 'modified', 'ID', 'author', 'name'),
411
- 'sort_order' => array('ASC', 'DESC'),
412
- 'count' => array('no', 'yes'),
413
- 'date' => array('no', 'yes'),
414
- 'show_pages' => array('yes', 'no'),
415
- 'show_posts' => array('yes', 'no'),
416
- 'show_archives' => array('yes', 'no'),
417
- 'show_categories' => array('yes', 'no'),
418
- 'category_tagcloud' => array('no', 'yes'),
419
- 'show_tags' => array('no', 'yes'),
420
- 'tags_tagcloud' => array('no', 'yes'),
 
421
  );
422
 
423
  if(!in_array($input['sort_column'], $validOptions['sort_column'])) {
@@ -476,6 +571,14 @@ if (!class_exists('WPRealtimeSitemap')) {
476
  $plugin_wp_realtime_sitemap_settings['show_posts'] = $input['show_posts'];
477
  }
478
 
 
 
 
 
 
 
 
 
479
  if(!in_array($input['show_archives'], $validOptions['show_archives'])) {
480
  $plugin_wp_realtime_sitemap_settings['show_archives'] = $validOptions['show_archives'][0];
481
 
@@ -516,6 +619,13 @@ if (!class_exists('WPRealtimeSitemap')) {
516
  $plugin_wp_realtime_sitemap_settings['tags_tagcloud'] = $input['tags_tagcloud'];
517
  }
518
 
 
 
 
 
 
 
 
519
  return $plugin_wp_realtime_sitemap_settings;
520
  }
521
 
@@ -524,11 +634,37 @@ if (!class_exists('WPRealtimeSitemap')) {
524
  if (!current_user_can('manage_options')) {
525
  wp_die( __('You do not have sufficient permissions to access this page.', 'wp-realtime-sitemap') );
526
  }
 
 
 
 
527
  ?>
528
  <div class="wrap">
529
  <?php screen_icon(); ?>
530
  <h2><?php _e('WP Realtime Sitemap Options', 'wp-realtime-sitemap'); ?></h2>
531
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
532
  <p><?php _e('This plugin can easily be styled by using the following ids below should you need to, if you require more flexibility than this please feel free to suggest something', 'wp-realtime-sitemap'); ?></p>
533
 
534
  <ul>
@@ -537,6 +673,9 @@ if (!class_exists('WPRealtimeSitemap')) {
537
  <li>wp-realtime-sitemap-archives</li>
538
  <li>wp-realtime-sitemap-categories</li>
539
  <li>wp-realtime-sitemap-tags</li>
 
 
 
540
  </ul>
541
 
542
  <form method="post" action="options.php">
@@ -548,29 +687,31 @@ if (!class_exists('WPRealtimeSitemap')) {
548
  }
549
 
550
  function showOutput($atts, $content=null, $code='') {
551
- global $wpdb, $table_prefix;
 
 
 
 
 
 
 
552
 
553
  // Only perform plugin functionality if post/page text has the shortcode in the page.
554
  if (preg_match('|wp-realtime-sitemap|', $code)) {
555
-
556
- $pages = '';
557
- $posts = '';
558
- $archives = '';
559
- $categories = '';
560
- $tags = '';
561
-
562
  // Get option values from the database.
563
  $all_options = get_option('plugin_wp_realtime_sitemap_settings');
564
 
565
  extract(shortcode_atts(array(
566
- 'show' => 'all',
567
- 'sort_column' => $all_options['sort_column'],
568
- 'sort_order' => $all_options['sort_order'],
569
- 'limit' => $all_options['limit'],
570
- 'count' => $all_options['count'],
571
- 'date' => $all_options['date'],
572
  ), $atts));
573
 
 
 
574
  if ($show == 'categories') {
575
  $tagcloud = $all_options['category_tagcloud'];
576
  } else if ($show == 'tags') {
@@ -579,11 +720,10 @@ if (!class_exists('WPRealtimeSitemap')) {
579
 
580
  // Pages: Yes/No?
581
  if ($all_options['show_pages'] != 'no' && $all_options['show_pages'] != 'off') {
582
- if ($sort_column == 'title' || $sort_column == 'date' || $sort_column == 'modified' || $sort_column == 'author' || $sort_column == 'name')
583
- $page_sort_column = 'post_' . $sort_column;
584
-
585
- $pages = '<div id="wp-realtime-sitemap-pages"><h3>' . __('Pages', 'wp-realtime-sitemap') . '</h3>';
586
- $pages .= '<ul>' . wp_list_pages(array('sort_column' => (!isset($page_sort_column)) ? $sort_column : $page_sort_column, 'sort_order' => $sort_order, 'title_li' => '', 'echo' => '0')) . '</ul></div>';
587
  }
588
 
589
  // Posts: Yes/No?
@@ -591,55 +731,89 @@ if (!class_exists('WPRealtimeSitemap')) {
591
  $posts = '';
592
 
593
  // Set options for post query
594
- $post_args = array(
595
- 'orderby' => $sort_column,
596
- 'order' => $sort_order,
597
- 'posts_per_page' => $limit,
598
- );
 
 
 
 
 
599
 
600
- // The Query
601
- query_posts($post_args);
602
 
603
- if (have_posts())
604
- $posts = '<div id="wp-realtime-sitemap-posts"><h3>' . __('Posts', 'wp-realtime-sitemap') . '</h3><ul>';
605
 
606
- // The Loop
607
- while (have_posts()) {
608
- the_post();
609
-
610
- $extra = '';
611
 
612
- if ($date == 'yes')
613
- $extra = ' <span>' . get_the_date() . '</span>';
614
 
615
- $posts .= '<li><a href="' . get_permalink() . '" title="' . sprintf(esc_attr__('Permalink to %s', 'wp-realtime-sitemap'), the_title_attribute('echo=0')) . '" rel="bookmark">' . get_the_title() . '</a>' . $extra . '</li>';
616
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
617
 
618
- if (have_posts())
619
- $posts .= '</ul></div>';
620
 
621
- // Reset Query
622
- wp_reset_query();
 
 
 
 
 
 
 
 
 
623
  }
624
 
625
  // Archives: Yes/No?
626
  if ($all_options['show_archives'] != 'no' && $all_options['show_archives'] != 'off') {
627
- $archives = '<div id="wp-realtime-sitemap-archives"><h3>' . __('Archives', 'wp-realtime-sitemap') . '</h3>';
 
 
628
  $archives .= '<ul>' . wp_get_archives(array('type' => 'monthly', 'show_post_count' => ($count == 'yes') ? true : false, 'echo' => 0)) . '</ul></div>';
629
  }
630
 
631
  // Categories: Yes/No?
632
  if ($all_options['show_categories'] != 'no' && $all_options['show_categories'] != 'off') {
633
- $categories = '<div id="wp-realtime-sitemap-categories"><h3>' . __('Categories', 'wp-realtime-sitemap') . '</h3>';
 
 
634
 
635
  // Tag Cloud: Yes/No?
636
  if ($all_options['category_tagcloud'] != 'no' && $all_options['category_tagcloud'] != 'off') {
637
- $categories .= wp_tag_cloud(array('format' => 'flat', 'separator' => ' ', 'taxonomy' => 'category', 'echo' => '0'));
638
  } else {
639
  if ($sort_column != 'ID' || $sort_column != 'name' || $sort_column != 'slug' || $sort_column != 'count' || $sort_column != 'term_group') {
640
  $categories_sort_column = 'name';
641
  }
642
-
643
  $categories .= '<ul>' . wp_list_categories(array('orderby' => (!isset($categories_sort_column)) ? $sort_column : $categories_sort_column, 'order' => $sort_order, 'show_count' => ($count == 'yes') ? true : false, 'hierarchical' => true, 'title_li' => '', 'echo' => '0', 'taxonomy' => 'category')) . '</ul>';
644
  }
645
 
@@ -648,11 +822,13 @@ if (!class_exists('WPRealtimeSitemap')) {
648
 
649
  // Tags: Yes/No?
650
  if ($all_options['show_tags'] != 'no' && $all_options['show_tags'] != 'off') {
651
- $tags = '<div id="wp-realtime-sitemap-tags"><h3>' . __('Tags', 'wp-realtime-sitemap') . '</h3>';
 
 
652
 
653
  // Tag Cloud: Yes/No?
654
  if ($all_options['tags_tagcloud'] != 'no' && $all_options['tags_tagcloud'] != 'off') {
655
- $tags .= wp_tag_cloud(array('format' => 'flat', 'separator' => ' ', 'echo' => '0'));
656
  } else {
657
  if ($sort_column != 'ID' || $sort_column != 'name' || $sort_column != 'slug' || $sort_column != 'count' || $sort_column != 'term_group') {
658
  $tags_sort_column = 'name';
@@ -672,6 +848,10 @@ if (!class_exists('WPRealtimeSitemap')) {
672
  return $posts;
673
  }
674
 
 
 
 
 
675
  if ($show == 'archives') {
676
  return $archives;
677
  }
@@ -685,7 +865,8 @@ if (!class_exists('WPRealtimeSitemap')) {
685
  }
686
 
687
  if ($show == 'all') {
688
- return $pages . $posts . $archives . $categories . $tags;
 
689
  }
690
  }
691
  }
@@ -705,18 +886,24 @@ if (!class_exists('WPRealtimeSitemap')) {
705
 
706
  function _defaultSettings () {
707
  $defaults = array(
708
- 'sort_column' => 'post_date',
709
- 'sort_order' => 'ASC',
710
- 'count' => 'no',
711
- 'date' => 'no',
712
- 'limit' => '-1',
713
- 'show_pages' => 'yes',
714
- 'show_posts' => 'yes',
715
- 'show_archives' => 'yes',
716
- 'show_categories' => 'yes',
717
- 'category_tagcloud' => 'no',
718
- 'show_tags' => 'no',
719
- 'tags_tagcloud' => 'no',
 
 
 
 
 
 
720
  );
721
 
722
  update_option('plugin_wp_realtime_sitemap_settings', $defaults);
4
  Plugin Name: WP Realtime Sitemap
5
  Plugin URI: http://www.daniel-tweedy.co.uk/redir/wp-realtime-sitemap-home/
6
  Description: Adds a sitemap to your Wordpress blog that is always up-to-date. Add `[wp-realtime-sitemap show="all"]` to any page or post and the site map will be added there. Use Settings->WP Realtime Sitemap to set options.
7
+ Version: 1.4.8
8
  Author: Daniel Tweedy
9
  Author URI: http://www.daniel-tweedy.co.uk/
10
  License: GPL2
28
 
29
  if (!class_exists('WPRealtimeSitemap')) {
30
  class WPRealtimeSitemap {
31
+ var $plugin_base = '';
32
+
33
  function WPRealtimeSitemap() { //constructor
34
  // Add Init
35
  add_action('init', array(&$this, 'addInit'));
62
  function addMeta($links, $file) {
63
  $plugin_file = basename(__FILE__);
64
  if (basename($file) == $plugin_file) {
65
+ $faq_link = '<a href="http://www.daniel-tweedy.co.uk/redir/wp-realtime-sitemap-faq/">' . __('FAQ', 'wp-realtime-sitemap') . '</a>';
66
  array_unshift($links, $faq_link);
67
+ $support_link = '<a href="http://www.daniel-tweedy.co.uk/redir/wp-realtime-sitemap-support/">' . __('Support', 'wp-realtime-sitemap') . '</a>';
68
  array_unshift($links, $support_link);
69
+ $donate_link = '<a href="http://www.daniel-tweedy.co.uk/redir/wordpress-plugins-donation/">' . __('Donate', 'wp-realtime-sitemap') . '</a>';
 
 
70
  array_unshift($links, $donate_link);
71
+ $amazon_link = '<a href="http://www.daniel-tweedy.co.uk/redir/wordpress-plugins-amazon-wishlist/">' . __('Amazon Wishlist', 'wp-realtime-sitemap') . '</a>';
72
+ array_unshift($links, $amazon_link);
73
+ $amazon_link = '<a href="http://www.daniel-tweedy.co.uk/redir/contact/">' . __('Contact Me', 'wp-realtime-sitemap') . '</a>';
74
  array_unshift($links, $amazon_link);
75
  }
76
  return $links;
87
 
88
  function addHelp( $help, $screen ) {
89
  if ( $screen == 'settings_page_wp-realtime-sitemap' ) {
90
+ $help .= '<h5>' . __('WP Realtime Sitemap Help', 'wp-realtime-sitemap') . '</h5><div class="metabox-prefs"><p>';
91
+ $help .= '<a href="http://www.daniel-tweedy.co.uk/redir/wordpress-plugins-amazon-wishlist/">' . __('Amazon Wishlist', 'wp-realtime-sitemap') . '</a><br />';
92
+ $help .= '<a href="http://www.daniel-tweedy.co.uk/redir/wordpress-plugins-donation/">' . __( 'Donate', 'wp-realtime-sitemap' ).'</a><br />';
93
+ $help .= '<a href="http://www.daniel-tweedy.co.uk/redir/wp-realtime-sitemap-support/">' . __( 'Support', 'wp-realtime-sitemap' ).'</a><br />';
94
+ $help .= '<a href="http://www.daniel-tweedy.co.uk/redir/wp-realtime-sitemap-faq/">' . __( 'FAQ', 'wp-realtime-sitemap' ).'</a><br />';
95
+ $help .= '<a href="http://www.daniel-tweedy.co.uk/redir/wp-realtime-sitemap-install/">' . __( 'Home Page', 'wp-realtime-sitemap' ).'</a><br />';
96
+ $help .= '<a href="http://www.daniel-tweedy.co.uk/redir/contact/">' . __('Contact Me', 'wp-realtime-sitemap') . '</a><br />';
97
+ $help .= __('Please read the plugin information and FAQ, before asking a question.', 'wp-realtime-sitemap') . '</p></div>';
98
  }
99
 
100
  return $help;
101
  }
102
 
103
+ function addSubMenu() {
104
+ $plugin_file = basename(__FILE__);
105
+
106
+ $settingsCSS = (!isset($_GET['sub'])) ? ' class="current"' : '';
107
+ $supportCSS = (!isset($_GET['sub']) && $_GET['sub'] == 'support') ? ' class="current"' : '';
108
+ $translationsCSS = (!isset($_GET['sub']) && $_GET['sub'] == 'translations') ? ' class="current"' : '';
109
+
110
+ $sublinks = '<ul class="subsubsub">';
111
+ $sublinks .= '<li><a href="options-general.php?page=' . $plugin_file . '"' . $settingsCSS . '>' . __('Settings', 'wp-realtime-sitemap') . '</a> |</li>';
112
+ $sublinks .= '<li><a href="options-general.php?page=' . $plugin_file . '&amp;sub=support"' . $supportCSS . '>' . __('Support', 'wp-realtime-sitemap') . '</a> |</li>';
113
+ $sublinks .= '<li><a href="options-general.php?page=' . $plugin_file . '&amp;sub=translations"' . $translationsCSS . '>' . __('Translations', 'wp-realtime-sitemap') . '</a> |</li>';
114
+ $sublinks .= '</ul><br /><br />';
115
+
116
+ return $sublinks;
117
+ }
118
+
119
  function addInit() {
120
+ $this->plugin_base_url = WP_PLUGIN_URL . '/' . str_replace(basename( __FILE__), '', plugin_basename(__FILE__));
121
+ $this->plugin_base_dir = WP_PLUGIN_DIR . '/' . str_replace(basename( __FILE__), '', plugin_basename(__FILE__));
122
+
123
  // Localization
124
  load_plugin_textdomain('wp-realtime-sitemap', false, dirname(plugin_basename(__FILE__)) . '/language');
125
  }
126
 
127
  function addOptions() {
128
+ add_options_page(__('WP Realtime Sitemap Options', 'wp-realtime-sitemap'), __('WP Realtime Sitemap', 'wp-realtime-sitemap'), 'manage_options', basename(__FILE__), array(&$this, 'showAdminScreen'));
129
+ }
130
+
131
+ function showAdminScreen() {
132
+ return $this->_optionsForm();
133
  }
134
 
135
  function addOptionsInit() {
148
  add_settings_field('category_tagcloud', __('Show Category as a Tag Cloud', 'wp-realtime-sitemap'), array($this, '_formCategoryTagCloud'), __FILE__, 'tagcloud_settings');
149
  add_settings_field('tags_tagcloud', __('Show Tags as a Tag Cloud', 'wp-realtime-sitemap'), array($this, '_formTagsTagCloud'), __FILE__, 'tagcloud_settings');
150
 
151
+ add_settings_section('header_settings', __('Header Settings', 'wp-realtime-sitemap'), array($this, 'header_section_text'), __FILE__);
152
+ add_settings_field('pages_header', __('Pages Header', 'wp-realtime-sitemap'), array($this, '_formPagesHeader'), __FILE__, 'header_settings');
153
+ add_settings_field('posts_header', __('Posts Header', 'wp-realtime-sitemap'), array($this, '_formPostsHeader'), __FILE__, 'header_settings');
154
+ add_settings_field('archives_header', __('Archives Header', 'wp-realtime-sitemap'), array($this, '_formArchivesHeader'), __FILE__, 'header_settings');
155
+ add_settings_field('categories_header', __('Categories Header', 'wp-realtime-sitemap'), array($this, '_formCategoriesHeader'), __FILE__, 'header_settings');
156
+ add_settings_field('tags_header', __('Tags Header', 'wp-realtime-sitemap'), array($this, '_formTagsHeader'), __FILE__, 'header_settings');
157
+
158
  add_settings_section('display_settings', __('Display Settings', 'wp-realtime-sitemap'), array($this, 'display_section_text'), __FILE__);
159
  add_settings_field('show_pages', __('Show Pages', 'wp-realtime-sitemap'), array($this, '_formShowPages'), __FILE__, 'display_settings');
160
  add_settings_field('show_posts', __('Show Posts', 'wp-realtime-sitemap'), array($this, '_formShowPosts'), __FILE__, 'display_settings');
161
+ add_settings_field('show_custom_post_types', __('Show ALL Custom Post Types', 'wp-realtime-sitemap'), array($this, '_formShowCustomPostTypes'), __FILE__, 'display_settings');
162
  add_settings_field('show_archives', __('Show Archives', 'wp-realtime-sitemap'), array($this, '_formShowArchives'), __FILE__, 'display_settings');
163
  add_settings_field('show_categories', __('Show Categories', 'wp-realtime-sitemap'), array($this, '_formShowCategories'), __FILE__, 'display_settings');
164
  add_settings_field('show_tags', __('Show Tags', 'wp-realtime-sitemap'), array($this, '_formShowTags'), __FILE__, 'display_settings');
322
  echo $output;
323
  }
324
 
325
+ function header_section_text() {
326
+ echo '<p>' . __('This section is optional, you can change the names of the sections if you wish from the defaults. Defaults are used when the below options are left blank/empty.', 'wp-realtime-sitemap') . '</p>';
327
+ }
328
+
329
+ function _formPagesHeader() {
330
+ // Get current options from the database.
331
+ extract(get_option('plugin_wp_realtime_sitemap_settings'));
332
+
333
+ echo '<input name="plugin_wp_realtime_sitemap_settings[pages_header]" size="30" type="text" value="' . $pages_header . '" />';
334
+ }
335
+
336
+ function _formPostsHeader() {
337
+ // Get current options from the database.
338
+ extract(get_option('plugin_wp_realtime_sitemap_settings'));
339
+
340
+ echo '<input name="plugin_wp_realtime_sitemap_settings[posts_header]" size="30" type="text" value="' . $posts_header . '" />';
341
+ }
342
+
343
+ function _formArchivesHeader() {
344
+ // Get current options from the database.
345
+ extract(get_option('plugin_wp_realtime_sitemap_settings'));
346
+
347
+ echo '<input name="plugin_wp_realtime_sitemap_settings[archives_header]" size="30" type="text" value="' . $archives_header . '" />';
348
+ }
349
+
350
+ function _formCategoriesHeader() {
351
+ // Get current options from the database.
352
+ extract(get_option('plugin_wp_realtime_sitemap_settings'));
353
+
354
+ echo '<input name="plugin_wp_realtime_sitemap_settings[categories_header]" size="30" type="text" value="' . $categories_header . '" />';
355
+ }
356
+
357
+ function _formTagsHeader() {
358
+ // Get current options from the database.
359
+ extract(get_option('plugin_wp_realtime_sitemap_settings'));
360
+
361
+ echo '<input name="plugin_wp_realtime_sitemap_settings[tags_header]" size="30" type="text" value="' . $tags_header . '" />';
362
+ }
363
+
364
  function display_section_text() {
365
  echo '<p>' . __('Choose what you would like to be displayed on your site map.', 'wp-realtime-sitemap') . '</p>';
366
  }
409
  echo $output;
410
  }
411
 
412
+ function _formShowCustomPostTypes() {
413
+ // Get current options from the database.
414
+ extract(get_option('plugin_wp_realtime_sitemap_settings'));
415
+
416
+ $values = array(
417
+ 'yes' => __('Yes/On (Default)', 'wp-realtime-sitemap'),
418
+ 'no' => __('No/Off', 'wp-realtime-sitemap'),
419
+ );
420
+
421
+ $optionFormat = '<option value="%s"%s>%s</option>';
422
+
423
+ $output = '<select name="plugin_wp_realtime_sitemap_settings[show_custom_post_types]">';
424
+
425
+ foreach ($values as $key => $label) {
426
+ $output .= sprintf($optionFormat, $key, selected($show_posts, $key, false), $label);
427
+ }
428
+
429
+ $output .= '</select>';
430
+
431
+ echo $output;
432
+ }
433
+
434
  function _formShowArchives() {
435
  // Get current options from the database.
436
  extract(get_option('plugin_wp_realtime_sitemap_settings'));
501
  $plugin_wp_realtime_sitemap_settings = get_option('plugin_wp_realtime_sitemap_settings');
502
 
503
  $validOptions = array(
504
+ 'sort_column' => array('title', 'menu_order', 'date', 'modified', 'ID', 'author', 'name'),
505
+ 'sort_order' => array('ASC', 'DESC'),
506
+ 'count' => array('no', 'yes'),
507
+ 'date' => array('no', 'yes'),
508
+ 'show_pages' => array('yes', 'no'),
509
+ 'show_posts' => array('yes', 'no'),
510
+ 'show_custom_post_types' => array('yes', 'no'),
511
+ 'show_archives' => array('yes', 'no'),
512
+ 'show_categories' => array('yes', 'no'),
513
+ 'category_tagcloud' => array('no', 'yes'),
514
+ 'show_tags' => array('no', 'yes'),
515
+ 'tags_tagcloud' => array('no', 'yes'),
516
  );
517
 
518
  if(!in_array($input['sort_column'], $validOptions['sort_column'])) {
571
  $plugin_wp_realtime_sitemap_settings['show_posts'] = $input['show_posts'];
572
  }
573
 
574
+ if(!in_array($input['show_custom_post_types'], $validOptions['show_custom_post_types'])) {
575
+ $plugin_wp_realtime_sitemap_settings['show_custom_post_types'] = $validOptions['show_custom_post_types'][0];
576
+
577
+ add_settings_error('plugin_wp_realtime_sitemap_settings', 'settings_updated', __('Show Custom Post Types: Only Yes/On or No/Off are accepted as valid inputs.', 'wp-realtime-sitemap'));
578
+ } else {
579
+ $plugin_wp_realtime_sitemap_settings['show_custom_post_types'] = $input['show_custom_post_types'];
580
+ }
581
+
582
  if(!in_array($input['show_archives'], $validOptions['show_archives'])) {
583
  $plugin_wp_realtime_sitemap_settings['show_archives'] = $validOptions['show_archives'][0];
584
 
619
  $plugin_wp_realtime_sitemap_settings['tags_tagcloud'] = $input['tags_tagcloud'];
620
  }
621
 
622
+ // No Validation Here
623
+ $plugin_wp_realtime_sitemap_settings['pages_header'] = $input['pages_header'];
624
+ $plugin_wp_realtime_sitemap_settings['posts_header'] = $input['posts_header'];
625
+ $plugin_wp_realtime_sitemap_settings['archives_header'] = $input['archives_header'];
626
+ $plugin_wp_realtime_sitemap_settings['categories_header'] = $input['categories_header'];
627
+ $plugin_wp_realtime_sitemap_settings['tags_header'] = $input['tags_header'];
628
+
629
  return $plugin_wp_realtime_sitemap_settings;
630
  }
631
 
634
  if (!current_user_can('manage_options')) {
635
  wp_die( __('You do not have sufficient permissions to access this page.', 'wp-realtime-sitemap') );
636
  }
637
+
638
+ $path = $this->plugin_base_url;
639
+
640
+ $post_types = get_post_types(array('public' => true, '_builtin' => false), 'objects');
641
  ?>
642
  <div class="wrap">
643
  <?php screen_icon(); ?>
644
  <h2><?php _e('WP Realtime Sitemap Options', 'wp-realtime-sitemap'); ?></h2>
645
 
646
+ <p><?php _e('WP Realtime Sitemap is free to use, however, it has required a great deal of time and effort to develop and if it has been useful you can help support this development by making a small donation. This will act as an incentive for me to carry on developing, providing countless hours of support, and including new features and suggestions. You get some useful software and I get to carry on making it. Everybody wins.', 'wp-realtime-sitemap'); ?></p>
647
+ <p><?php _e('If you have yet to rate my plugin then can you please do that also, thank you!', 'wp-realtime-sitemap'); ?></p>
648
+
649
+ <div style="width:450px; height: 196px; border:1px solid #dddddd; background:#fff; padding:20px 20px; float: left;">
650
+ <h3 style="margin:0; padding:0;">Donate</h3>
651
+ <p>If you like this plugin and find it useful, help keep this plugin free and actively develop by clicking the donate button or send me a gift from my Amazon Wishlist. Also dont forget to follow me on Twitter.</p>
652
+ <map name="donatemap">
653
+ <area border="1" shape="rect" coords="0,0,108,54" href="http://www.daniel-tweedy.co.uk/redir/wordpress-plugins-donation/" alt="Donate with PayPal" />
654
+ <area border="1" shape="rect" coords="113,0,221,54" href="http://www.daniel-tweedy.co.uk/redir/wordpress-plugins-amazon-wishlist/" alt="Amazon WishList" />
655
+ <area border="1" shape="rect" coords="226,0,334,54" href="http://www.daniel-tweedy.co.uk/redir/wordpress-plugins-twitter/" alt="Twitter" />
656
+ </map>
657
+ <img border="1" src="<?php echo $path; ?>/images/donate.jpg" usemap="#donatemap" />
658
+ </div>
659
+
660
+ <div style="width:450px; border:1px solid #dddddd; background:#fff; padding:20px 20px; float: left; margin-left: 20px;">
661
+ <h3 style="margin:0; padding:0;">ThemeFuse Original WP Themes</h3>
662
+ <p>If you are interested in buying an original wp theme I would recommend <a href="http://www.daniel-tweedy.co.uk/redir/wordpress-plugins-themefuse/">ThemeFuse</a>. They make some amazing wp themes, that have a cool 1 click auto install feature and excellent after care support services. Check out some of their themes!</p>
663
+ <a style="border:none;" href="http://www.daniel-tweedy.co.uk/redir/wordpress-plugins-themefuse/"><img style="border:none;" src="<?php echo $path; ?>/images/themefuse.jpg" /></a>
664
+ </div>
665
+
666
+ <br style="clear: both;" />
667
+
668
  <p><?php _e('This plugin can easily be styled by using the following ids below should you need to, if you require more flexibility than this please feel free to suggest something', 'wp-realtime-sitemap'); ?></p>
669
 
670
  <ul>
673
  <li>wp-realtime-sitemap-archives</li>
674
  <li>wp-realtime-sitemap-categories</li>
675
  <li>wp-realtime-sitemap-tags</li>
676
+ <?php if (count($post_types) > 0) { foreach ($post_types as $post_type) { ?>
677
+ <li>wp-realtime-sitemap-<?php echo $post_type->name; ?> *custom post type*</li>
678
+ <?php } } ?>
679
  </ul>
680
 
681
  <form method="post" action="options.php">
687
  }
688
 
689
  function showOutput($atts, $content=null, $code='') {
690
+ global $wpdb, $table_prefix, $post;
691
+
692
+ $pages = '';
693
+ $posts = '';
694
+ $custom_post_types = array();
695
+ $archives = '';
696
+ $categories = '';
697
+ $tags = '';
698
 
699
  // Only perform plugin functionality if post/page text has the shortcode in the page.
700
  if (preg_match('|wp-realtime-sitemap|', $code)) {
 
 
 
 
 
 
 
701
  // Get option values from the database.
702
  $all_options = get_option('plugin_wp_realtime_sitemap_settings');
703
 
704
  extract(shortcode_atts(array(
705
+ 'show' => 'all',
706
+ 'sort_column' => $all_options['sort_column'],
707
+ 'sort_order' => $all_options['sort_order'],
708
+ 'limit' => $all_options['limit'],
709
+ 'count' => $all_options['count'],
710
+ 'date' => $all_options['date'],
711
  ), $atts));
712
 
713
+ $pagesort_column = ($sort_column == 'title' || $sort_column == 'date' || $sort_column == 'modified' || $sort_column == 'author' || $sort_column == 'name') ? 'post_' . $sort_column : $sort_column;
714
+
715
  if ($show == 'categories') {
716
  $tagcloud = $all_options['category_tagcloud'];
717
  } else if ($show == 'tags') {
720
 
721
  // Pages: Yes/No?
722
  if ($all_options['show_pages'] != 'no' && $all_options['show_pages'] != 'off') {
723
+ $pages_header = (empty($pages_header)) ? __('Pages') : $pages_header;
724
+
725
+ $pages = '<div id="wp-realtime-sitemap-pages"><h3>' . $pages_header . '</h3>';
726
+ $pages .= '<ul>' . wp_list_pages(array('sort_column' => $pagesort_column, 'sort_order' => $sort_order, 'title_li' => '', 'echo' => '0')) . '</ul></div>';
 
727
  }
728
 
729
  // Posts: Yes/No?
731
  $posts = '';
732
 
733
  // Set options for post query
734
+ $theposts = get_posts(array(
735
+ 'orderby' => $sort_column,
736
+ 'order' => $sort_order,
737
+ 'numberposts' => $limit,
738
+ 'post_type' => 'post',
739
+ ));
740
+
741
+ if (count($theposts) > 0) {
742
+ foreach($theposts as $post) {
743
+ setup_postdata($post);
744
 
745
+ $extra = '';
 
746
 
747
+ if ($date == 'yes')
748
+ $extra = ' <span>' . get_the_date() . '</span>';
749
 
750
+ $posts .= '<li><a href="' . get_permalink() . '" title="' . sprintf(esc_attr__('Permalink to %s'), the_title_attribute('echo=0')) . '" rel="bookmark">' . get_the_title() . '</a>' . $extra . '</li>';
751
+ }
 
 
 
752
 
753
+ wp_reset_postdata();
 
754
 
755
+ $posts = '<div id="wp-realtime-sitemap-posts"><h3>' . __('Posts', 'wp-realtime-sitemap') . '</h3><ul>' . $posts . '</ul></div>';
756
  }
757
+ }
758
+
759
+ // Custom Post Types: Yes/No?
760
+ if ($all_options['show_custom_post_types'] != 'no' && $all_options['show_custom_post_types'] != 'off') {
761
+ $custom_post_types = array();
762
+
763
+ $post_types = get_post_types(array('public' => true, '_builtin' => false), 'objects');
764
+
765
+ foreach ($post_types as $post_type) {
766
+ $custom_post_type_posts = '';
767
+
768
+ // Set options for post query
769
+ $theposts = get_posts(array(
770
+ 'orderby' => $sort_column,
771
+ 'order' => $sort_order,
772
+ 'numberposts' => $limit,
773
+ 'post_type' => $post_type->name,
774
+ ));
775
+
776
+ if (count($theposts) > 0) {
777
+ foreach((array)$theposts as $post) {
778
+ setup_postdata($post);
779
 
780
+ $extra = '';
 
781
 
782
+ if ($date == 'yes')
783
+ $extra = ' <span>' . get_the_date() . '</span>';
784
+
785
+ $custom_post_type_posts .= '<li><a href="' . get_permalink() . '" title="' . sprintf(esc_attr__('Permalink to %s'), the_title_attribute('echo=0')) . '" rel="bookmark">' . get_the_title() . '</a>' . $extra . '</li>';
786
+ }
787
+
788
+ wp_reset_postdata();
789
+
790
+ $custom_post_types[$post_type->name] = '<div id="wp-realtime-sitemap-' . strtolower($post_type->name) . '"><h3>' . $post_type->labels->name . '</h3><ul>' . $custom_post_type_posts . '</ul></div>';
791
+ }
792
+ }
793
  }
794
 
795
  // Archives: Yes/No?
796
  if ($all_options['show_archives'] != 'no' && $all_options['show_archives'] != 'off') {
797
+ $archives_header = (empty($archives_header)) ? __('Archives') : $archives_header;
798
+
799
+ $archives = '<div id="wp-realtime-sitemap-archives"><h3>' . $archives_header . '</h3>';
800
  $archives .= '<ul>' . wp_get_archives(array('type' => 'monthly', 'show_post_count' => ($count == 'yes') ? true : false, 'echo' => 0)) . '</ul></div>';
801
  }
802
 
803
  // Categories: Yes/No?
804
  if ($all_options['show_categories'] != 'no' && $all_options['show_categories'] != 'off') {
805
+ $categories_header = (empty($categories_header)) ? __('Categories') : $categories_header;
806
+
807
+ $categories = '<div id="wp-realtime-sitemap-categories"><h3>' . $categories_header . '</h3>';
808
 
809
  // Tag Cloud: Yes/No?
810
  if ($all_options['category_tagcloud'] != 'no' && $all_options['category_tagcloud'] != 'off') {
811
+ $categories .= '<p>' . wp_tag_cloud(array('format' => 'flat', 'separator' => ' ', 'taxonomy' => 'category', 'echo' => '0')) . '</p>';
812
  } else {
813
  if ($sort_column != 'ID' || $sort_column != 'name' || $sort_column != 'slug' || $sort_column != 'count' || $sort_column != 'term_group') {
814
  $categories_sort_column = 'name';
815
  }
816
+
817
  $categories .= '<ul>' . wp_list_categories(array('orderby' => (!isset($categories_sort_column)) ? $sort_column : $categories_sort_column, 'order' => $sort_order, 'show_count' => ($count == 'yes') ? true : false, 'hierarchical' => true, 'title_li' => '', 'echo' => '0', 'taxonomy' => 'category')) . '</ul>';
818
  }
819
 
822
 
823
  // Tags: Yes/No?
824
  if ($all_options['show_tags'] != 'no' && $all_options['show_tags'] != 'off') {
825
+ $tags_header = (empty($tags_header)) ? __('Tags', 'wp-realtime-sitemap') : $tags_header;
826
+
827
+ $tags = '<div id="wp-realtime-sitemap-tags"><h3>' . $tags_header . '</h3>';
828
 
829
  // Tag Cloud: Yes/No?
830
  if ($all_options['tags_tagcloud'] != 'no' && $all_options['tags_tagcloud'] != 'off') {
831
+ $tags .= '<p>' . wp_tag_cloud(array('format' => 'flat', 'separator' => ' ', 'echo' => '0')) . '</p>';
832
  } else {
833
  if ($sort_column != 'ID' || $sort_column != 'name' || $sort_column != 'slug' || $sort_column != 'count' || $sort_column != 'term_group') {
834
  $tags_sort_column = 'name';
848
  return $posts;
849
  }
850
 
851
+ if ($show == 'custom-posts') {
852
+ return implode('', $custom_post_types);
853
+ }
854
+
855
  if ($show == 'archives') {
856
  return $archives;
857
  }
865
  }
866
 
867
  if ($show == 'all') {
868
+ $custom_post_types = implode('', $custom_post_types);
869
+ return $pages . $posts . $custom_post_types . $archives . $categories . $tags;
870
  }
871
  }
872
  }
886
 
887
  function _defaultSettings () {
888
  $defaults = array(
889
+ 'sort_column' => 'post_date',
890
+ 'sort_order' => 'ASC',
891
+ 'count' => 'no',
892
+ 'date' => 'no',
893
+ 'limit' => '-1',
894
+ 'show_pages' => 'yes',
895
+ 'show_posts' => 'yes',
896
+ 'show_custom_post_types' => 'yes',
897
+ 'show_archives' => 'yes',
898
+ 'show_categories' => 'yes',
899
+ 'category_tagcloud' => 'no',
900
+ 'show_tags' => 'no',
901
+ 'tags_tagcloud' => 'no',
902
+ 'pages_header' => '',
903
+ 'posts_header' => '',
904
+ 'archives_header' => '',
905
+ 'categories_header' => '',
906
+ 'tags_header' => '',
907
  );
908
 
909
  update_option('plugin_wp_realtime_sitemap_settings', $defaults);