Version Description
- Quick Edit for the custom post type.
- Bugfix: prepared statement of cft search sqls.
- Catalan (ca) - Andreu Llos
Download this release
Release Info
Developer | Hiroaki Miyashita |
Plugin | Custom Field Template |
Version | 1.6.6 |
Comparing to | |
See all releases |
Code changes from version 1.6.5 to 1.6.6
- custom-field-template-ca.mo +0 -0
- custom-field-template-ca.po +509 -0
- custom-field-template.php +21 -14
- readme.txt +7 -1
custom-field-template-ca.mo
ADDED
Binary file
|
custom-field-template-ca.po
ADDED
@@ -0,0 +1,509 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Custom Field Template\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2010-04-15 11:24-0400\n"
|
6 |
+
"PO-Revision-Date: 2010-05-24 01:31+0100\n"
|
7 |
+
"Last-Translator: Andreu Llos <andreu.llos@gmail.com>\n"
|
8 |
+
"Language-Team: \n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-Language: Japanese\n"
|
13 |
+
"X-Poedit-Country: JAPAN\n"
|
14 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
15 |
+
"X-Poedit-KeywordsList: __;_e;_c\n"
|
16 |
+
"X-Poedit-Basepath: ../\n"
|
17 |
+
"X-Poedit-SearchPath-0: custom-field-template\n"
|
18 |
+
|
19 |
+
#: custom-field-template/custom-field-template.php:142
|
20 |
+
#: custom-field-template/custom-field-template.php:143
|
21 |
+
#: custom-field-template/custom-field-template.php:162
|
22 |
+
#: custom-field-template/custom-field-template.php:583
|
23 |
+
#: custom-field-template/custom-field-template.php:814
|
24 |
+
#: custom-field-template/custom-field-template.php:1997
|
25 |
+
#: custom-field-template/custom-field-template.php:2125
|
26 |
+
msgid "Custom Field Template"
|
27 |
+
msgstr "Custom Field Template"
|
28 |
+
|
29 |
+
#: custom-field-template/custom-field-template.php:271
|
30 |
+
#: custom-field-template/custom-field-template.php:2317
|
31 |
+
msgid "Load"
|
32 |
+
msgstr "Carregar"
|
33 |
+
|
34 |
+
#: custom-field-template/custom-field-template.php:427
|
35 |
+
msgid "read more"
|
36 |
+
msgstr "llegir més"
|
37 |
+
|
38 |
+
#: custom-field-template/custom-field-template.php:445
|
39 |
+
#: custom-field-template/custom-field-template.php:455
|
40 |
+
msgid "Custom Fields"
|
41 |
+
msgstr "Camps Personalitzats"
|
42 |
+
|
43 |
+
#: custom-field-template/custom-field-template.php:485
|
44 |
+
msgid "Settings"
|
45 |
+
msgstr "Configuració"
|
46 |
+
|
47 |
+
#: custom-field-template/custom-field-template.php:505
|
48 |
+
msgid "Default Template"
|
49 |
+
msgstr "Plantilla predeterminada"
|
50 |
+
|
51 |
+
#: custom-field-template/custom-field-template.php:720
|
52 |
+
msgid "You can not use the following words as the field key: `content`, `post_title`, and `excerpt`."
|
53 |
+
msgstr "No pots utilitzar les següents paraules com a claus: `content`, `post_title` y `excerpt`."
|
54 |
+
|
55 |
+
#: custom-field-template/custom-field-template.php:735
|
56 |
+
#: custom-field-template/custom-field-template.php:739
|
57 |
+
#: custom-field-template/custom-field-template.php:751
|
58 |
+
#: custom-field-template/custom-field-template.php:759
|
59 |
+
#: custom-field-template/custom-field-template.php:776
|
60 |
+
msgid "Options updated."
|
61 |
+
msgstr "Opcions actualitzades."
|
62 |
+
|
63 |
+
#: custom-field-template/custom-field-template.php:780
|
64 |
+
msgid "Value Counts rebuilt."
|
65 |
+
msgstr "Comptador de valors reconstruït."
|
66 |
+
|
67 |
+
#: custom-field-template/custom-field-template.php:783
|
68 |
+
msgid "Tags rebuilt."
|
69 |
+
msgstr "Etiquetes recontruïdes."
|
70 |
+
|
71 |
+
#: custom-field-template/custom-field-template.php:792
|
72 |
+
msgid "Options imported."
|
73 |
+
msgstr "Opcions importades."
|
74 |
+
|
75 |
+
#: custom-field-template/custom-field-template.php:799
|
76 |
+
msgid "Options resetted."
|
77 |
+
msgstr "Opcions reiniciades."
|
78 |
+
|
79 |
+
#: custom-field-template/custom-field-template.php:803
|
80 |
+
msgid "Options deleted."
|
81 |
+
msgstr "Opcions eliminades."
|
82 |
+
|
83 |
+
#: custom-field-template/custom-field-template.php:820
|
84 |
+
#: custom-field-template/custom-field-template.php:932
|
85 |
+
#: custom-field-template/custom-field-template.php:951
|
86 |
+
#: custom-field-template/custom-field-template.php:980
|
87 |
+
#: custom-field-template/custom-field-template.php:1011
|
88 |
+
#: custom-field-template/custom-field-template.php:1052
|
89 |
+
#: custom-field-template/custom-field-template.php:1073
|
90 |
+
#: custom-field-template/custom-field-template.php:1090
|
91 |
+
#: custom-field-template/custom-field-template.php:1252
|
92 |
+
#: custom-field-template/custom-field-template.php:1268
|
93 |
+
#: custom-field-template/custom-field-template.php:1284
|
94 |
+
#: custom-field-template/custom-field-template.php:1300
|
95 |
+
#: custom-field-template/custom-field-template.php:1316
|
96 |
+
msgid "Click to toggle"
|
97 |
+
msgstr "Fes click per canviar"
|
98 |
+
|
99 |
+
#: custom-field-template/custom-field-template.php:821
|
100 |
+
msgid "Custom Field Template Options"
|
101 |
+
msgstr "Opcions dels Camps Personalitzats"
|
102 |
+
|
103 |
+
#: custom-field-template/custom-field-template.php:831
|
104 |
+
#: custom-field-template/custom-field-template.php:2174
|
105 |
+
#: custom-field-template/custom-field-template.php:2175
|
106 |
+
msgid "Disable"
|
107 |
+
msgstr "Desactivar"
|
108 |
+
|
109 |
+
#: custom-field-template/custom-field-template.php:833
|
110 |
+
msgid "Template Title"
|
111 |
+
msgstr "Títol de la plantilla"
|
112 |
+
|
113 |
+
#: custom-field-template/custom-field-template.php:835
|
114 |
+
msgid "Template Instruction"
|
115 |
+
msgstr "Instruccions de la plantilla"
|
116 |
+
|
117 |
+
#: custom-field-template/custom-field-template.php:837
|
118 |
+
#: custom-field-template/custom-field-template.php:1027
|
119 |
+
msgid "Post Type"
|
120 |
+
msgstr "Tipus de publicació"
|
121 |
+
|
122 |
+
#: custom-field-template/custom-field-template.php:839
|
123 |
+
#: custom-field-template/custom-field-template.php:1028
|
124 |
+
msgid "Both"
|
125 |
+
msgstr "Ambdós"
|
126 |
+
|
127 |
+
#: custom-field-template/custom-field-template.php:840
|
128 |
+
#: custom-field-template/custom-field-template.php:1029
|
129 |
+
msgid "Post"
|
130 |
+
msgstr "Entrada"
|
131 |
+
|
132 |
+
#: custom-field-template/custom-field-template.php:841
|
133 |
+
#: custom-field-template/custom-field-template.php:1030
|
134 |
+
msgid "Page"
|
135 |
+
msgstr "Pàgina"
|
136 |
+
|
137 |
+
#: custom-field-template/custom-field-template.php:842
|
138 |
+
#: custom-field-template/custom-field-template.php:1031
|
139 |
+
msgid "Custom Post Type (comma-deliminated)"
|
140 |
+
msgstr "Tipus d'entrada (delimitat per comes)"
|
141 |
+
|
142 |
+
#: custom-field-template/custom-field-template.php:844
|
143 |
+
msgid "Post ID (comma-deliminated)"
|
144 |
+
msgstr "ID de l'entrada (delimitat per comes)"
|
145 |
+
|
146 |
+
#: custom-field-template/custom-field-template.php:846
|
147 |
+
#: custom-field-template/custom-field-template.php:1033
|
148 |
+
msgid "Category ID (comma-deliminated)"
|
149 |
+
msgstr "ID de la categoria (delimitat per comes)"
|
150 |
+
|
151 |
+
#: custom-field-template/custom-field-template.php:848
|
152 |
+
msgid "Page Template file name(s) (comma-deliminated)"
|
153 |
+
msgstr "Nom(s) d'arxiu(s) de plantilla(es) (delimitat per comes)"
|
154 |
+
|
155 |
+
#: custom-field-template/custom-field-template.php:850
|
156 |
+
msgid "Template Content"
|
157 |
+
msgstr "Contingut de la plantilla"
|
158 |
+
|
159 |
+
#: custom-field-template/custom-field-template.php:864
|
160 |
+
msgid "In case that you would like to replace custom keys by labels if `label` is set"
|
161 |
+
msgstr "En cas que vulguis reemplaçar claus personalitzades per etiquetes si `label` està configurat"
|
162 |
+
|
163 |
+
#: custom-field-template/custom-field-template.php:865
|
164 |
+
msgid "Use labels in place of custom keys"
|
165 |
+
msgstr "Utilitzar etiquetes en comptes de claus personalitzades"
|
166 |
+
|
167 |
+
#: custom-field-template/custom-field-template.php:868
|
168 |
+
msgid "In case that you would like to add p and br tags in textareas automatically"
|
169 |
+
msgstr "En cas que vulguis afegir les etiquetes 'p' i 'br' en àrees de texte automàticament"
|
170 |
+
|
171 |
+
#: custom-field-template/custom-field-template.php:869
|
172 |
+
msgid "Use wpautop function"
|
173 |
+
msgstr "Utilitzar la funció 'wpautop'"
|
174 |
+
|
175 |
+
#: custom-field-template/custom-field-template.php:873
|
176 |
+
msgid "In case that you would like to save values automatically in switching templates"
|
177 |
+
msgstr "En cas que vulguis guardar valors automàticament al canviar de plantilla"
|
178 |
+
|
179 |
+
#: custom-field-template/custom-field-template.php:874
|
180 |
+
msgid "Use the auto save in switching templates"
|
181 |
+
msgstr "Utilitzar el guardat automàtic al canviar de plantilla"
|
182 |
+
|
183 |
+
#: custom-field-template/custom-field-template.php:878
|
184 |
+
msgid "In case that you would like to disable input fields of the custom field template temporarily"
|
185 |
+
msgstr "En cas que desitgis desactivar temporalment els camps personalitzats"
|
186 |
+
|
187 |
+
#: custom-field-template/custom-field-template.php:879
|
188 |
+
msgid "Use the `Disable` button. The default custom fields will be superseded."
|
189 |
+
msgstr "Utilitzar el botó `Desactivar`. Els camps personalitzats seran substituïts"
|
190 |
+
|
191 |
+
#: custom-field-template/custom-field-template.php:883
|
192 |
+
msgid "In case that you would like to forbid to use the initialize button."
|
193 |
+
msgstr "En cas que desitgis prohibir l'ús del botó inicialitzar"
|
194 |
+
|
195 |
+
#: custom-field-template/custom-field-template.php:884
|
196 |
+
msgid "Disable the initialize button"
|
197 |
+
msgstr "Desactivar el botó inicialitzar"
|
198 |
+
|
199 |
+
#: custom-field-template/custom-field-template.php:888
|
200 |
+
msgid "In case that you would like to forbid to use the save button."
|
201 |
+
msgstr "En cas que vulguis prohibir l'ús del botó guardar"
|
202 |
+
|
203 |
+
#: custom-field-template/custom-field-template.php:889
|
204 |
+
msgid "Disable the save button"
|
205 |
+
msgstr "Desactivar el botó guardar"
|
206 |
+
|
207 |
+
#: custom-field-template/custom-field-template.php:893
|
208 |
+
msgid "In case that you would like to forbid to use the default custom fields."
|
209 |
+
msgstr "En cas que vulguis prohibir l'ús dels camps personalitzats."
|
210 |
+
|
211 |
+
#: custom-field-template/custom-field-template.php:894
|
212 |
+
msgid "Disable the default custom fields"
|
213 |
+
msgstr "Desactivar els camps personalitzats"
|
214 |
+
|
215 |
+
#: custom-field-template/custom-field-template.php:898
|
216 |
+
msgid "In case that you would like to forbid to use the quick edit."
|
217 |
+
msgstr "En cas que vulguis prohibir l'edició ràpida."
|
218 |
+
|
219 |
+
#: custom-field-template/custom-field-template.php:899
|
220 |
+
msgid "Disable the quick edit"
|
221 |
+
msgstr "Desactivar l'edició ràpida"
|
222 |
+
|
223 |
+
#: custom-field-template/custom-field-template.php:903
|
224 |
+
msgid "In case that you would like to forbid to display the custom field column on the edit post list page."
|
225 |
+
msgstr "En cas que vulguis amagar la columna dels camps personalitzats en la llista d'edició d'entrades"
|
226 |
+
|
227 |
+
#: custom-field-template/custom-field-template.php:904
|
228 |
+
msgid "Disable the custom field column (The quick edit also does not work.)"
|
229 |
+
msgstr "Desactivar la columna de camps personalitzats (l'edició ràpida també es desactivarà)"
|
230 |
+
|
231 |
+
#: custom-field-template/custom-field-template.php:908
|
232 |
+
msgid "In case that you would like to replace the box title with the template title."
|
233 |
+
msgstr "En cas que vulguis substituïr el títol de la caixa pel títol de la plantilla"
|
234 |
+
|
235 |
+
#: custom-field-template/custom-field-template.php:909
|
236 |
+
msgid "Replace the box title"
|
237 |
+
msgstr "Substituïr el títol de la caixa"
|
238 |
+
|
239 |
+
#: custom-field-template/custom-field-template.php:913
|
240 |
+
msgid "In case that you would like to use the shortcode in the widget."
|
241 |
+
msgstr "En cas que vulguis utilitzar l'abreviació de codi en el widget."
|
242 |
+
|
243 |
+
#: custom-field-template/custom-field-template.php:914
|
244 |
+
msgid "Use the shortcode in the widget"
|
245 |
+
msgstr "Utilitzar abreviacions de codi en el widget"
|
246 |
+
|
247 |
+
#: custom-field-template/custom-field-template.php:918
|
248 |
+
msgid "In case that you would like to use the shortcode in the excerpt."
|
249 |
+
msgstr "En cas que vulguis utilitzar abreviacions de codi a l'extracte"
|
250 |
+
|
251 |
+
#: custom-field-template/custom-field-template.php:919
|
252 |
+
msgid "Use the shortcode in the excerpt"
|
253 |
+
msgstr "Utilitzar abreviacions de codi a l'extracte"
|
254 |
+
|
255 |
+
#: custom-field-template/custom-field-template.php:923
|
256 |
+
#: custom-field-template/custom-field-template.php:942
|
257 |
+
#: custom-field-template/custom-field-template.php:971
|
258 |
+
#: custom-field-template/custom-field-template.php:1002
|
259 |
+
#: custom-field-template/custom-field-template.php:1043
|
260 |
+
msgid "Update Options »"
|
261 |
+
msgstr "Actualitzar Opcions »"
|
262 |
+
|
263 |
+
#: custom-field-template/custom-field-template.php:933
|
264 |
+
msgid "ADMIN CSS"
|
265 |
+
msgstr "ADMIN CSS"
|
266 |
+
|
267 |
+
#: custom-field-template/custom-field-template.php:952
|
268 |
+
msgid "[cft] and [cftsearch] Shortcode Format"
|
269 |
+
msgstr "Abreviacions de codi [cft] i [cftsearch]"
|
270 |
+
|
271 |
+
#: custom-field-template/custom-field-template.php:955
|
272 |
+
msgid "For [cft], [key] will be converted into the value of [key]."
|
273 |
+
msgstr "Per [cft], [key] es convertirà en un valor de [key]."
|
274 |
+
|
275 |
+
#: custom-field-template/custom-field-template.php:956
|
276 |
+
msgid "For [cftsearch], [key] will be converted into the input field."
|
277 |
+
msgstr "Per [cftsearch], [key] es convertirà en camp d'entrada."
|
278 |
+
|
279 |
+
#: custom-field-template/custom-field-template.php:965
|
280 |
+
#: custom-field-template/custom-field-template.php:1036
|
281 |
+
msgid "Use PHP"
|
282 |
+
msgstr "Utilitzar PHP"
|
283 |
+
|
284 |
+
#: custom-field-template/custom-field-template.php:981
|
285 |
+
msgid "PHP CODE (Experimental Option)"
|
286 |
+
msgstr "CÓDIGO PHP (Opción experimental)"
|
287 |
+
|
288 |
+
#: custom-field-template/custom-field-template.php:983
|
289 |
+
msgid "Are you sure to save PHP codes? Please do it at your own risk."
|
290 |
+
msgstr "Segur que vols guardar el codi PHP?"
|
291 |
+
|
292 |
+
#: custom-field-template/custom-field-template.php:984
|
293 |
+
msgid "For `text` and `textarea`, you must set $value as an string."
|
294 |
+
msgstr "Per `text` i `textarea`, has de d'introduïr un string a $value."
|
295 |
+
|
296 |
+
#: custom-field-template/custom-field-template.php:986
|
297 |
+
msgid "For `checkbox`, `radio`, and `select`, you must set $values as an array."
|
298 |
+
msgstr "Per `checkbox`, `radio`, i `select`, has d'introduïr els $values com un array"
|
299 |
+
|
300 |
+
#: custom-field-template/custom-field-template.php:1012
|
301 |
+
msgid "Auto Hook of `the_content()` (Experimental Option)"
|
302 |
+
msgstr "Hook automàtic per a `the_content()` (Opció experimental)"
|
303 |
+
|
304 |
+
#: custom-field-template/custom-field-template.php:1022
|
305 |
+
msgid "Position"
|
306 |
+
msgstr "Posició"
|
307 |
+
|
308 |
+
#: custom-field-template/custom-field-template.php:1023
|
309 |
+
msgid "Before the conetnt"
|
310 |
+
msgstr "Abans del contingut"
|
311 |
+
|
312 |
+
#: custom-field-template/custom-field-template.php:1024
|
313 |
+
msgid "After the conetnt"
|
314 |
+
msgstr "Després del contingut"
|
315 |
+
|
316 |
+
#: custom-field-template/custom-field-template.php:1025
|
317 |
+
#, php-format
|
318 |
+
msgid "Inside the conetnt ([cfthook hook=%d])"
|
319 |
+
msgstr "Dins el contingut ([cfthook hook=%d])"
|
320 |
+
|
321 |
+
#: custom-field-template/custom-field-template.php:1035
|
322 |
+
msgid "Content"
|
323 |
+
msgstr "Contingut"
|
324 |
+
|
325 |
+
#: custom-field-template/custom-field-template.php:1037
|
326 |
+
msgid "Apply to feeds"
|
327 |
+
msgstr "Aplicar als feeds"
|
328 |
+
|
329 |
+
#: custom-field-template/custom-field-template.php:1053
|
330 |
+
msgid "Rebuild Value Counts"
|
331 |
+
msgstr "Reconstruïr el compte de valors"
|
332 |
+
|
333 |
+
#: custom-field-template/custom-field-template.php:1055
|
334 |
+
msgid "Are you sure to rebuild all value counts?"
|
335 |
+
msgstr "Segur que vols reconstruïr tots els comptes de valors?"
|
336 |
+
|
337 |
+
#: custom-field-template/custom-field-template.php:1059
|
338 |
+
msgid "Value Counts are used for temporarily saving how many values in each key. Set `valueCount = true` into fields."
|
339 |
+
msgstr "Els comptes de valors són utilitzats per guardar temporalment els valors de cada clau. Ajusta `valueCount = true` als camps."
|
340 |
+
|
341 |
+
#: custom-field-template/custom-field-template.php:1063
|
342 |
+
msgid "Rebuild Value Counts »"
|
343 |
+
msgstr "Actualitzar compte de valors $raquo;"
|
344 |
+
|
345 |
+
#: custom-field-template/custom-field-template.php:1074
|
346 |
+
msgid "Rebuild Tags"
|
347 |
+
msgstr "Reconstruïr etiquetes"
|
348 |
+
|
349 |
+
#: custom-field-template/custom-field-template.php:1076
|
350 |
+
msgid "Are you sure to rebuild tags?"
|
351 |
+
msgstr "Segur que vols reconstruïr les etiquetes?"
|
352 |
+
|
353 |
+
#: custom-field-template/custom-field-template.php:1080
|
354 |
+
msgid "Rebuild Tags »"
|
355 |
+
msgstr "Reconstruïr Etiquetes $raquo;"
|
356 |
+
|
357 |
+
#: custom-field-template/custom-field-template.php:1091
|
358 |
+
msgid "Option List"
|
359 |
+
msgstr "Llista d'Opcions"
|
360 |
+
|
361 |
+
#: custom-field-template/custom-field-template.php:1253
|
362 |
+
msgid "Export Options"
|
363 |
+
msgstr "Exportar Opcions"
|
364 |
+
|
365 |
+
#: custom-field-template/custom-field-template.php:1259
|
366 |
+
msgid "Export Options »"
|
367 |
+
msgstr "Exportar Opcions »"
|
368 |
+
|
369 |
+
#: custom-field-template/custom-field-template.php:1269
|
370 |
+
msgid "Import Options"
|
371 |
+
msgstr "Importar Opcions"
|
372 |
+
|
373 |
+
#: custom-field-template/custom-field-template.php:1271
|
374 |
+
msgid "Are you sure to import options? Options you set will be overwritten."
|
375 |
+
msgstr "Segur que vols importar les opcions? Les opcions que hagis configurat seran sobreescrites"
|
376 |
+
|
377 |
+
#: custom-field-template/custom-field-template.php:1275
|
378 |
+
msgid "Import Options »"
|
379 |
+
msgstr "Importar Opcions »"
|
380 |
+
|
381 |
+
#: custom-field-template/custom-field-template.php:1285
|
382 |
+
msgid "Reset Options"
|
383 |
+
msgstr "Reiniciar Opcions"
|
384 |
+
|
385 |
+
#: custom-field-template/custom-field-template.php:1287
|
386 |
+
msgid "Are you sure to reset options? Options you set will be reset to the default settings."
|
387 |
+
msgstr "Segur que vols reiniciar les opcions? Les opcions que hagis confingurat seran reiniciades a la configuració predeterminada."
|
388 |
+
|
389 |
+
#: custom-field-template/custom-field-template.php:1291
|
390 |
+
msgid "Reset Options »"
|
391 |
+
msgstr "Reiniciar Opcions »"
|
392 |
+
|
393 |
+
#: custom-field-template/custom-field-template.php:1301
|
394 |
+
msgid "Delete Options"
|
395 |
+
msgstr "Eliminar Opcions"
|
396 |
+
|
397 |
+
#: custom-field-template/custom-field-template.php:1303
|
398 |
+
msgid "Are you sure to delete options? Options you set will be deleted."
|
399 |
+
msgstr "Segur que vols eliminar les opcions? Les opcions que hagis confingurat es perdràn."
|
400 |
+
|
401 |
+
#: custom-field-template/custom-field-template.php:1307
|
402 |
+
msgid "Delete Options »"
|
403 |
+
msgstr "Eliminar Opcions »"
|
404 |
+
|
405 |
+
#: custom-field-template/custom-field-template.php:1317
|
406 |
+
msgid "Donation"
|
407 |
+
msgstr "Donacions"
|
408 |
+
|
409 |
+
#: custom-field-template/custom-field-template.php:1319
|
410 |
+
msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
|
411 |
+
msgstr "Si t'agrada aquest plugin, fes una donació per paypal si us plau!"
|
412 |
+
|
413 |
+
#: custom-field-template/custom-field-template.php:1415
|
414 |
+
#: custom-field-template/custom-field-template.php:1536
|
415 |
+
#: custom-field-template/custom-field-template.php:1616
|
416 |
+
#: custom-field-template/custom-field-template.php:1790
|
417 |
+
#: custom-field-template/custom-field-template.php:1922
|
418 |
+
msgid "Add New"
|
419 |
+
msgstr "Afegir Nou"
|
420 |
+
|
421 |
+
#: custom-field-template/custom-field-template.php:1546
|
422 |
+
msgid "Clear"
|
423 |
+
msgstr "Esborrar"
|
424 |
+
|
425 |
+
#: custom-field-template/custom-field-template.php:1632
|
426 |
+
msgid "Select"
|
427 |
+
msgstr "Sel·leccionar"
|
428 |
+
|
429 |
+
#: custom-field-template/custom-field-template.php:1697
|
430 |
+
msgid "Add an Image"
|
431 |
+
msgstr "Afegir una Imatge"
|
432 |
+
|
433 |
+
#: custom-field-template/custom-field-template.php:1702
|
434 |
+
msgid "Add Video"
|
435 |
+
msgstr "Afegir Vídeo"
|
436 |
+
|
437 |
+
#: custom-field-template/custom-field-template.php:1707
|
438 |
+
msgid "Add Audio"
|
439 |
+
msgstr "Afegir Audio"
|
440 |
+
|
441 |
+
#: custom-field-template/custom-field-template.php:1711
|
442 |
+
msgid "Add Media"
|
443 |
+
msgstr "Afegir Mèdia"
|
444 |
+
|
445 |
+
#: custom-field-template/custom-field-template.php:1718
|
446 |
+
msgid "Toggle"
|
447 |
+
msgstr "Canviar"
|
448 |
+
|
449 |
+
#: custom-field-template/custom-field-template.php:1810
|
450 |
+
#: custom-field-template/custom-field-template.php:1924
|
451 |
+
msgid "Delete"
|
452 |
+
msgstr "Eliminar"
|
453 |
+
|
454 |
+
#: custom-field-template/custom-field-template.php:2175
|
455 |
+
msgid "Enable"
|
456 |
+
msgstr "Activar"
|
457 |
+
|
458 |
+
#: custom-field-template/custom-field-template.php:2179
|
459 |
+
msgid "Initialize"
|
460 |
+
msgstr "Inicializar"
|
461 |
+
|
462 |
+
#: custom-field-template/custom-field-template.php:2180
|
463 |
+
msgid "Are you sure to reset current values? Default values will be loaded."
|
464 |
+
msgstr "Segur que vols reiniciar els valors actuals? Es carregaran els valors predeterminats."
|
465 |
+
|
466 |
+
#: custom-field-template/custom-field-template.php:2185
|
467 |
+
msgid "Save"
|
468 |
+
msgstr "Guardar"
|
469 |
+
|
470 |
+
#: custom-field-template/custom-field-template.php:2815
|
471 |
+
msgid "Search »"
|
472 |
+
msgstr "Cercar »"
|
473 |
+
|
474 |
+
#~ msgid "Use multiple image inset"
|
475 |
+
#~ msgstr "Usar inclusión de múltiples imágenes"
|
476 |
+
|
477 |
+
#~ msgid "Caution:"
|
478 |
+
#~ msgstr "Advertencia:"
|
479 |
+
|
480 |
+
#~ msgid ""
|
481 |
+
#~ "You need to edit `wp-admin/includes/media.php`. Delete or comment out the "
|
482 |
+
#~ "code in the function media_send_to_editor."
|
483 |
+
#~ msgstr ""
|
484 |
+
#~ "Necesitas editar el archivo `wp-admin/includes/media.php`. Elimina o "
|
485 |
+
#~ "descomenta el código en la función media_send_to_editor"
|
486 |
+
|
487 |
+
#~ msgid "CSS"
|
488 |
+
#~ msgstr "CSS"
|
489 |
+
|
490 |
+
#~ msgid "Recent Posts Ext"
|
491 |
+
#~ msgstr "最近の投稿 Ext"
|
492 |
+
|
493 |
+
#~ msgid "camera"
|
494 |
+
#~ msgstr "機種"
|
495 |
+
|
496 |
+
#~ msgid "aperture"
|
497 |
+
#~ msgstr "絞り値"
|
498 |
+
|
499 |
+
#~ msgid "focal_length"
|
500 |
+
#~ msgstr "焦点距離"
|
501 |
+
|
502 |
+
#~ msgid "ISO"
|
503 |
+
#~ msgstr "ISO"
|
504 |
+
|
505 |
+
#~ msgid "shutter_speed"
|
506 |
+
#~ msgstr "シャッタースピード"
|
507 |
+
|
508 |
+
#~ msgid "created_timestamp"
|
509 |
+
#~ msgstr "撮影日時"
|
custom-field-template.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Custom Field Template
|
|
4 |
Plugin URI: http://wpgogo.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.6.
|
8 |
Author URI: http://wpgogo.com/
|
9 |
*/
|
10 |
|
@@ -160,6 +160,9 @@ class custom_field_template {
|
|
160 |
remove_meta_box('postcustom', $val, 'normal');
|
161 |
endif;
|
162 |
add_meta_box('cftdiv', __('Custom Field Template', 'custom-field-template'), array(&$this, 'insert_custom_field'), $val, 'normal', 'core');
|
|
|
|
|
|
|
163 |
endforeach;
|
164 |
endif;
|
165 |
endif;
|
@@ -320,7 +323,7 @@ class custom_field_template {
|
|
320 |
|
321 |
var params = {
|
322 |
action: 'inline-save',
|
323 |
-
post_type: this.type
|
324 |
post_ID: id,
|
325 |
edit_date: 'true'
|
326 |
};
|
@@ -881,7 +884,7 @@ margin-bottom:0pt;
|
|
881 |
<p><label for="custom_field_template_title[<?php echo $i; ?>]"><?php echo sprintf(__('Template Title', 'custom-field-template'), $i); ?></label>:<br />
|
882 |
<input type="text" name="custom_field_template_title[<?php echo $i; ?>]" id="custom_field_template_title[<?php echo $i; ?>]" value="<?php echo attribute_escape(stripcslashes($options['custom_fields'][$i]['title'])); ?>" size="80" /></p>
|
883 |
<p><label for="custom_field_template_instruction[<?php echo $i; ?>]"><a href="javascript:void(0);" onclick="jQuery(this).parent().next().next().toggle();"><?php echo sprintf(__('Template Instruction', 'custom-field-template'), $i); ?></a></label>:<br />
|
884 |
-
<textarea class="large-text" name="custom_field_template_instruction[<?php echo $i; ?>]"
|
885 |
<p><label for="custom_field_template_post_type[<?php echo $i; ?>]"><a href="javascript:void(0);" onclick="jQuery(this).parent().next().next().toggle();"><?php echo sprintf(__('Post Type', 'custom-field-template'), $i); ?></a></label>:<br />
|
886 |
<span<?php if ( empty($options['custom_fields'][$i]['post_type']) ) : echo ' style="display:none;"'; endif; ?>>
|
887 |
<input type="radio" name="custom_field_template_post_type[<?php echo $i; ?>]" id="custom_field_template_post_type[<?php echo $i; ?>]" value=""<?php if ( !$options['custom_fields'][$i]['post_type'] ) : echo ' checked="checked"'; endif; ?> /> <?php _e('Both', 'custom-field-template'); ?>
|
@@ -3272,13 +3275,13 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";*/
|
|
3272 |
case '<>' :
|
3273 |
case '<=>':
|
3274 |
if ( is_numeric($val3) ) :
|
3275 |
-
$where .=
|
3276 |
else :
|
3277 |
-
$where .= " ROW(ID,1) IN (SELECT post_id,count(post_id) FROM " . $wpdb->postmeta . " WHERE (" . $wpdb->postmeta . ".meta_key =
|
3278 |
endif;
|
3279 |
break;
|
3280 |
default :
|
3281 |
-
$where .= " ROW(ID,1) IN (SELECT post_id,count(post_id) FROM " . $wpdb->postmeta . " WHERE (" . $wpdb->postmeta . ".meta_key =
|
3282 |
break;
|
3283 |
endswitch;
|
3284 |
$ch++;
|
@@ -3302,11 +3305,11 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";*/
|
|
3302 |
foreach ( $s as $v ) :
|
3303 |
if ( !empty($v) ) :
|
3304 |
if ( $i>0 ) $where .= ' AND ';
|
3305 |
-
$where .= " ROW(ID,1) IN (SELECT post_id,count(post_id) FROM `" . $wpdb->postmeta . "` WHERE (`" . $wpdb->postmeta . "`.meta_value LIKE
|
3306 |
$i++;
|
3307 |
endif;
|
3308 |
endforeach;
|
3309 |
-
$where .= " OR ((`" . $wpdb->posts . "`.post_title LIKE
|
3310 |
$where .= ') ';
|
3311 |
endif;
|
3312 |
|
@@ -3325,6 +3328,10 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";*/
|
|
3325 |
$where .= " AND ID NOT IN (" . $in_posts . ")";
|
3326 |
endif;
|
3327 |
endif;
|
|
|
|
|
|
|
|
|
3328 |
|
3329 |
if ( $_REQUEST['no_is_search'] ) :
|
3330 |
$where .= " AND `".$wpdb->posts."`.post_status = 'publish'";
|
@@ -3339,7 +3346,7 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";*/
|
|
3339 |
if ( ($_REQUEST['order'] == 'ASC' || $_REQUEST['order'] == 'DESC') && $_REQUEST['orderby'] ) :
|
3340 |
global $wpdb;
|
3341 |
|
3342 |
-
$sql = " LEFT JOIN `" . $wpdb->postmeta . "` AS meta ON (`" . $wpdb->posts . "`.ID = meta.post_id AND meta.meta_key =
|
3343 |
return $sql;
|
3344 |
endif;
|
3345 |
}
|
@@ -3352,20 +3359,20 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";*/
|
|
3352 |
|
3353 |
if ( $_REQUEST['orderby'] ) :
|
3354 |
if ( in_array($_REQUEST['orderby'], array('post_author', 'post_date', 'post_title', 'post_modified', 'menu_order', 'post_parent', 'ID')) ):
|
3355 |
-
$sql = "`".$wpdb->posts."
|
3356 |
elseif ( $_REQUEST['orderby']=='rand' ):
|
3357 |
$sql = "RAND()";
|
3358 |
else:
|
3359 |
if ( in_array($_REQUEST['cast'], array('binary', 'char', 'date', 'datetime', 'signed', 'time', 'unsigned')) ) :
|
3360 |
-
$sql = " CAST(meta.meta_value AS "
|
3361 |
else :
|
3362 |
-
$sql = " meta.meta_value "
|
3363 |
endif;
|
3364 |
endif;
|
3365 |
return $sql;
|
3366 |
endif;
|
3367 |
|
3368 |
-
$sql = "`".$wpdb->posts."`.post_date "
|
3369 |
return $sql;
|
3370 |
}
|
3371 |
|
@@ -3377,7 +3384,7 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";*/
|
|
3377 |
$limit = (int)$_REQUEST['limit'];
|
3378 |
if ( !$limit )
|
3379 |
$limit = trim($old_limit);
|
3380 |
-
$wp_query->
|
3381 |
$offset = ($wp_query->query_vars['paged'] - 1) * $limit;
|
3382 |
if ( $offset < 0 ) $offset = 0;
|
3383 |
|
4 |
Plugin URI: http://wpgogo.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.6.6
|
8 |
Author URI: http://wpgogo.com/
|
9 |
*/
|
10 |
|
160 |
remove_meta_box('postcustom', $val, 'normal');
|
161 |
endif;
|
162 |
add_meta_box('cftdiv', __('Custom Field Template', 'custom-field-template'), array(&$this, 'insert_custom_field'), $val, 'normal', 'core');
|
163 |
+
if ( empty($options['custom_field_template_disable_custom_field_column']) ) :
|
164 |
+
add_filter( 'manage_'.$val.'_posts_columns', array(&$this, 'add_manage_pages_columns') );
|
165 |
+
endif;
|
166 |
endforeach;
|
167 |
endif;
|
168 |
endif;
|
323 |
|
324 |
var params = {
|
325 |
action: 'inline-save',
|
326 |
+
post_type: <?php if ( substr($wp_version, 0, 3) >= '3.0' ) echo 'typenow'; else echo 'this.type'; ?>,
|
327 |
post_ID: id,
|
328 |
edit_date: 'true'
|
329 |
};
|
884 |
<p><label for="custom_field_template_title[<?php echo $i; ?>]"><?php echo sprintf(__('Template Title', 'custom-field-template'), $i); ?></label>:<br />
|
885 |
<input type="text" name="custom_field_template_title[<?php echo $i; ?>]" id="custom_field_template_title[<?php echo $i; ?>]" value="<?php echo attribute_escape(stripcslashes($options['custom_fields'][$i]['title'])); ?>" size="80" /></p>
|
886 |
<p><label for="custom_field_template_instruction[<?php echo $i; ?>]"><a href="javascript:void(0);" onclick="jQuery(this).parent().next().next().toggle();"><?php echo sprintf(__('Template Instruction', 'custom-field-template'), $i); ?></a></label>:<br />
|
887 |
+
<textarea class="large-text" name="custom_field_template_instruction[<?php echo $i; ?>]" id="custom_field_template_instruction[<?php echo $i; ?>]" rows="5" cols="80"<?php if ( empty($options['custom_fields'][$i]['instruction']) ) : echo ' style="display:none;"'; endif; ?>><?php echo stripcslashes($options['custom_fields'][$i]['instruction']); ?></textarea></p>
|
888 |
<p><label for="custom_field_template_post_type[<?php echo $i; ?>]"><a href="javascript:void(0);" onclick="jQuery(this).parent().next().next().toggle();"><?php echo sprintf(__('Post Type', 'custom-field-template'), $i); ?></a></label>:<br />
|
889 |
<span<?php if ( empty($options['custom_fields'][$i]['post_type']) ) : echo ' style="display:none;"'; endif; ?>>
|
890 |
<input type="radio" name="custom_field_template_post_type[<?php echo $i; ?>]" id="custom_field_template_post_type[<?php echo $i; ?>]" value=""<?php if ( !$options['custom_fields'][$i]['post_type'] ) : echo ' checked="checked"'; endif; ?> /> <?php _e('Both', 'custom-field-template'); ?>
|
3275 |
case '<>' :
|
3276 |
case '<=>':
|
3277 |
if ( is_numeric($val3) ) :
|
3278 |
+
$where .= $wpdb->prepare(" ROW(ID,1) IN (SELECT post_id,count(post_id) FROM " . $wpdb->postmeta . " WHERE (" . $wpdb->postmeta . ".meta_key = %s AND `" . $wpdb->postmeta . "`.meta_value " . $replace[$key][$key2]['operator'] . " %d) GROUP BY post_id) ", $key, trim($val3));
|
3279 |
else :
|
3280 |
+
$where .= $wpdb->prepare(" ROW(ID,1) IN (SELECT post_id,count(post_id) FROM " . $wpdb->postmeta . " WHERE (" . $wpdb->postmeta . ".meta_key = %s AND `" . $wpdb->postmeta . "`.meta_value " . $replace[$key][$key2]['operator'] . " %s) GROUP BY post_id) ", $key, trim($val3));
|
3281 |
endif;
|
3282 |
break;
|
3283 |
default :
|
3284 |
+
$where .= " ROW(ID,1) IN (SELECT post_id,count(post_id) FROM " . $wpdb->postmeta . " WHERE (" . $wpdb->postmeta . ".meta_key = %s AND `" . $wpdb->postmeta . "`.meta_value LIKE %s) GROUP BY post_id) ", $key, '%'.trim($val3).'%');
|
3285 |
break;
|
3286 |
endswitch;
|
3287 |
$ch++;
|
3305 |
foreach ( $s as $v ) :
|
3306 |
if ( !empty($v) ) :
|
3307 |
if ( $i>0 ) $where .= ' AND ';
|
3308 |
+
$where .= $wpdb->prepare(" ROW(ID,1) IN (SELECT post_id,count(post_id) FROM `" . $wpdb->postmeta . "` WHERE (`" . $wpdb->postmeta . "`.meta_value LIKE %s) GROUP BY post_id) ", '%'.trim($v).'%');
|
3309 |
$i++;
|
3310 |
endif;
|
3311 |
endforeach;
|
3312 |
+
$where .= $wpdb->prepare(" OR ((`" . $wpdb->posts . "`.post_title LIKE %s) OR (`" . $wpdb->posts . "`.post_content LIKE %s))", '%'.trim($_REQUEST['s']).'%', '%'.trim($_REQUEST['s']).'%');
|
3313 |
$where .= ') ';
|
3314 |
endif;
|
3315 |
|
3328 |
$where .= " AND ID NOT IN (" . $in_posts . ")";
|
3329 |
endif;
|
3330 |
endif;
|
3331 |
+
|
3332 |
+
if ( $_REQUEST['post_type'] ) :
|
3333 |
+
$where .= $wpdb->prepare(" AND " . $wpdb->posts . ".post_type = %s", trim($_REQUEST['post_type']));
|
3334 |
+
endif;
|
3335 |
|
3336 |
if ( $_REQUEST['no_is_search'] ) :
|
3337 |
$where .= " AND `".$wpdb->posts."`.post_status = 'publish'";
|
3346 |
if ( ($_REQUEST['order'] == 'ASC' || $_REQUEST['order'] == 'DESC') && $_REQUEST['orderby'] ) :
|
3347 |
global $wpdb;
|
3348 |
|
3349 |
+
$sql = $wpdb->prepare(" LEFT JOIN `" . $wpdb->postmeta . "` AS meta ON (`" . $wpdb->posts . "`.ID = meta.post_id AND meta.meta_key = %s)", $_REQUEST['orderby']);
|
3350 |
return $sql;
|
3351 |
endif;
|
3352 |
}
|
3359 |
|
3360 |
if ( $_REQUEST['orderby'] ) :
|
3361 |
if ( in_array($_REQUEST['orderby'], array('post_author', 'post_date', 'post_title', 'post_modified', 'menu_order', 'post_parent', 'ID')) ):
|
3362 |
+
$sql = $wpdb->prepare("`".$wpdb->posts."`.%s %s", $_REQUEST['orderby'], $_REQUEST['order']);
|
3363 |
elseif ( $_REQUEST['orderby']=='rand' ):
|
3364 |
$sql = "RAND()";
|
3365 |
else:
|
3366 |
if ( in_array($_REQUEST['cast'], array('binary', 'char', 'date', 'datetime', 'signed', 'time', 'unsigned')) ) :
|
3367 |
+
$sql = $wpdb->prepare(" CAST(meta.meta_value AS %s) %s", $_REQUEST['cast'], $_REQUEST['order']);
|
3368 |
else :
|
3369 |
+
$sql = $wpdb->prepare(" meta.meta_value %s", $_REQUEST['order']);
|
3370 |
endif;
|
3371 |
endif;
|
3372 |
return $sql;
|
3373 |
endif;
|
3374 |
|
3375 |
+
$sql = $wpdb->prepare("`".$wpdb->posts."`.post_date %s", $_REQUEST['order']);
|
3376 |
return $sql;
|
3377 |
}
|
3378 |
|
3384 |
$limit = (int)$_REQUEST['limit'];
|
3385 |
if ( !$limit )
|
3386 |
$limit = trim($old_limit);
|
3387 |
+
$wp_query->query_vars0['posts_per_page'] = $limit;
|
3388 |
$offset = ($wp_query->query_vars['paged'] - 1) * $limit;
|
3389 |
if ( $offset < 0 ) $offset = 0;
|
3390 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wpgogo.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: 3.0
|
7 |
-
Stable tag: 1.6.
|
8 |
|
9 |
This plugin adds the default custom fields on the Write Post/Page.
|
10 |
|
@@ -63,6 +63,7 @@ The Custom Field Template plugin adds the default custom fields on the Write Pos
|
|
63 |
Localization
|
64 |
|
65 |
* Belorussian (by_BY) - [Marcis Gasuns](http://www.fatcow.com/)
|
|
|
66 |
* German (de_DE) - F J Kaiser
|
67 |
* Spanish (es_ES) - [Dario Ferrer](http://www.darioferrer.com/)
|
68 |
* French (fr_FR) - Nicolas Lemoine
|
@@ -101,6 +102,11 @@ See the default template and modify it.
|
|
101 |
|
102 |
== Changelog ==
|
103 |
|
|
|
|
|
|
|
|
|
|
|
104 |
= 1.6.5 =
|
105 |
* Bugfix: the judgement of post types.
|
106 |
|
4 |
Tags: custom, fields, field, template, meta, custom field, custom fields, custom field template
|
5 |
Requires at least: 2.1
|
6 |
Tested up to: 3.0
|
7 |
+
Stable tag: 1.6.6
|
8 |
|
9 |
This plugin adds the default custom fields on the Write Post/Page.
|
10 |
|
63 |
Localization
|
64 |
|
65 |
* Belorussian (by_BY) - [Marcis Gasuns](http://www.fatcow.com/)
|
66 |
+
* Catalan (ca) - [Andreu Llos](http://andreullos.com/)
|
67 |
* German (de_DE) - F J Kaiser
|
68 |
* Spanish (es_ES) - [Dario Ferrer](http://www.darioferrer.com/)
|
69 |
* French (fr_FR) - Nicolas Lemoine
|
102 |
|
103 |
== Changelog ==
|
104 |
|
105 |
+
= 1.6.6 =
|
106 |
+
* Quick Edit for the custom post type.
|
107 |
+
* Bugfix: prepared statement of cft search sqls.
|
108 |
+
* Catalan (ca) - Andreu Llos
|
109 |
+
|
110 |
= 1.6.5 =
|
111 |
* Bugfix: the judgement of post types.
|
112 |
|