Version Description
Download this release
Release Info
Developer | Hiroaki Miyashita |
Plugin | Custom Field Template |
Version | 1.2.1 |
Comparing to | |
See all releases |
Code changes from version 1.2 to 1.2.1
- custom-field-template-it_IT.mo +0 -0
- custom-field-template-it_IT.po +144 -117
- custom-field-template.php +24 -6
- readme.txt +1 -1
custom-field-template-it_IT.mo
CHANGED
Binary file
|
custom-field-template-it_IT.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Custom Field Template in italiano\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2009-
|
6 |
-
"PO-Revision-Date: 2009-04-01
|
7 |
"Last-Translator: Gianni Diurno (aka gidibao) <gidibao@gmail.com>\n"
|
8 |
"Language-Team: Gianni Diurno | http://gidibao.net/ <gidibao@gmail.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -16,372 +16,399 @@ msgstr ""
|
|
16 |
"X-Poedit-Basepath: ../\n"
|
17 |
"X-Poedit-SearchPath-0: custom-field-template\n"
|
18 |
|
19 |
-
#: custom-field-template/custom-field-template.php:118
|
20 |
#: custom-field-template/custom-field-template.php:119
|
21 |
-
#: custom-field-template/custom-field-template.php:
|
22 |
-
#: custom-field-template/custom-field-template.php:
|
23 |
-
#: custom-field-template/custom-field-template.php:
|
24 |
-
#: custom-field-template/custom-field-template.php:
|
|
|
25 |
msgid "Custom Field Template"
|
26 |
msgstr "Custom Field Template"
|
27 |
|
28 |
-
#: custom-field-template/custom-field-template.php:
|
29 |
-
#: custom-field-template/custom-field-template.php:
|
30 |
msgid "Load"
|
31 |
msgstr "Carica"
|
32 |
|
33 |
-
#: custom-field-template/custom-field-template.php:
|
34 |
msgid "read more"
|
35 |
msgstr "prosegui"
|
36 |
|
37 |
-
#: custom-field-template/custom-field-template.php:
|
38 |
-
#: custom-field-template/custom-field-template.php:
|
39 |
msgid "Custom Fields"
|
40 |
msgstr "Campi personalizzati"
|
41 |
|
42 |
-
#: custom-field-template/custom-field-template.php:
|
43 |
msgid "Settings"
|
44 |
msgstr "Impostazioni"
|
45 |
|
46 |
-
#: custom-field-template/custom-field-template.php:
|
47 |
msgid "Default Template"
|
48 |
msgstr "Template predefinito"
|
49 |
|
50 |
-
#: custom-field-template/custom-field-template.php:
|
51 |
-
#: custom-field-template/custom-field-template.php:
|
52 |
-
#: custom-field-template/custom-field-template.php:
|
53 |
-
#: custom-field-template/custom-field-template.php:
|
54 |
-
#: custom-field-template/custom-field-template.php:
|
55 |
msgid "Options updated."
|
56 |
msgstr "Le opzioni sono state aggiornate."
|
57 |
|
58 |
-
#: custom-field-template/custom-field-template.php:
|
59 |
msgid "Value Counts rebuilt."
|
60 |
msgstr "Value Counts rigenerati. "
|
61 |
|
62 |
-
#: custom-field-template/custom-field-template.php:
|
|
|
|
|
|
|
|
|
63 |
msgid "Options imported."
|
64 |
msgstr "Le opzioni sono state importate."
|
65 |
|
66 |
-
#: custom-field-template/custom-field-template.php:
|
67 |
msgid "Options resetted."
|
68 |
msgstr "Le opzioni sono state ripristinate."
|
69 |
|
70 |
-
#: custom-field-template/custom-field-template.php:
|
71 |
msgid "Options deleted."
|
72 |
msgstr "Le opzioni sini state cancellate:"
|
73 |
|
74 |
-
#: custom-field-template/custom-field-template.php:
|
75 |
-
#: custom-field-template/custom-field-template.php:
|
76 |
-
#: custom-field-template/custom-field-template.php:
|
77 |
-
#: custom-field-template/custom-field-template.php:
|
78 |
-
#: custom-field-template/custom-field-template.php:
|
79 |
-
#: custom-field-template/custom-field-template.php:
|
80 |
-
#: custom-field-template/custom-field-template.php:
|
81 |
-
#: custom-field-template/custom-field-template.php:
|
82 |
-
#: custom-field-template/custom-field-template.php:
|
83 |
-
#: custom-field-template/custom-field-template.php:
|
84 |
-
#: custom-field-template/custom-field-template.php:
|
85 |
-
#: custom-field-template/custom-field-template.php:
|
|
|
86 |
msgid "Click to toggle"
|
87 |
msgstr "Clicca per commutare"
|
88 |
|
89 |
-
#: custom-field-template/custom-field-template.php:
|
90 |
msgid "Custom Field Template Options"
|
91 |
msgstr "Opzioni template campi personalizzati"
|
92 |
|
93 |
-
#: custom-field-template/custom-field-template.php:
|
94 |
msgid "Template Title"
|
95 |
msgstr "Nome del template:"
|
96 |
|
97 |
-
#: custom-field-template/custom-field-template.php:
|
98 |
msgid "Template Instruction"
|
99 |
msgstr "Allestimento template"
|
100 |
|
101 |
-
#: custom-field-template/custom-field-template.php:
|
102 |
-
#: custom-field-template/custom-field-template.php:
|
103 |
msgid "Post Type"
|
104 |
msgstr "Tipo di articolo"
|
105 |
|
106 |
-
#: custom-field-template/custom-field-template.php:
|
107 |
-
#: custom-field-template/custom-field-template.php:
|
108 |
msgid "Both"
|
109 |
msgstr "Entrambi"
|
110 |
|
111 |
-
#: custom-field-template/custom-field-template.php:
|
112 |
-
#: custom-field-template/custom-field-template.php:
|
113 |
msgid "Post"
|
114 |
msgstr "Articolo"
|
115 |
|
116 |
-
#: custom-field-template/custom-field-template.php:
|
117 |
-
#: custom-field-template/custom-field-template.php:
|
118 |
msgid "Page"
|
119 |
msgstr "Pagina"
|
120 |
|
121 |
-
#: custom-field-template/custom-field-template.php:
|
122 |
-
#: custom-field-template/custom-field-template.php:
|
123 |
msgid "Category ID (comma-deliminated)"
|
124 |
msgstr "ID categoria (separa con una virgola)"
|
125 |
|
126 |
-
#: custom-field-template/custom-field-template.php:
|
127 |
msgid "Template Content"
|
128 |
msgstr "Contenuti template"
|
129 |
|
130 |
-
#: custom-field-template/custom-field-template.php:
|
131 |
msgid "In case that you would like to insert multiple images at once in use of the custom field media buttons"
|
132 |
msgstr "Nel caso in cui desiderassi inserire più immagini contemporaneamente utilizza i pulsanti media del campo personalizzato"
|
133 |
|
134 |
-
#: custom-field-template/custom-field-template.php:
|
135 |
msgid "Use multiple image inset"
|
136 |
msgstr "Inserisci più immagini contemporaneamente"
|
137 |
|
138 |
-
#: custom-field-template/custom-field-template.php:
|
139 |
msgid "Caution:"
|
140 |
msgstr "Attenzione:"
|
141 |
|
142 |
-
#: custom-field-template/custom-field-template.php:
|
143 |
msgid "You need to edit `wp-admin/includes/media.php`. Delete or comment out the code in the function media_send_to_editor."
|
144 |
msgstr "E' necessario modificare `wp-admin/includes/media.php`. Cancella o disabilita il codice nella funzione media_send_to_editor."
|
145 |
|
146 |
-
#: custom-field-template/custom-field-template.php:
|
147 |
msgid "In case that you would like to replace custom keys by labels if `label` is set"
|
148 |
msgstr "Nel caso in cui desiderassi sostituire le chiavi personalizzate con le etichette qualora fosse stato impostato `label`"
|
149 |
|
150 |
-
#: custom-field-template/custom-field-template.php:
|
151 |
msgid "Use labels in place of custom keys"
|
152 |
msgstr "Utilizza le etichette al posto delle chiavi personalizzate"
|
153 |
|
154 |
-
#: custom-field-template/custom-field-template.php:
|
155 |
msgid "In case that you would like to add p and br tags in textareas automatically"
|
156 |
msgstr "Nel caso in cui desiderassi aggiungere automaticamente i tag p e br nell'area di testo"
|
157 |
|
158 |
-
#: custom-field-template/custom-field-template.php:
|
159 |
msgid "Use wpautop function"
|
160 |
msgstr "Usa funzione wpautop"
|
161 |
|
162 |
-
#: custom-field-template/custom-field-template.php:
|
163 |
msgid "In case that you would like to save values automatically in switching templates"
|
164 |
msgstr "Nel caso in cui desiderassi salvare automaticamente i valori durante il cambio dei template"
|
165 |
|
166 |
-
#: custom-field-template/custom-field-template.php:
|
167 |
msgid "Use the auto save in switching templates"
|
168 |
msgstr "Salva in automatico al cambio dei template"
|
169 |
|
170 |
-
#: custom-field-template/custom-field-template.php:
|
171 |
msgid "In case that you would like to forbid to use the default custom fields."
|
172 |
msgstr "Nel caso in cui desiderassi impedire l'utilizzo dei campi personalizzati predefiniti."
|
173 |
|
174 |
-
#: custom-field-template/custom-field-template.php:
|
175 |
msgid "Disable the default custom fields"
|
176 |
msgstr "Disattiva i campi personalizzati predefiniti"
|
177 |
|
178 |
-
#: custom-field-template/custom-field-template.php:
|
179 |
msgid "In case that you would like to forbid to use the quick edit."
|
180 |
msgstr "Nel caso in cui desiderassi impedire l'utilizzo dell'editor veloce."
|
181 |
|
182 |
-
#: custom-field-template/custom-field-template.php:
|
183 |
msgid "Disable the quick edit"
|
184 |
msgstr "Disattiva l'editor veloce"
|
185 |
|
186 |
-
#: custom-field-template/custom-field-template.php:
|
187 |
msgid "In case that you would like to replace the box title with the template title."
|
188 |
msgstr "Nel caso in cui desiderassi sostituire il titolo della casella con il titolo del template."
|
189 |
|
190 |
-
#: custom-field-template/custom-field-template.php:
|
191 |
msgid "Replace the box title"
|
192 |
msgstr "Sostituisci il titolo della casella"
|
193 |
|
194 |
-
#: custom-field-template/custom-field-template.php:
|
195 |
msgid "In case that you would like to use the shortcode in the widget."
|
196 |
msgstr "Nel caso in cui desiderassi utilizzare lo shortcode nel widget"
|
197 |
|
198 |
-
#: custom-field-template/custom-field-template.php:
|
199 |
msgid "Use the shortcode in the widget"
|
200 |
msgstr "Utilizza lo shortcode nel widget"
|
201 |
|
202 |
-
#: custom-field-template/custom-field-template.php:
|
203 |
-
#: custom-field-template/custom-field-template.php:
|
204 |
-
#: custom-field-template/custom-field-template.php:
|
205 |
-
#: custom-field-template/custom-field-template.php:
|
206 |
-
#: custom-field-template/custom-field-template.php:
|
207 |
msgid "Update Options »"
|
208 |
msgstr "Aggiorna le opzioni »"
|
209 |
|
210 |
-
#: custom-field-template/custom-field-template.php:
|
211 |
msgid "ADMIN CSS"
|
212 |
msgstr "CSS AMMINISTRAZIONE"
|
213 |
|
214 |
-
#: custom-field-template/custom-field-template.php:
|
215 |
msgid "[cft] and [cftsearch] Shortcode Format"
|
216 |
msgstr "Formato Shortcode [cft] e [cftsearch]"
|
217 |
|
218 |
-
#: custom-field-template/custom-field-template.php:
|
219 |
msgid "For [cft], [key] will be converted into the value of [key]."
|
220 |
msgstr "[key] verrà convertito nel valore di [key]."
|
221 |
|
222 |
-
#: custom-field-template/custom-field-template.php:
|
223 |
msgid "For [cftsearch], [key] will be converted into the input field."
|
224 |
msgstr "[cftsearch], [key] verrà convertito nell'input del campo."
|
225 |
|
226 |
-
#: custom-field-template/custom-field-template.php:
|
227 |
-
#: custom-field-template/custom-field-template.php:
|
228 |
msgid "Use PHP"
|
229 |
msgstr "Usa PHP"
|
230 |
|
231 |
-
#: custom-field-template/custom-field-template.php:
|
232 |
msgid "PHP CODE (Experimental Option)"
|
233 |
msgstr "CODICE PHP CODE (opzione sperimentale)"
|
234 |
|
235 |
-
#: custom-field-template/custom-field-template.php:
|
236 |
msgid "Are you sure to save PHP codes? Please do it at your own risk."
|
237 |
msgstr "Sei certo di volere salvare dei codici PHP? Se sì, fallo a tuo rischio."
|
238 |
|
239 |
-
#: custom-field-template/custom-field-template.php:
|
240 |
msgid "For `text` and `textarea`, you must set $value as an string."
|
241 |
msgstr "`text` e `textarea`, dovrai impostare come stringa $value."
|
242 |
|
243 |
-
#: custom-field-template/custom-field-template.php:
|
244 |
msgid "For `checkbox`, `radio`, and `select`, you must set $values as an array."
|
245 |
msgstr "`checkbox`, `radio`, e `select`, dovrai impostare come array $values."
|
246 |
|
247 |
-
#: custom-field-template/custom-field-template.php:
|
248 |
msgid "Auto Hook of `the_content()` (Experimental Option)"
|
249 |
msgstr "Hook automatico di `the_content()` (opzione sperimentale)"
|
250 |
|
251 |
-
#: custom-field-template/custom-field-template.php:
|
252 |
msgid "Position"
|
253 |
msgstr "Posizione"
|
254 |
|
255 |
-
#: custom-field-template/custom-field-template.php:
|
256 |
msgid "Before the conetnt"
|
257 |
msgstr "Davanti ai contenuti"
|
258 |
|
259 |
-
#: custom-field-template/custom-field-template.php:
|
260 |
msgid "After the conetnt"
|
261 |
msgstr "A seguire i contenuti"
|
262 |
|
263 |
-
#: custom-field-template/custom-field-template.php:
|
264 |
#, php-format
|
265 |
msgid "Inside the conetnt ([cfthook hook=%d])"
|
266 |
msgstr "Dentro il contenuto ([cfthook hook=%d])"
|
267 |
|
268 |
-
#: custom-field-template/custom-field-template.php:
|
269 |
msgid "Content"
|
270 |
msgstr "Contenuti"
|
271 |
|
272 |
-
#: custom-field-template/custom-field-template.php:
|
|
|
|
|
|
|
|
|
273 |
msgid "Rebuild Value Counts"
|
274 |
msgstr "Rigenera Value Counts"
|
275 |
|
276 |
-
#: custom-field-template/custom-field-template.php:
|
277 |
msgid "Are you sure to rebuild all value counts?"
|
278 |
msgstr "Sei certo di volere rigenerare tutti i value counts?"
|
279 |
|
280 |
-
#: custom-field-template/custom-field-template.php:
|
281 |
msgid "Value Counts are used for temporarily saving how many values in each key. Set `valueCount = true` into fields."
|
282 |
msgstr "I Value Counts sono utilizzati per il salvataggio temporaneo dei valori per ogni chiave. Imposta dentro ai campi `valueCount = true`."
|
283 |
|
284 |
-
#: custom-field-template/custom-field-template.php:
|
285 |
msgid "Rebuild Value Counts »"
|
286 |
msgstr "Rigenera Value Counts »"
|
287 |
|
288 |
-
#: custom-field-template/custom-field-template.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
289 |
msgid "Option List"
|
290 |
msgstr "Lista opzione"
|
291 |
|
292 |
-
#: custom-field-template/custom-field-template.php:
|
293 |
msgid "Export Options"
|
294 |
msgstr "Esporta le opzioni"
|
295 |
|
296 |
-
#: custom-field-template/custom-field-template.php:
|
297 |
msgid "Export Options »"
|
298 |
msgstr "Esporta le opzioni »"
|
299 |
|
300 |
-
#: custom-field-template/custom-field-template.php:
|
301 |
msgid "Import Options"
|
302 |
msgstr "Importa le opzioni"
|
303 |
|
304 |
-
#: custom-field-template/custom-field-template.php:
|
305 |
msgid "Are you sure to import options? Options you set will be overwritten."
|
306 |
msgstr "Sei certo di volere cancellare le opzioni? Le opzioni personalizzate in precedenza verranno cancellate."
|
307 |
|
308 |
-
#: custom-field-template/custom-field-template.php:
|
309 |
msgid "Import Options »"
|
310 |
msgstr "Importa le opzioni »"
|
311 |
|
312 |
-
#: custom-field-template/custom-field-template.php:
|
313 |
msgid "Reset Options"
|
314 |
msgstr "Ripristina le opzioni"
|
315 |
|
316 |
-
#: custom-field-template/custom-field-template.php:
|
317 |
msgid "Are you sure to reset options? Options you set will be reset to the default settings."
|
318 |
msgstr "Sei certo di volere ripristinare le opzioni? Le opzioni personalizzate verranno ripristinate alle predefinite."
|
319 |
|
320 |
-
#: custom-field-template/custom-field-template.php:
|
321 |
msgid "Unset Options »"
|
322 |
msgstr "Procedi »"
|
323 |
|
324 |
-
#: custom-field-template/custom-field-template.php:
|
325 |
msgid "Delete Options"
|
326 |
msgstr "Cancella le opzioni"
|
327 |
|
328 |
-
#: custom-field-template/custom-field-template.php:
|
329 |
msgid "Are you sure to delete options? Options you set will be deleted."
|
330 |
msgstr "Sei certo di volere cancellare le opzioni? Le opzioni personalizzate verranno cancellate."
|
331 |
|
332 |
-
#: custom-field-template/custom-field-template.php:
|
333 |
msgid "Delete Options »"
|
334 |
msgstr "Cancella le opzioni »"
|
335 |
|
336 |
-
#: custom-field-template/custom-field-template.php:
|
337 |
msgid "Donation"
|
338 |
msgstr "Fai una donazione"
|
339 |
|
340 |
-
#: custom-field-template/custom-field-template.php:
|
341 |
msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
|
342 |
msgstr "Qualora avesi gradito questo plugin, effettua una donazione via paypal! Grazie."
|
343 |
|
344 |
-
#: custom-field-template/custom-field-template.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
345 |
msgid "Clear"
|
346 |
msgstr "Pulisci"
|
347 |
|
348 |
-
#: custom-field-template/custom-field-template.php:
|
349 |
msgid "Select"
|
350 |
msgstr "Seleziona"
|
351 |
|
352 |
-
#: custom-field-template/custom-field-template.php:
|
353 |
msgid "Add Media"
|
354 |
msgstr "Aggiungi media"
|
355 |
|
356 |
-
#: custom-field-template/custom-field-template.php:
|
357 |
msgid "Add an Image"
|
358 |
msgstr "Aggiungi immagine"
|
359 |
|
360 |
-
#: custom-field-template/custom-field-template.php:
|
361 |
msgid "Add Video"
|
362 |
msgstr "Aggiungi video"
|
363 |
|
364 |
-
#: custom-field-template/custom-field-template.php:
|
365 |
msgid "Add Audio"
|
366 |
msgstr "Aggiungi audio"
|
367 |
|
368 |
-
#: custom-field-template/custom-field-template.php:
|
369 |
msgid "Toggle"
|
370 |
msgstr "Commuta"
|
371 |
|
372 |
-
#: custom-field-template/custom-field-template.php:
|
373 |
msgid "Initialize"
|
374 |
msgstr "Inizializza"
|
375 |
|
376 |
-
#: custom-field-template/custom-field-template.php:
|
377 |
msgid "Are you sure to reset current values? Default values will be loaded."
|
378 |
msgstr "Sei certo di volere ripristinare le impostazioni? Verranno ricaricate le predefinite."
|
379 |
|
380 |
-
#: custom-field-template/custom-field-template.php:
|
381 |
msgid "Save"
|
382 |
msgstr "Salva"
|
383 |
|
384 |
-
#: custom-field-template/custom-field-template.php:
|
385 |
msgid "Search »"
|
386 |
msgstr "Cerca »"
|
387 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Custom Field Template in italiano\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2009-04-23 02:18+0900\n"
|
6 |
+
"PO-Revision-Date: 2009-04-24 01:11+0100\n"
|
7 |
"Last-Translator: Gianni Diurno (aka gidibao) <gidibao@gmail.com>\n"
|
8 |
"Language-Team: Gianni Diurno | http://gidibao.net/ <gidibao@gmail.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
16 |
"X-Poedit-Basepath: ../\n"
|
17 |
"X-Poedit-SearchPath-0: custom-field-template\n"
|
18 |
|
|
|
19 |
#: custom-field-template/custom-field-template.php:119
|
20 |
+
#: custom-field-template/custom-field-template.php:120
|
21 |
+
#: custom-field-template/custom-field-template.php:450
|
22 |
+
#: custom-field-template/custom-field-template.php:635
|
23 |
+
#: custom-field-template/custom-field-template.php:1567
|
24 |
+
#: custom-field-template/custom-field-template.php:1687
|
25 |
msgid "Custom Field Template"
|
26 |
msgstr "Custom Field Template"
|
27 |
|
28 |
+
#: custom-field-template/custom-field-template.php:159
|
29 |
+
#: custom-field-template/custom-field-template.php:1779
|
30 |
msgid "Load"
|
31 |
msgstr "Carica"
|
32 |
|
33 |
+
#: custom-field-template/custom-field-template.php:308
|
34 |
msgid "read more"
|
35 |
msgstr "prosegui"
|
36 |
|
37 |
+
#: custom-field-template/custom-field-template.php:326
|
38 |
+
#: custom-field-template/custom-field-template.php:336
|
39 |
msgid "Custom Fields"
|
40 |
msgstr "Campi personalizzati"
|
41 |
|
42 |
+
#: custom-field-template/custom-field-template.php:366
|
43 |
msgid "Settings"
|
44 |
msgstr "Impostazioni"
|
45 |
|
46 |
+
#: custom-field-template/custom-field-template.php:378
|
47 |
msgid "Default Template"
|
48 |
msgstr "Template predefinito"
|
49 |
|
50 |
+
#: custom-field-template/custom-field-template.php:560
|
51 |
+
#: custom-field-template/custom-field-template.php:564
|
52 |
+
#: custom-field-template/custom-field-template.php:576
|
53 |
+
#: custom-field-template/custom-field-template.php:584
|
54 |
+
#: custom-field-template/custom-field-template.php:600
|
55 |
msgid "Options updated."
|
56 |
msgstr "Le opzioni sono state aggiornate."
|
57 |
|
58 |
+
#: custom-field-template/custom-field-template.php:604
|
59 |
msgid "Value Counts rebuilt."
|
60 |
msgstr "Value Counts rigenerati. "
|
61 |
|
62 |
+
#: custom-field-template/custom-field-template.php:607
|
63 |
+
msgid "Tags rebuilt."
|
64 |
+
msgstr "Rigenera i tag."
|
65 |
+
|
66 |
+
#: custom-field-template/custom-field-template.php:616
|
67 |
msgid "Options imported."
|
68 |
msgstr "Le opzioni sono state importate."
|
69 |
|
70 |
+
#: custom-field-template/custom-field-template.php:623
|
71 |
msgid "Options resetted."
|
72 |
msgstr "Le opzioni sono state ripristinate."
|
73 |
|
74 |
+
#: custom-field-template/custom-field-template.php:627
|
75 |
msgid "Options deleted."
|
76 |
msgstr "Le opzioni sini state cancellate:"
|
77 |
|
78 |
+
#: custom-field-template/custom-field-template.php:641
|
79 |
+
#: custom-field-template/custom-field-template.php:718
|
80 |
+
#: custom-field-template/custom-field-template.php:737
|
81 |
+
#: custom-field-template/custom-field-template.php:766
|
82 |
+
#: custom-field-template/custom-field-template.php:797
|
83 |
+
#: custom-field-template/custom-field-template.php:836
|
84 |
+
#: custom-field-template/custom-field-template.php:857
|
85 |
+
#: custom-field-template/custom-field-template.php:874
|
86 |
+
#: custom-field-template/custom-field-template.php:994
|
87 |
+
#: custom-field-template/custom-field-template.php:1010
|
88 |
+
#: custom-field-template/custom-field-template.php:1026
|
89 |
+
#: custom-field-template/custom-field-template.php:1042
|
90 |
+
#: custom-field-template/custom-field-template.php:1058
|
91 |
msgid "Click to toggle"
|
92 |
msgstr "Clicca per commutare"
|
93 |
|
94 |
+
#: custom-field-template/custom-field-template.php:642
|
95 |
msgid "Custom Field Template Options"
|
96 |
msgstr "Opzioni template campi personalizzati"
|
97 |
|
98 |
+
#: custom-field-template/custom-field-template.php:652
|
99 |
msgid "Template Title"
|
100 |
msgstr "Nome del template:"
|
101 |
|
102 |
+
#: custom-field-template/custom-field-template.php:654
|
103 |
msgid "Template Instruction"
|
104 |
msgstr "Allestimento template"
|
105 |
|
106 |
+
#: custom-field-template/custom-field-template.php:656
|
107 |
+
#: custom-field-template/custom-field-template.php:813
|
108 |
msgid "Post Type"
|
109 |
msgstr "Tipo di articolo"
|
110 |
|
111 |
+
#: custom-field-template/custom-field-template.php:658
|
112 |
+
#: custom-field-template/custom-field-template.php:814
|
113 |
msgid "Both"
|
114 |
msgstr "Entrambi"
|
115 |
|
116 |
+
#: custom-field-template/custom-field-template.php:659
|
117 |
+
#: custom-field-template/custom-field-template.php:815
|
118 |
msgid "Post"
|
119 |
msgstr "Articolo"
|
120 |
|
121 |
+
#: custom-field-template/custom-field-template.php:660
|
122 |
+
#: custom-field-template/custom-field-template.php:816
|
123 |
msgid "Page"
|
124 |
msgstr "Pagina"
|
125 |
|
126 |
+
#: custom-field-template/custom-field-template.php:661
|
127 |
+
#: custom-field-template/custom-field-template.php:817
|
128 |
msgid "Category ID (comma-deliminated)"
|
129 |
msgstr "ID categoria (separa con una virgola)"
|
130 |
|
131 |
+
#: custom-field-template/custom-field-template.php:663
|
132 |
msgid "Template Content"
|
133 |
msgstr "Contenuti template"
|
134 |
|
135 |
+
#: custom-field-template/custom-field-template.php:670
|
136 |
msgid "In case that you would like to insert multiple images at once in use of the custom field media buttons"
|
137 |
msgstr "Nel caso in cui desiderassi inserire più immagini contemporaneamente utilizza i pulsanti media del campo personalizzato"
|
138 |
|
139 |
+
#: custom-field-template/custom-field-template.php:671
|
140 |
msgid "Use multiple image inset"
|
141 |
msgstr "Inserisci più immagini contemporaneamente"
|
142 |
|
143 |
+
#: custom-field-template/custom-field-template.php:671
|
144 |
msgid "Caution:"
|
145 |
msgstr "Attenzione:"
|
146 |
|
147 |
+
#: custom-field-template/custom-field-template.php:671
|
148 |
msgid "You need to edit `wp-admin/includes/media.php`. Delete or comment out the code in the function media_send_to_editor."
|
149 |
msgstr "E' necessario modificare `wp-admin/includes/media.php`. Cancella o disabilita il codice nella funzione media_send_to_editor."
|
150 |
|
151 |
+
#: custom-field-template/custom-field-template.php:675
|
152 |
msgid "In case that you would like to replace custom keys by labels if `label` is set"
|
153 |
msgstr "Nel caso in cui desiderassi sostituire le chiavi personalizzate con le etichette qualora fosse stato impostato `label`"
|
154 |
|
155 |
+
#: custom-field-template/custom-field-template.php:676
|
156 |
msgid "Use labels in place of custom keys"
|
157 |
msgstr "Utilizza le etichette al posto delle chiavi personalizzate"
|
158 |
|
159 |
+
#: custom-field-template/custom-field-template.php:679
|
160 |
msgid "In case that you would like to add p and br tags in textareas automatically"
|
161 |
msgstr "Nel caso in cui desiderassi aggiungere automaticamente i tag p e br nell'area di testo"
|
162 |
|
163 |
+
#: custom-field-template/custom-field-template.php:680
|
164 |
msgid "Use wpautop function"
|
165 |
msgstr "Usa funzione wpautop"
|
166 |
|
167 |
+
#: custom-field-template/custom-field-template.php:684
|
168 |
msgid "In case that you would like to save values automatically in switching templates"
|
169 |
msgstr "Nel caso in cui desiderassi salvare automaticamente i valori durante il cambio dei template"
|
170 |
|
171 |
+
#: custom-field-template/custom-field-template.php:685
|
172 |
msgid "Use the auto save in switching templates"
|
173 |
msgstr "Salva in automatico al cambio dei template"
|
174 |
|
175 |
+
#: custom-field-template/custom-field-template.php:689
|
176 |
msgid "In case that you would like to forbid to use the default custom fields."
|
177 |
msgstr "Nel caso in cui desiderassi impedire l'utilizzo dei campi personalizzati predefiniti."
|
178 |
|
179 |
+
#: custom-field-template/custom-field-template.php:690
|
180 |
msgid "Disable the default custom fields"
|
181 |
msgstr "Disattiva i campi personalizzati predefiniti"
|
182 |
|
183 |
+
#: custom-field-template/custom-field-template.php:694
|
184 |
msgid "In case that you would like to forbid to use the quick edit."
|
185 |
msgstr "Nel caso in cui desiderassi impedire l'utilizzo dell'editor veloce."
|
186 |
|
187 |
+
#: custom-field-template/custom-field-template.php:695
|
188 |
msgid "Disable the quick edit"
|
189 |
msgstr "Disattiva l'editor veloce"
|
190 |
|
191 |
+
#: custom-field-template/custom-field-template.php:699
|
192 |
msgid "In case that you would like to replace the box title with the template title."
|
193 |
msgstr "Nel caso in cui desiderassi sostituire il titolo della casella con il titolo del template."
|
194 |
|
195 |
+
#: custom-field-template/custom-field-template.php:700
|
196 |
msgid "Replace the box title"
|
197 |
msgstr "Sostituisci il titolo della casella"
|
198 |
|
199 |
+
#: custom-field-template/custom-field-template.php:704
|
200 |
msgid "In case that you would like to use the shortcode in the widget."
|
201 |
msgstr "Nel caso in cui desiderassi utilizzare lo shortcode nel widget"
|
202 |
|
203 |
+
#: custom-field-template/custom-field-template.php:705
|
204 |
msgid "Use the shortcode in the widget"
|
205 |
msgstr "Utilizza lo shortcode nel widget"
|
206 |
|
207 |
+
#: custom-field-template/custom-field-template.php:709
|
208 |
+
#: custom-field-template/custom-field-template.php:728
|
209 |
+
#: custom-field-template/custom-field-template.php:757
|
210 |
+
#: custom-field-template/custom-field-template.php:788
|
211 |
+
#: custom-field-template/custom-field-template.php:827
|
212 |
msgid "Update Options »"
|
213 |
msgstr "Aggiorna le opzioni »"
|
214 |
|
215 |
+
#: custom-field-template/custom-field-template.php:719
|
216 |
msgid "ADMIN CSS"
|
217 |
msgstr "CSS AMMINISTRAZIONE"
|
218 |
|
219 |
+
#: custom-field-template/custom-field-template.php:738
|
220 |
msgid "[cft] and [cftsearch] Shortcode Format"
|
221 |
msgstr "Formato Shortcode [cft] e [cftsearch]"
|
222 |
|
223 |
+
#: custom-field-template/custom-field-template.php:741
|
224 |
msgid "For [cft], [key] will be converted into the value of [key]."
|
225 |
msgstr "[key] verrà convertito nel valore di [key]."
|
226 |
|
227 |
+
#: custom-field-template/custom-field-template.php:742
|
228 |
msgid "For [cftsearch], [key] will be converted into the input field."
|
229 |
msgstr "[cftsearch], [key] verrà convertito nell'input del campo."
|
230 |
|
231 |
+
#: custom-field-template/custom-field-template.php:751
|
232 |
+
#: custom-field-template/custom-field-template.php:820
|
233 |
msgid "Use PHP"
|
234 |
msgstr "Usa PHP"
|
235 |
|
236 |
+
#: custom-field-template/custom-field-template.php:767
|
237 |
msgid "PHP CODE (Experimental Option)"
|
238 |
msgstr "CODICE PHP CODE (opzione sperimentale)"
|
239 |
|
240 |
+
#: custom-field-template/custom-field-template.php:769
|
241 |
msgid "Are you sure to save PHP codes? Please do it at your own risk."
|
242 |
msgstr "Sei certo di volere salvare dei codici PHP? Se sì, fallo a tuo rischio."
|
243 |
|
244 |
+
#: custom-field-template/custom-field-template.php:770
|
245 |
msgid "For `text` and `textarea`, you must set $value as an string."
|
246 |
msgstr "`text` e `textarea`, dovrai impostare come stringa $value."
|
247 |
|
248 |
+
#: custom-field-template/custom-field-template.php:772
|
249 |
msgid "For `checkbox`, `radio`, and `select`, you must set $values as an array."
|
250 |
msgstr "`checkbox`, `radio`, e `select`, dovrai impostare come array $values."
|
251 |
|
252 |
+
#: custom-field-template/custom-field-template.php:798
|
253 |
msgid "Auto Hook of `the_content()` (Experimental Option)"
|
254 |
msgstr "Hook automatico di `the_content()` (opzione sperimentale)"
|
255 |
|
256 |
+
#: custom-field-template/custom-field-template.php:808
|
257 |
msgid "Position"
|
258 |
msgstr "Posizione"
|
259 |
|
260 |
+
#: custom-field-template/custom-field-template.php:809
|
261 |
msgid "Before the conetnt"
|
262 |
msgstr "Davanti ai contenuti"
|
263 |
|
264 |
+
#: custom-field-template/custom-field-template.php:810
|
265 |
msgid "After the conetnt"
|
266 |
msgstr "A seguire i contenuti"
|
267 |
|
268 |
+
#: custom-field-template/custom-field-template.php:811
|
269 |
#, php-format
|
270 |
msgid "Inside the conetnt ([cfthook hook=%d])"
|
271 |
msgstr "Dentro il contenuto ([cfthook hook=%d])"
|
272 |
|
273 |
+
#: custom-field-template/custom-field-template.php:819
|
274 |
msgid "Content"
|
275 |
msgstr "Contenuti"
|
276 |
|
277 |
+
#: custom-field-template/custom-field-template.php:821
|
278 |
+
msgid "Apply to feeds"
|
279 |
+
msgstr "Applica ai feed"
|
280 |
+
|
281 |
+
#: custom-field-template/custom-field-template.php:837
|
282 |
msgid "Rebuild Value Counts"
|
283 |
msgstr "Rigenera Value Counts"
|
284 |
|
285 |
+
#: custom-field-template/custom-field-template.php:839
|
286 |
msgid "Are you sure to rebuild all value counts?"
|
287 |
msgstr "Sei certo di volere rigenerare tutti i value counts?"
|
288 |
|
289 |
+
#: custom-field-template/custom-field-template.php:843
|
290 |
msgid "Value Counts are used for temporarily saving how many values in each key. Set `valueCount = true` into fields."
|
291 |
msgstr "I Value Counts sono utilizzati per il salvataggio temporaneo dei valori per ogni chiave. Imposta dentro ai campi `valueCount = true`."
|
292 |
|
293 |
+
#: custom-field-template/custom-field-template.php:847
|
294 |
msgid "Rebuild Value Counts »"
|
295 |
msgstr "Rigenera Value Counts »"
|
296 |
|
297 |
+
#: custom-field-template/custom-field-template.php:858
|
298 |
+
msgid "Rebuild Tags"
|
299 |
+
msgstr "Rigenera i tag"
|
300 |
+
|
301 |
+
#: custom-field-template/custom-field-template.php:860
|
302 |
+
msgid "Are you sure to rebuild tags?"
|
303 |
+
msgstr "Sei certo di volere rigenerare i tag?"
|
304 |
+
|
305 |
+
#: custom-field-template/custom-field-template.php:864
|
306 |
+
msgid "Rebuild Tags »"
|
307 |
+
msgstr "Rigenera tag »"
|
308 |
+
|
309 |
+
#: custom-field-template/custom-field-template.php:875
|
310 |
msgid "Option List"
|
311 |
msgstr "Lista opzione"
|
312 |
|
313 |
+
#: custom-field-template/custom-field-template.php:995
|
314 |
msgid "Export Options"
|
315 |
msgstr "Esporta le opzioni"
|
316 |
|
317 |
+
#: custom-field-template/custom-field-template.php:1001
|
318 |
msgid "Export Options »"
|
319 |
msgstr "Esporta le opzioni »"
|
320 |
|
321 |
+
#: custom-field-template/custom-field-template.php:1011
|
322 |
msgid "Import Options"
|
323 |
msgstr "Importa le opzioni"
|
324 |
|
325 |
+
#: custom-field-template/custom-field-template.php:1013
|
326 |
msgid "Are you sure to import options? Options you set will be overwritten."
|
327 |
msgstr "Sei certo di volere cancellare le opzioni? Le opzioni personalizzate in precedenza verranno cancellate."
|
328 |
|
329 |
+
#: custom-field-template/custom-field-template.php:1017
|
330 |
msgid "Import Options »"
|
331 |
msgstr "Importa le opzioni »"
|
332 |
|
333 |
+
#: custom-field-template/custom-field-template.php:1027
|
334 |
msgid "Reset Options"
|
335 |
msgstr "Ripristina le opzioni"
|
336 |
|
337 |
+
#: custom-field-template/custom-field-template.php:1029
|
338 |
msgid "Are you sure to reset options? Options you set will be reset to the default settings."
|
339 |
msgstr "Sei certo di volere ripristinare le opzioni? Le opzioni personalizzate verranno ripristinate alle predefinite."
|
340 |
|
341 |
+
#: custom-field-template/custom-field-template.php:1033
|
342 |
msgid "Unset Options »"
|
343 |
msgstr "Procedi »"
|
344 |
|
345 |
+
#: custom-field-template/custom-field-template.php:1043
|
346 |
msgid "Delete Options"
|
347 |
msgstr "Cancella le opzioni"
|
348 |
|
349 |
+
#: custom-field-template/custom-field-template.php:1045
|
350 |
msgid "Are you sure to delete options? Options you set will be deleted."
|
351 |
msgstr "Sei certo di volere cancellare le opzioni? Le opzioni personalizzate verranno cancellate."
|
352 |
|
353 |
+
#: custom-field-template/custom-field-template.php:1049
|
354 |
msgid "Delete Options »"
|
355 |
msgstr "Cancella le opzioni »"
|
356 |
|
357 |
+
#: custom-field-template/custom-field-template.php:1059
|
358 |
msgid "Donation"
|
359 |
msgstr "Fai una donazione"
|
360 |
|
361 |
+
#: custom-field-template/custom-field-template.php:1061
|
362 |
msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
|
363 |
msgstr "Qualora avesi gradito questo plugin, effettua una donazione via paypal! Grazie."
|
364 |
|
365 |
+
#: custom-field-template/custom-field-template.php:1153
|
366 |
+
#: custom-field-template/custom-field-template.php:1256
|
367 |
+
#: custom-field-template/custom-field-template.php:1332
|
368 |
+
msgid "Add New"
|
369 |
+
msgstr "Aggiungi nuovo"
|
370 |
+
|
371 |
+
#: custom-field-template/custom-field-template.php:1266
|
372 |
msgid "Clear"
|
373 |
msgstr "Pulisci"
|
374 |
|
375 |
+
#: custom-field-template/custom-field-template.php:1348
|
376 |
msgid "Select"
|
377 |
msgstr "Seleziona"
|
378 |
|
379 |
+
#: custom-field-template/custom-field-template.php:1407
|
380 |
msgid "Add Media"
|
381 |
msgstr "Aggiungi media"
|
382 |
|
383 |
+
#: custom-field-template/custom-field-template.php:1409
|
384 |
msgid "Add an Image"
|
385 |
msgstr "Aggiungi immagine"
|
386 |
|
387 |
+
#: custom-field-template/custom-field-template.php:1411
|
388 |
msgid "Add Video"
|
389 |
msgstr "Aggiungi video"
|
390 |
|
391 |
+
#: custom-field-template/custom-field-template.php:1413
|
392 |
msgid "Add Audio"
|
393 |
msgstr "Aggiungi audio"
|
394 |
|
395 |
+
#: custom-field-template/custom-field-template.php:1424
|
396 |
msgid "Toggle"
|
397 |
msgstr "Commuta"
|
398 |
|
399 |
+
#: custom-field-template/custom-field-template.php:1728
|
400 |
msgid "Initialize"
|
401 |
msgstr "Inizializza"
|
402 |
|
403 |
+
#: custom-field-template/custom-field-template.php:1729
|
404 |
msgid "Are you sure to reset current values? Default values will be loaded."
|
405 |
msgstr "Sei certo di volere ripristinare le impostazioni? Verranno ricaricate le predefinite."
|
406 |
|
407 |
+
#: custom-field-template/custom-field-template.php:1732
|
408 |
msgid "Save"
|
409 |
msgstr "Salva"
|
410 |
|
411 |
+
#: custom-field-template/custom-field-template.php:2151
|
412 |
msgid "Search »"
|
413 |
msgstr "Cerca »"
|
414 |
|
custom-field-template.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Custom Field Template
|
|
4 |
Plugin URI: http://wordpressgogo.com/development/custom-field-template.html
|
5 |
Description: This plugin adds the default custom fields on the Write Post/Page.
|
6 |
Author: Hiroaki Miyashita
|
7 |
-
Version: 1.2
|
8 |
Author URI: http://wordpressgogo.com/
|
9 |
*/
|
10 |
|
@@ -14,6 +14,7 @@ I appreciate your efforts, Joshua.
|
|
14 |
*/
|
15 |
|
16 |
class custom_field_template {
|
|
|
17 |
|
18 |
function custom_field_template() {
|
19 |
add_action( 'init', array(&$this, 'custom_field_template_init') );
|
@@ -30,6 +31,7 @@ class custom_field_template {
|
|
30 |
add_filter( 'media_send_to_editor', array(&$this, 'media_send_to_custom_field'), 15 );
|
31 |
add_filter( 'plugin_action_links', array(&$this, 'wpaq_filter_plugin_actions'), 10, 2 );
|
32 |
|
|
|
33 |
add_filter( 'the_content', array(&$this, 'custom_field_template_the_content') );
|
34 |
add_filter( 'the_content_rss', array(&$this, 'custom_field_template_the_content') );
|
35 |
|
@@ -75,6 +77,8 @@ class custom_field_template {
|
|
75 |
$id = $_REQUEST['id'];
|
76 |
elseif ( isset($options['posts'][$_REQUEST['post']]) )
|
77 |
$id = $options['posts'][$_REQUEST['post']];
|
|
|
|
|
78 |
echo $this->load_custom_field( $id );
|
79 |
exit();
|
80 |
}
|
@@ -450,10 +454,20 @@ mediaButton = true';
|
|
450 |
add_options_page(__('Custom Field Template', 'custom-field-template'), __('Custom Field Template', 'custom-field-template'), 8, basename(__FILE__), array(&$this, 'custom_field_template_admin'));
|
451 |
}
|
452 |
|
|
|
|
|
|
|
|
|
|
|
453 |
function custom_field_template_the_content($content) {
|
454 |
global $wp_query, $post;
|
455 |
$options = $this->get_custom_field_template_data();
|
456 |
|
|
|
|
|
|
|
|
|
|
|
457 |
if ( count($options['hook']) > 0 ) :
|
458 |
$categories = get_the_category();
|
459 |
$cats = array();
|
@@ -2151,8 +2165,7 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";
|
|
2151 |
'search_label' => __('Search »', 'custom-field-template'),
|
2152 |
'button' => true
|
2153 |
), $attr));
|
2154 |
-
|
2155 |
-
|
2156 |
if ( is_numeric($format) && $output = $options['shortcode_format'][$format] ) :
|
2157 |
$output = stripcslashes($output);
|
2158 |
$output = '<form method="get" action="/" id="cftsearch'.(int)$format.'">' . "\n" . $output;
|
@@ -2293,12 +2306,13 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";
|
|
2293 |
break;
|
2294 |
endswitch;
|
2295 |
endforeach;
|
2296 |
-
|
2297 |
if ( $options['shortcode_format_use_php'][$format] )
|
2298 |
$output = preg_replace_callback("/(<\?php|<\?|< \?php)(.*?)\?>/si", array($this, 'EvalBuffer'), $output);
|
2299 |
$key = preg_quote($key, '/');
|
2300 |
$output = preg_replace('/\['.$key.'\](?!\[[0-9]+\])/', $replace_val[0], $output);
|
2301 |
$output = preg_replace('/\['.$key.'\]\[([0-9]+)\](?!\[\])/e', '$replace_val[${1}]', $output);
|
|
|
2302 |
endforeach;
|
2303 |
endfor;
|
2304 |
endif;
|
@@ -2478,7 +2492,7 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";
|
|
2478 |
endif;
|
2479 |
endif;
|
2480 |
|
2481 |
-
$where .= " AND `".$wpdb->posts."`.post_status = 'publish'";
|
2482 |
//if ( $_REQUEST['s'] ) $where .= $original_where;
|
2483 |
|
2484 |
return $where;
|
@@ -2505,7 +2519,11 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";
|
|
2505 |
elseif ( $_REQUEST['orderby']=='rand' ):
|
2506 |
$sql = "RAND()";
|
2507 |
else:
|
2508 |
-
$
|
|
|
|
|
|
|
|
|
2509 |
endif;
|
2510 |
return $sql;
|
2511 |
endif;
|
4 |
Plugin URI: http://wordpressgogo.com/development/custom-field-template.html
|
5 |
Description: This plugin adds the default custom fields on the Write Post/Page.
|
6 |
Author: Hiroaki Miyashita
|
7 |
+
Version: 1.2.1
|
8 |
Author URI: http://wordpressgogo.com/
|
9 |
*/
|
10 |
|
14 |
*/
|
15 |
|
16 |
class custom_field_template {
|
17 |
+
var $is_excerpt;
|
18 |
|
19 |
function custom_field_template() {
|
20 |
add_action( 'init', array(&$this, 'custom_field_template_init') );
|
31 |
add_filter( 'media_send_to_editor', array(&$this, 'media_send_to_custom_field'), 15 );
|
32 |
add_filter( 'plugin_action_links', array(&$this, 'wpaq_filter_plugin_actions'), 10, 2 );
|
33 |
|
34 |
+
add_filter( 'get_the_excerpt', array(&$this, 'custom_field_template_get_the_excerpt'), 1 );
|
35 |
add_filter( 'the_content', array(&$this, 'custom_field_template_the_content') );
|
36 |
add_filter( 'the_content_rss', array(&$this, 'custom_field_template_the_content') );
|
37 |
|
77 |
$id = $_REQUEST['id'];
|
78 |
elseif ( isset($options['posts'][$_REQUEST['post']]) )
|
79 |
$id = $options['posts'][$_REQUEST['post']];
|
80 |
+
else
|
81 |
+
$id = 0;
|
82 |
echo $this->load_custom_field( $id );
|
83 |
exit();
|
84 |
}
|
454 |
add_options_page(__('Custom Field Template', 'custom-field-template'), __('Custom Field Template', 'custom-field-template'), 8, basename(__FILE__), array(&$this, 'custom_field_template_admin'));
|
455 |
}
|
456 |
|
457 |
+
|
458 |
+
function custom_field_template_get_the_excerpt() {
|
459 |
+
$this->is_excerpt = true;
|
460 |
+
}
|
461 |
+
|
462 |
function custom_field_template_the_content($content) {
|
463 |
global $wp_query, $post;
|
464 |
$options = $this->get_custom_field_template_data();
|
465 |
|
466 |
+
if ( $this->is_excerpt ) :
|
467 |
+
$this->is_excerpt = false;
|
468 |
+
return;
|
469 |
+
endif;
|
470 |
+
|
471 |
if ( count($options['hook']) > 0 ) :
|
472 |
$categories = get_the_category();
|
473 |
$cats = array();
|
2165 |
'search_label' => __('Search »', 'custom-field-template'),
|
2166 |
'button' => true
|
2167 |
), $attr));
|
2168 |
+
|
|
|
2169 |
if ( is_numeric($format) && $output = $options['shortcode_format'][$format] ) :
|
2170 |
$output = stripcslashes($output);
|
2171 |
$output = '<form method="get" action="/" id="cftsearch'.(int)$format.'">' . "\n" . $output;
|
2306 |
break;
|
2307 |
endswitch;
|
2308 |
endforeach;
|
2309 |
+
|
2310 |
if ( $options['shortcode_format_use_php'][$format] )
|
2311 |
$output = preg_replace_callback("/(<\?php|<\?|< \?php)(.*?)\?>/si", array($this, 'EvalBuffer'), $output);
|
2312 |
$key = preg_quote($key, '/');
|
2313 |
$output = preg_replace('/\['.$key.'\](?!\[[0-9]+\])/', $replace_val[0], $output);
|
2314 |
$output = preg_replace('/\['.$key.'\]\[([0-9]+)\](?!\[\])/e', '$replace_val[${1}]', $output);
|
2315 |
+
|
2316 |
endforeach;
|
2317 |
endfor;
|
2318 |
endif;
|
2492 |
endif;
|
2493 |
endif;
|
2494 |
|
2495 |
+
$where .= " AND `".$wpdb->posts."`.post_status = 'publish' GROUP BY wp_posts.ID";
|
2496 |
//if ( $_REQUEST['s'] ) $where .= $original_where;
|
2497 |
|
2498 |
return $where;
|
2519 |
elseif ( $_REQUEST['orderby']=='rand' ):
|
2520 |
$sql = "RAND()";
|
2521 |
else:
|
2522 |
+
if ( in_array($_REQUEST['cast'], array('binary', 'char', 'date', 'datetime', 'signed', 'time', 'unsigned')) ) :
|
2523 |
+
$sql = " CAST(meta.meta_value AS " . $_REQUEST['cast'] . ") " . $_REQUEST['order'];
|
2524 |
+
else :
|
2525 |
+
$sql = " meta.meta_value " . $_REQUEST['order'];
|
2526 |
+
endif;
|
2527 |
endif;
|
2528 |
return $sql;
|
2529 |
endif;
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wordpressgogo.com/development/custom-field-template.html
|
|
4 |
Tags: custom, fields, field, template, meta, custom field, custom fields, custom field template
|
5 |
Requires at least: 2.1
|
6 |
Tested up to: 2.7.1
|
7 |
-
Stable tag: 1.2
|
8 |
|
9 |
This plugin adds the default custom fields on the Write Post/Page.
|
10 |
|
4 |
Tags: custom, fields, field, template, meta, custom field, custom fields, custom field template
|
5 |
Requires at least: 2.1
|
6 |
Tested up to: 2.7.1
|
7 |
+
Stable tag: 1.2.1
|
8 |
|
9 |
This plugin adds the default custom fields on the Write Post/Page.
|
10 |
|