Custom Field Template - Version 1.0.7

Version Description

Download this release

Release Info

Developer Hiroaki Miyashita
Plugin Icon 128x128 Custom Field Template
Version 1.0.7
Comparing to
See all releases

Code changes from version 1.0.6 to 1.0.7

custom-field-template-ja.mo CHANGED
Binary file
custom-field-template-ja.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Custom Field Template\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2009-02-14 15:19+0900\n"
6
- "PO-Revision-Date: 2009-02-14 15:19+0900\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -16,284 +16,321 @@ msgstr ""
16
  "X-Poedit-Basepath: ../\n"
17
  "X-Poedit-SearchPath-0: custom-field-template\n"
18
 
19
- #: custom-field-template/custom-field-template.php:94
20
- #: custom-field-template/custom-field-template.php:95
21
- #: custom-field-template/custom-field-template.php:425
22
- #: custom-field-template/custom-field-template.php:540
23
- #: custom-field-template/custom-field-template.php:1274
24
- #: custom-field-template/custom-field-template.php:1384
25
  msgid "Custom Field Template"
26
  msgstr "カスタムフィールドテンプレート"
27
 
28
- #: custom-field-template/custom-field-template.php:134
29
- #: custom-field-template/custom-field-template.php:1432
30
  msgid "Load"
31
  msgstr "読込"
32
 
33
- #: custom-field-template/custom-field-template.php:283
34
  msgid "read more"
35
  msgstr "続きを表示"
36
 
37
- #: custom-field-template/custom-field-template.php:301
38
- #: custom-field-template/custom-field-template.php:311
39
  msgid "Custom Fields"
40
  msgstr "カスタムフィールド"
41
 
42
- #: custom-field-template/custom-field-template.php:341
43
  msgid "Settings"
44
  msgstr "設定"
45
 
46
- #: custom-field-template/custom-field-template.php:353
47
  msgid "Default Template"
48
  msgstr "デフォルトテンプレート"
49
 
50
- #: custom-field-template/custom-field-template.php:485
51
- #: custom-field-template/custom-field-template.php:489
52
- #: custom-field-template/custom-field-template.php:501
53
- #: custom-field-template/custom-field-template.php:509
54
- #: custom-field-template/custom-field-template.php:523
55
  msgid "Options updated."
56
  msgstr "オプションは更新されました。"
57
 
58
- #: custom-field-template/custom-field-template.php:528
 
 
 
 
59
  msgid "Options resetted."
60
  msgstr "オプションはリセットされました。"
61
 
62
- #: custom-field-template/custom-field-template.php:532
63
  msgid "Options deleted."
64
  msgstr "オプションは削除されました。"
65
 
66
- #: custom-field-template/custom-field-template.php:546
67
- #: custom-field-template/custom-field-template.php:613
68
- #: custom-field-template/custom-field-template.php:632
69
- #: custom-field-template/custom-field-template.php:661
70
- #: custom-field-template/custom-field-template.php:692
71
- #: custom-field-template/custom-field-template.php:725
72
- #: custom-field-template/custom-field-template.php:818
73
- #: custom-field-template/custom-field-template.php:834
74
- #: custom-field-template/custom-field-template.php:850
 
75
  msgid "Click to toggle"
76
  msgstr "クリックで切替"
77
 
78
- #: custom-field-template/custom-field-template.php:547
79
  msgid "Custom Field Template Options"
80
  msgstr "カスタムフィールドテンプレートオプション"
81
 
82
- #: custom-field-template/custom-field-template.php:557
83
  msgid "Template Title"
84
  msgstr "テンプレートタイトル"
85
 
86
- #: custom-field-template/custom-field-template.php:559
87
  msgid "Template Instruction"
88
  msgstr "テンプレートインストラクション"
89
 
90
- #: custom-field-template/custom-field-template.php:561
91
- #: custom-field-template/custom-field-template.php:707
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  msgid "Category ID (comma-deliminated)"
93
  msgstr "カテゴリーID(カンマ区切り)"
94
 
95
- #: custom-field-template/custom-field-template.php:563
96
  msgid "Template Content"
97
  msgstr "テンプレートコンテンツ"
98
 
99
- #: custom-field-template/custom-field-template.php:570
100
  msgid "In case that you would like to insert multiple images at once in use of the custom field media buttons"
101
  msgstr "カスタムフィールへの画像挿入を一度に複数枚実行する場合"
102
 
103
- #: custom-field-template/custom-field-template.php:571
104
  msgid "Use multiple image inset"
105
  msgstr "複数画像挿入を利用する"
106
 
107
- #: custom-field-template/custom-field-template.php:571
108
  msgid "Caution:"
109
  msgstr "ご注意:"
110
 
111
- #: custom-field-template/custom-field-template.php:571
112
  msgid "You need to edit `wp-admin/includes/media.php`. Delete or comment out the code in the function media_send_to_editor."
113
  msgstr "`wp-admin/includes/media.php`を編集する必要があります。media_send_to_editor関数の中身を削除するかコメントアウトしてください。"
114
 
115
- #: custom-field-template/custom-field-template.php:575
116
  msgid "In case that you would like to replace custom keys by labels if `label` is set"
117
  msgstr "`label`がセットされていて、カスタムフィールドのキーの代わりにラベルを表示したい場合"
118
 
119
- #: custom-field-template/custom-field-template.php:576
120
  msgid "Use labels in place of custom keys"
121
  msgstr "カスタムフィールドのキーの代わりにラベルを使用する"
122
 
123
- #: custom-field-template/custom-field-template.php:579
124
  msgid "In case that you would like to add p and br tags in textareas automatically"
125
  msgstr "テキストエリアでpタグ、brタグを自動的に追加したい場合"
126
 
127
- #: custom-field-template/custom-field-template.php:580
128
  msgid "Use wpautop function"
129
  msgstr "wpautop関数を使用する"
130
 
131
- #: custom-field-template/custom-field-template.php:584
132
  msgid "In case that you would like to save values automatically in switching templates"
133
  msgstr "テンプレート切替時自動で保存したい場合"
134
 
135
- #: custom-field-template/custom-field-template.php:585
136
  msgid "Use the auto save in switching templates"
137
  msgstr "テンプレート切替時の自動保存を使用する"
138
 
139
- #: custom-field-template/custom-field-template.php:589
140
  msgid "In case that you would like to forbid to use the default custom fields."
141
  msgstr "デフォルトのカスタムフィールドの使用を禁止する場合"
142
 
143
- #: custom-field-template/custom-field-template.php:590
144
  msgid "Disable the default custom fields"
145
  msgstr "デフォルトのカスタムフィールドを無効にする"
146
 
147
- #: custom-field-template/custom-field-template.php:594
148
  msgid "In case that you would like to forbid to use the quick edit."
149
  msgstr "クイック編集の使用を禁止する場合"
150
 
151
- #: custom-field-template/custom-field-template.php:595
152
  msgid "Disable the quick edit"
153
  msgstr "クイック編集を無効にする"
154
 
155
- #: custom-field-template/custom-field-template.php:599
156
  msgid "In case that you would like to replace the box title with the template title."
157
  msgstr "ボックスタイトルをテンプレートタイトルで置き換える場合"
158
 
159
- #: custom-field-template/custom-field-template.php:600
160
  msgid "Replace the box title"
161
  msgstr "ボックスタイトルを置き換える"
162
 
163
- #: custom-field-template/custom-field-template.php:604
164
- #: custom-field-template/custom-field-template.php:623
165
- #: custom-field-template/custom-field-template.php:652
166
- #: custom-field-template/custom-field-template.php:683
167
- #: custom-field-template/custom-field-template.php:716
168
  msgid "Update Options »"
169
  msgstr "オプションを更新する »"
170
 
171
- #: custom-field-template/custom-field-template.php:614
172
  msgid "ADMIN CSS"
173
  msgstr "ADMIN CSS"
174
 
175
- #: custom-field-template/custom-field-template.php:633
176
  msgid "[cft] and [cftsearch] Shortcode Format"
177
  msgstr "[cft] and [cftsearch] Shortcode Format"
178
 
179
- #: custom-field-template/custom-field-template.php:636
180
  msgid "For [cft], [key] will be converted into the value of [key]."
181
  msgstr "[cft]では、[key]は、[key]の値に置換されます。"
182
 
183
- #: custom-field-template/custom-field-template.php:637
184
  msgid "For [cftsearch], [key] will be converted into the input field."
185
  msgstr "[cftsearch]では、[key]は、インプットフィールドに置換されます。"
186
 
187
- #: custom-field-template/custom-field-template.php:646
188
- #: custom-field-template/custom-field-template.php:710
189
  msgid "Use PHP"
190
  msgstr "PHPを使用する"
191
 
192
- #: custom-field-template/custom-field-template.php:662
193
  msgid "PHP CODE (Experimental Option)"
194
  msgstr "PHP CODE (Experimental Option)"
195
 
196
- #: custom-field-template/custom-field-template.php:664
197
  msgid "Are you sure to save PHP codes? Please do it at your own risk."
198
  msgstr "PHPコードを保存してよろしいですか?自己責任で実行してください。"
199
 
200
- #: custom-field-template/custom-field-template.php:665
201
  msgid "For `text` and `textarea`, you must set $value as an string."
202
  msgstr "`text`と`textarea`は$valueを文字列としてセットしてください。"
203
 
204
- #: custom-field-template/custom-field-template.php:667
205
  msgid "For `checkbox`, `radio`, and `select`, you must set $values as an array."
206
  msgstr "`checkbox`、`radio`、`select`では、配列として$valuesをセットしてください。"
207
 
208
- #: custom-field-template/custom-field-template.php:693
209
  msgid "Auto Hook of `the_content()` (Experimental Option)"
210
  msgstr "Auto Hook of `the_content()` (Experimental Option)"
211
 
212
- #: custom-field-template/custom-field-template.php:703
213
  msgid "Position"
214
  msgstr "位置"
215
 
216
- #: custom-field-template/custom-field-template.php:704
217
  msgid "Before the conetnt"
218
  msgstr "コンテンツの前"
219
 
220
- #: custom-field-template/custom-field-template.php:705
221
  msgid "After the conetnt"
222
  msgstr "コンテンツの後"
223
 
224
- #: custom-field-template/custom-field-template.php:709
225
  msgid "Content"
226
  msgstr "コンテンツ"
227
 
228
- #: custom-field-template/custom-field-template.php:726
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
229
  msgid "Option List"
230
  msgstr "オプションリスト"
231
 
232
- #: custom-field-template/custom-field-template.php:819
233
  msgid "Reset Options"
234
  msgstr "オプションをリセットする"
235
 
236
- #: custom-field-template/custom-field-template.php:821
237
  msgid "Are you sure to reset options? Options you set will be reset to the default settings."
238
  msgstr "本当にオプションをリセットしてもよろしいですか?設定したオプションはデフォルトの状態に戻ります。"
239
 
240
- #: custom-field-template/custom-field-template.php:825
241
  msgid "Unset Options »"
242
  msgstr "オプションをリセットする »"
243
 
244
- #: custom-field-template/custom-field-template.php:835
245
  msgid "Delete Options"
246
  msgstr "オプションを削除する"
247
 
248
- #: custom-field-template/custom-field-template.php:837
249
  msgid "Are you sure to delete options? Options you set will be deleted."
250
  msgstr "本当にオプションを削除してもよろしいですか?設定したオプションは削除されます。"
251
 
252
- #: custom-field-template/custom-field-template.php:841
253
  msgid "Delete Options »"
254
  msgstr "オプションを削除する »"
255
 
256
- #: custom-field-template/custom-field-template.php:851
257
  msgid "Donation"
258
  msgstr "寄付"
259
 
260
- #: custom-field-template/custom-field-template.php:853
261
  msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
262
  msgstr "このプラグインをお気に召しましたら、Paypalよりご寄付をよろしくお願いいたします。"
263
 
264
- #: custom-field-template/custom-field-template.php:1016
265
  msgid "Clear"
266
  msgstr "解除"
267
 
268
- #: custom-field-template/custom-field-template.php:1083
269
  msgid "Select"
270
  msgstr "選択してください"
271
 
272
- #: custom-field-template/custom-field-template.php:1141
273
  msgid "Add Media"
274
  msgstr ""
275
 
276
- #: custom-field-template/custom-field-template.php:1143
277
  msgid "Add an Image"
278
  msgstr ""
279
 
280
- #: custom-field-template/custom-field-template.php:1145
281
  msgid "Add Video"
282
  msgstr ""
283
 
284
- #: custom-field-template/custom-field-template.php:1147
285
  msgid "Add Audio"
286
  msgstr ""
287
 
288
- #: custom-field-template/custom-field-template.php:1158
289
  msgid "Toggle"
290
  msgstr "切り替え"
291
 
292
- #: custom-field-template/custom-field-template.php:1455
293
  msgid "Save"
294
  msgstr "保存"
295
 
296
- #: custom-field-template/custom-field-template.php:1756
297
  msgid "Search »"
298
  msgstr "検索 »"
299
 
2
  msgstr ""
3
  "Project-Id-Version: Custom Field Template\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2009-03-06 03:20+0900\n"
6
+ "PO-Revision-Date: 2009-03-06 03:22+0900\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \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:98
20
+ #: custom-field-template/custom-field-template.php:99
21
+ #: custom-field-template/custom-field-template.php:429
22
+ #: custom-field-template/custom-field-template.php:551
23
+ #: custom-field-template/custom-field-template.php:1324
24
+ #: custom-field-template/custom-field-template.php:1444
25
  msgid "Custom Field Template"
26
  msgstr "カスタムフィールドテンプレート"
27
 
28
+ #: custom-field-template/custom-field-template.php:138
29
+ #: custom-field-template/custom-field-template.php:1494
30
  msgid "Load"
31
  msgstr "読込"
32
 
33
+ #: custom-field-template/custom-field-template.php:287
34
  msgid "read more"
35
  msgstr "続きを表示"
36
 
37
+ #: custom-field-template/custom-field-template.php:305
38
+ #: custom-field-template/custom-field-template.php:315
39
  msgid "Custom Fields"
40
  msgstr "カスタムフィールド"
41
 
42
+ #: custom-field-template/custom-field-template.php:345
43
  msgid "Settings"
44
  msgstr "設定"
45
 
46
+ #: custom-field-template/custom-field-template.php:357
47
  msgid "Default Template"
48
  msgstr "デフォルトテンプレート"
49
 
50
+ #: custom-field-template/custom-field-template.php:492
51
+ #: custom-field-template/custom-field-template.php:496
52
+ #: custom-field-template/custom-field-template.php:508
53
+ #: custom-field-template/custom-field-template.php:516
54
+ #: custom-field-template/custom-field-template.php:530
55
  msgid "Options updated."
56
  msgstr "オプションは更新されました。"
57
 
58
+ #: custom-field-template/custom-field-template.php:534
59
+ msgid "Value Counts rebuilt."
60
+ msgstr "バリューカウントは再構築されました。"
61
+
62
+ #: custom-field-template/custom-field-template.php:539
63
  msgid "Options resetted."
64
  msgstr "オプションはリセットされました。"
65
 
66
+ #: custom-field-template/custom-field-template.php:543
67
  msgid "Options deleted."
68
  msgstr "オプションは削除されました。"
69
 
70
+ #: custom-field-template/custom-field-template.php:557
71
+ #: custom-field-template/custom-field-template.php:629
72
+ #: custom-field-template/custom-field-template.php:648
73
+ #: custom-field-template/custom-field-template.php:677
74
+ #: custom-field-template/custom-field-template.php:708
75
+ #: custom-field-template/custom-field-template.php:741
76
+ #: custom-field-template/custom-field-template.php:761
77
+ #: custom-field-template/custom-field-template.php:857
78
+ #: custom-field-template/custom-field-template.php:873
79
+ #: custom-field-template/custom-field-template.php:889
80
  msgid "Click to toggle"
81
  msgstr "クリックで切替"
82
 
83
+ #: custom-field-template/custom-field-template.php:558
84
  msgid "Custom Field Template Options"
85
  msgstr "カスタムフィールドテンプレートオプション"
86
 
87
+ #: custom-field-template/custom-field-template.php:568
88
  msgid "Template Title"
89
  msgstr "テンプレートタイトル"
90
 
91
+ #: custom-field-template/custom-field-template.php:570
92
  msgid "Template Instruction"
93
  msgstr "テンプレートインストラクション"
94
 
95
+ #: custom-field-template/custom-field-template.php:572
96
+ msgid "Post Type"
97
+ msgstr "投稿タイプ"
98
+
99
+ #: custom-field-template/custom-field-template.php:574
100
+ msgid "Both"
101
+ msgstr "両方"
102
+
103
+ #: custom-field-template/custom-field-template.php:575
104
+ msgid "Post"
105
+ msgstr "投稿"
106
+
107
+ #: custom-field-template/custom-field-template.php:576
108
+ msgid "Page"
109
+ msgstr "ページ"
110
+
111
+ #: custom-field-template/custom-field-template.php:577
112
+ #: custom-field-template/custom-field-template.php:723
113
  msgid "Category ID (comma-deliminated)"
114
  msgstr "カテゴリーID(カンマ区切り)"
115
 
116
+ #: custom-field-template/custom-field-template.php:579
117
  msgid "Template Content"
118
  msgstr "テンプレートコンテンツ"
119
 
120
+ #: custom-field-template/custom-field-template.php:586
121
  msgid "In case that you would like to insert multiple images at once in use of the custom field media buttons"
122
  msgstr "カスタムフィールへの画像挿入を一度に複数枚実行する場合"
123
 
124
+ #: custom-field-template/custom-field-template.php:587
125
  msgid "Use multiple image inset"
126
  msgstr "複数画像挿入を利用する"
127
 
128
+ #: custom-field-template/custom-field-template.php:587
129
  msgid "Caution:"
130
  msgstr "ご注意:"
131
 
132
+ #: custom-field-template/custom-field-template.php:587
133
  msgid "You need to edit `wp-admin/includes/media.php`. Delete or comment out the code in the function media_send_to_editor."
134
  msgstr "`wp-admin/includes/media.php`を編集する必要があります。media_send_to_editor関数の中身を削除するかコメントアウトしてください。"
135
 
136
+ #: custom-field-template/custom-field-template.php:591
137
  msgid "In case that you would like to replace custom keys by labels if `label` is set"
138
  msgstr "`label`がセットされていて、カスタムフィールドのキーの代わりにラベルを表示したい場合"
139
 
140
+ #: custom-field-template/custom-field-template.php:592
141
  msgid "Use labels in place of custom keys"
142
  msgstr "カスタムフィールドのキーの代わりにラベルを使用する"
143
 
144
+ #: custom-field-template/custom-field-template.php:595
145
  msgid "In case that you would like to add p and br tags in textareas automatically"
146
  msgstr "テキストエリアでpタグ、brタグを自動的に追加したい場合"
147
 
148
+ #: custom-field-template/custom-field-template.php:596
149
  msgid "Use wpautop function"
150
  msgstr "wpautop関数を使用する"
151
 
152
+ #: custom-field-template/custom-field-template.php:600
153
  msgid "In case that you would like to save values automatically in switching templates"
154
  msgstr "テンプレート切替時自動で保存したい場合"
155
 
156
+ #: custom-field-template/custom-field-template.php:601
157
  msgid "Use the auto save in switching templates"
158
  msgstr "テンプレート切替時の自動保存を使用する"
159
 
160
+ #: custom-field-template/custom-field-template.php:605
161
  msgid "In case that you would like to forbid to use the default custom fields."
162
  msgstr "デフォルトのカスタムフィールドの使用を禁止する場合"
163
 
164
+ #: custom-field-template/custom-field-template.php:606
165
  msgid "Disable the default custom fields"
166
  msgstr "デフォルトのカスタムフィールドを無効にする"
167
 
168
+ #: custom-field-template/custom-field-template.php:610
169
  msgid "In case that you would like to forbid to use the quick edit."
170
  msgstr "クイック編集の使用を禁止する場合"
171
 
172
+ #: custom-field-template/custom-field-template.php:611
173
  msgid "Disable the quick edit"
174
  msgstr "クイック編集を無効にする"
175
 
176
+ #: custom-field-template/custom-field-template.php:615
177
  msgid "In case that you would like to replace the box title with the template title."
178
  msgstr "ボックスタイトルをテンプレートタイトルで置き換える場合"
179
 
180
+ #: custom-field-template/custom-field-template.php:616
181
  msgid "Replace the box title"
182
  msgstr "ボックスタイトルを置き換える"
183
 
184
+ #: custom-field-template/custom-field-template.php:620
185
+ #: custom-field-template/custom-field-template.php:639
186
+ #: custom-field-template/custom-field-template.php:668
187
+ #: custom-field-template/custom-field-template.php:699
188
+ #: custom-field-template/custom-field-template.php:732
189
  msgid "Update Options »"
190
  msgstr "オプションを更新する »"
191
 
192
+ #: custom-field-template/custom-field-template.php:630
193
  msgid "ADMIN CSS"
194
  msgstr "ADMIN CSS"
195
 
196
+ #: custom-field-template/custom-field-template.php:649
197
  msgid "[cft] and [cftsearch] Shortcode Format"
198
  msgstr "[cft] and [cftsearch] Shortcode Format"
199
 
200
+ #: custom-field-template/custom-field-template.php:652
201
  msgid "For [cft], [key] will be converted into the value of [key]."
202
  msgstr "[cft]では、[key]は、[key]の値に置換されます。"
203
 
204
+ #: custom-field-template/custom-field-template.php:653
205
  msgid "For [cftsearch], [key] will be converted into the input field."
206
  msgstr "[cftsearch]では、[key]は、インプットフィールドに置換されます。"
207
 
208
+ #: custom-field-template/custom-field-template.php:662
209
+ #: custom-field-template/custom-field-template.php:726
210
  msgid "Use PHP"
211
  msgstr "PHPを使用する"
212
 
213
+ #: custom-field-template/custom-field-template.php:678
214
  msgid "PHP CODE (Experimental Option)"
215
  msgstr "PHP CODE (Experimental Option)"
216
 
217
+ #: custom-field-template/custom-field-template.php:680
218
  msgid "Are you sure to save PHP codes? Please do it at your own risk."
219
  msgstr "PHPコードを保存してよろしいですか?自己責任で実行してください。"
220
 
221
+ #: custom-field-template/custom-field-template.php:681
222
  msgid "For `text` and `textarea`, you must set $value as an string."
223
  msgstr "`text`と`textarea`は$valueを文字列としてセットしてください。"
224
 
225
+ #: custom-field-template/custom-field-template.php:683
226
  msgid "For `checkbox`, `radio`, and `select`, you must set $values as an array."
227
  msgstr "`checkbox`、`radio`、`select`では、配列として$valuesをセットしてください。"
228
 
229
+ #: custom-field-template/custom-field-template.php:709
230
  msgid "Auto Hook of `the_content()` (Experimental Option)"
231
  msgstr "Auto Hook of `the_content()` (Experimental Option)"
232
 
233
+ #: custom-field-template/custom-field-template.php:719
234
  msgid "Position"
235
  msgstr "位置"
236
 
237
+ #: custom-field-template/custom-field-template.php:720
238
  msgid "Before the conetnt"
239
  msgstr "コンテンツの前"
240
 
241
+ #: custom-field-template/custom-field-template.php:721
242
  msgid "After the conetnt"
243
  msgstr "コンテンツの後"
244
 
245
+ #: custom-field-template/custom-field-template.php:725
246
  msgid "Content"
247
  msgstr "コンテンツ"
248
 
249
+ #: custom-field-template/custom-field-template.php:742
250
+ msgid "Rebuild Value Counts"
251
+ msgstr "バリューカウントの再構築"
252
+
253
+ #: custom-field-template/custom-field-template.php:744
254
+ msgid "Are you sure to rebuild all value counts?"
255
+ msgstr "本当に全てのバリューカウントを再構築しますか?"
256
+
257
+ #: custom-field-template/custom-field-template.php:748
258
+ msgid "Value Counts are used for temporarily saving how many values in each key. Set `valueCount = true` into fields."
259
+ msgstr "バリューカウントはキーごとに値がどのくらいあるか一時的に保存するのに使用されます。`valueCount = true`をフィールドにセットしてください。"
260
+
261
+ #: custom-field-template/custom-field-template.php:752
262
+ msgid "Rebuild Value Counts »"
263
+ msgstr "バリューカウントを再構築する »"
264
+
265
+ #: custom-field-template/custom-field-template.php:762
266
  msgid "Option List"
267
  msgstr "オプションリスト"
268
 
269
+ #: custom-field-template/custom-field-template.php:858
270
  msgid "Reset Options"
271
  msgstr "オプションをリセットする"
272
 
273
+ #: custom-field-template/custom-field-template.php:860
274
  msgid "Are you sure to reset options? Options you set will be reset to the default settings."
275
  msgstr "本当にオプションをリセットしてもよろしいですか?設定したオプションはデフォルトの状態に戻ります。"
276
 
277
+ #: custom-field-template/custom-field-template.php:864
278
  msgid "Unset Options »"
279
  msgstr "オプションをリセットする »"
280
 
281
+ #: custom-field-template/custom-field-template.php:874
282
  msgid "Delete Options"
283
  msgstr "オプションを削除する"
284
 
285
+ #: custom-field-template/custom-field-template.php:876
286
  msgid "Are you sure to delete options? Options you set will be deleted."
287
  msgstr "本当にオプションを削除してもよろしいですか?設定したオプションは削除されます。"
288
 
289
+ #: custom-field-template/custom-field-template.php:880
290
  msgid "Delete Options »"
291
  msgstr "オプションを削除する »"
292
 
293
+ #: custom-field-template/custom-field-template.php:890
294
  msgid "Donation"
295
  msgstr "寄付"
296
 
297
+ #: custom-field-template/custom-field-template.php:892
298
  msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
299
  msgstr "このプラグインをお気に召しましたら、Paypalよりご寄付をよろしくお願いいたします。"
300
 
301
+ #: custom-field-template/custom-field-template.php:1055
302
  msgid "Clear"
303
  msgstr "解除"
304
 
305
+ #: custom-field-template/custom-field-template.php:1122
306
  msgid "Select"
307
  msgstr "選択してください"
308
 
309
+ #: custom-field-template/custom-field-template.php:1180
310
  msgid "Add Media"
311
  msgstr ""
312
 
313
+ #: custom-field-template/custom-field-template.php:1182
314
  msgid "Add an Image"
315
  msgstr ""
316
 
317
+ #: custom-field-template/custom-field-template.php:1184
318
  msgid "Add Video"
319
  msgstr ""
320
 
321
+ #: custom-field-template/custom-field-template.php:1186
322
  msgid "Add Audio"
323
  msgstr ""
324
 
325
+ #: custom-field-template/custom-field-template.php:1197
326
  msgid "Toggle"
327
  msgstr "切り替え"
328
 
329
+ #: custom-field-template/custom-field-template.php:1521
330
  msgid "Save"
331
  msgstr "保存"
332
 
333
+ #: custom-field-template/custom-field-template.php:1828
334
  msgid "Search »"
335
  msgstr "検索 »"
336
 
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.0.6
8
  Author URI: http://wordpressgogo.com/
9
  */
10
 
@@ -24,6 +24,8 @@ class custom_field_template {
24
  //add_action( 'edit_post', array(&$this, 'edit_meta_value'), 100 );
25
  add_action( 'save_post', array(&$this, 'edit_meta_value'), 100 );
26
  //add_action( 'publish_post', array(&$this, 'edit_meta_value'), 100 );
 
 
27
 
28
  add_filter( 'media_send_to_editor', array(&$this, 'media_send_to_custom_field'), 15 );
29
  add_filter( 'plugin_action_links', array(&$this, 'wpaq_filter_plugin_actions'), 10, 2 );
@@ -482,6 +484,7 @@ mediaButton = true';
482
  $options['custom_fields'][$j]['content'] = $_POST["custom_field_template_content"][$i];
483
  $options['custom_fields'][$j]['instruction'] = $_POST["custom_field_template_instruction"][$i];
484
  $options['custom_fields'][$j]['category'] = $_POST["custom_field_template_category"][$i];
 
485
  $j++;
486
  }
487
  }
@@ -525,6 +528,10 @@ mediaButton = true';
525
  }
526
  update_option('custom_field_template_data', $options);
527
  $message = __('Options updated.', 'custom-field-template');
 
 
 
 
528
  elseif ($_POST['custom_field_template_unset_options_submit']) :
529
  $this->install_custom_field_template_data();
530
  $this->install_custom_field_template_css();
@@ -562,6 +569,11 @@ mediaButton = true';
562
  <input type="text" name="custom_field_template_title[<?php echo $i; ?>]" id="custom_field_template_title[<?php echo $i; ?>]" value="<?php echo stripcslashes($options['custom_fields'][$i]['title']); ?>" size="80" /></p>
563
  <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 />
564
  <textarea 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>
 
 
 
 
 
565
  <p><label for="custom_field_template_category[<?php echo $i; ?>]"><a href="javascript:void(0);" onclick="jQuery(this).parent().next().next().toggle();"><?php echo sprintf(__('Category ID (comma-deliminated)', 'custom-field-template'), $i); ?></a></label>:<br />
566
  <input type="text" name="custom_field_template_category[<?php echo $i; ?>]" id="custom_field_template_category[<?php echo $i; ?>]" value="<?php echo stripcslashes($options['custom_fields'][$i]['category']); ?>" size="80"<?php if ( empty($options['custom_fields'][$i]['category']) ) : echo ' style="display:none;"'; endif; ?> /></p>
567
  <p><label for="custom_field_template_content[<?php echo $i; ?>]"><?php echo sprintf(__('Template Content', 'custom-field-template'), $i); ?></label>:<br />
@@ -725,6 +737,26 @@ ex. `radio` and `select`:</dt><dd>$values = array('dog', 'cat', 'monkey'); $defa
725
  </div>
726
  </div>
727
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
728
  <div class="postbox closed">
729
  <div class="handlediv" title="<?php _e('Click to toggle', 'custom-field-template'); ?>"><br /></div>
730
  <h3><?php _e('Option List', 'custom-field-template'); ?></h3>
@@ -814,7 +846,7 @@ hideKey = true<br />
814
  <th>class</th><td>class = text</td><td>class = checkbox</td><td>class = radio</td><td>class = select</td><td>class = textarea</td>
815
  </tr>
816
  <tr>
817
- <th>valueCount</th><td>valueCount = text</td><td>valueCount = checkbox</td><td>valueCount = radio</td><td>valueCount = select</td><td>valueCount = textarea</td>
818
  </tr>
819
  </tbody>
820
  </table>
@@ -1212,6 +1244,13 @@ EOF;
1212
  if ( $fields == null )
1213
  return;
1214
 
 
 
 
 
 
 
 
1215
  if ( $options['custom_fields'][$id]['category'] && (strstr($_SERVER['REQUEST_URI'], 'wp-admin/page-new.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/page.php')) )
1216
  return;
1217
 
@@ -1529,10 +1568,10 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";
1529
  $tags_input = explode(",", $_POST['tags_input']);
1530
 
1531
  foreach( $fields as $title => $data) {
 
 
 
1532
  for($i = 0; $i<count($data); $i++) {
1533
- $name = $this->sanitize_name( $title );
1534
- $title = $wpdb->escape(stripcslashes(trim($title)));
1535
-
1536
  $value = stripcslashes(trim($_REQUEST[ "$name" ][$i]));
1537
 
1538
  if ( $options['custom_field_template_use_wpautop'] && $data[$i]['type'] == 'textarea' && !empty($value) )
@@ -1545,7 +1584,7 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";
1545
  add_post_meta( $id, $title, apply_filters('cft_'.urlencode($title), $value) );
1546
  if ( $data[$i]['insertTag'] == true ) $tags_input[] = $value;
1547
  if ( $data[$i]['valueCount'] == true ) :
1548
- $options['value_count'][$value] = $this->set_value_count($value);
1549
  endif;
1550
 
1551
  if ( $_REQUEST['TinyMCE_' . $name . trim($_REQUEST[ $name."_rand" ][$i]) . '_size'] ) {
@@ -1821,6 +1860,7 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";
1821
  $class = "";
1822
  switch ( $rval[0]['type'] ) :
1823
  case 'text':
 
1824
  case 'textarea':
1825
  if ( $rval[0]['class'] ) $class = ' class="' . $rval[0]['class'] . '"';
1826
  $replace_val[$rkey] .= '<input type="text" name="cftsearch[' . urlencode($key) . '][' . $rkey . '][]" value="' . attribute_escape($_REQUEST['cftsearch'][urlencode($key)]) . '"' . $class . ' />';
@@ -1927,6 +1967,7 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";
1927
  $class = "";
1928
  switch ( $val2['type'] ) :
1929
  case 'text':
 
1930
  case 'textarea':
1931
  if ( $val2['class'] ) $class = ' class="' . $val2['class'] . '"';
1932
  $output .= '<dd><input type="text" name="cftsearch[' . urlencode($key) . '][' . $rkey . '][]" value="' . attribute_escape($_REQUEST['cftsearch'][urlencode($key)]) . '"' . $class . ' /></dd>';
@@ -2083,24 +2124,98 @@ jQuery("#edButtonPreview").trigger("click"); }' . "\n";
2083
  return $ret;
2084
  }
2085
 
2086
- function set_value_count($value) {
2087
  global $wpdb;
2088
 
2089
- $query = $wpdb->prepare("SELECT COUNT(meta_id) FROM `". $wpdb->postmeta."` WHERE `". $wpdb->postmeta."`.meta_value = %s;", $value);
2090
  $count = $wpdb->get_var($query);
2091
 
2092
  return (int)$count;
2093
  }
2094
 
2095
- function get_value_count($value = '') {
2096
  $options = $this->get_custom_field_template_data();
2097
 
2098
- if ( $value ) :
2099
- return $options['value_count'][$value];
2100
  else:
2101
  return $options['value_count'];
2102
  endif;
2103
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2104
  }
2105
 
2106
  $custom_field_template = new 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.0.7
8
  Author URI: http://wordpressgogo.com/
9
  */
10
 
24
  //add_action( 'edit_post', array(&$this, 'edit_meta_value'), 100 );
25
  add_action( 'save_post', array(&$this, 'edit_meta_value'), 100 );
26
  //add_action( 'publish_post', array(&$this, 'edit_meta_value'), 100 );
27
+
28
+ add_action( 'delete_post', array(&$this, 'custom_field_template_delete_post'), 100 );
29
 
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 );
484
  $options['custom_fields'][$j]['content'] = $_POST["custom_field_template_content"][$i];
485
  $options['custom_fields'][$j]['instruction'] = $_POST["custom_field_template_instruction"][$i];
486
  $options['custom_fields'][$j]['category'] = $_POST["custom_field_template_category"][$i];
487
+ $options['custom_fields'][$j]['post_type'] = $_POST["custom_field_template_post_type"][$i];
488
  $j++;
489
  }
490
  }
528
  }
529
  update_option('custom_field_template_data', $options);
530
  $message = __('Options updated.', 'custom-field-template');
531
+ elseif ($_POST['custom_field_template_rebuild_value_counts_submit']) :
532
+ $this->custom_field_template_rebuild_value_counts();
533
+ $options = $this->get_custom_field_template_data();
534
+ $message = __('Value Counts rebuilt.', 'custom-field-template');
535
  elseif ($_POST['custom_field_template_unset_options_submit']) :
536
  $this->install_custom_field_template_data();
537
  $this->install_custom_field_template_css();
569
  <input type="text" name="custom_field_template_title[<?php echo $i; ?>]" id="custom_field_template_title[<?php echo $i; ?>]" value="<?php echo stripcslashes($options['custom_fields'][$i]['title']); ?>" size="80" /></p>
570
  <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 />
571
  <textarea 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>
572
+ <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 />
573
+ <span<?php if ( empty($options['custom_fields'][$i]['post_type']) ) : echo ' style="display:none;"'; endif; ?>>
574
+ <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'); ?>
575
+ <input type="radio" name="custom_field_template_post_type[<?php echo $i; ?>]" id="custom_field_template_post_type[<?php echo $i; ?>]" value="post"<?php if ( $options['custom_fields'][$i]['post_type']=='post') : echo ' checked="checked"'; endif; ?> /> <?php _e('Post', 'custom-field-template'); ?>
576
+ <input type="radio" name="custom_field_template_post_type[<?php echo $i; ?>]" id="custom_field_template_post_type[<?php echo $i; ?>]" value="page"<?php if ( $options['custom_fields'][$i]['post_type']=='page') : echo ' checked="checked"'; endif; ?> /> <?php _e('Page', 'custom-field-template'); ?></span></p>
577
  <p><label for="custom_field_template_category[<?php echo $i; ?>]"><a href="javascript:void(0);" onclick="jQuery(this).parent().next().next().toggle();"><?php echo sprintf(__('Category ID (comma-deliminated)', 'custom-field-template'), $i); ?></a></label>:<br />
578
  <input type="text" name="custom_field_template_category[<?php echo $i; ?>]" id="custom_field_template_category[<?php echo $i; ?>]" value="<?php echo stripcslashes($options['custom_fields'][$i]['category']); ?>" size="80"<?php if ( empty($options['custom_fields'][$i]['category']) ) : echo ' style="display:none;"'; endif; ?> /></p>
579
  <p><label for="custom_field_template_content[<?php echo $i; ?>]"><?php echo sprintf(__('Template Content', 'custom-field-template'), $i); ?></label>:<br />
737
  </div>
738
  </div>
739
 
740
+ <div class="postbox closed">
741
+ <div class="handlediv" title="<?php _e('Click to toggle', 'custom-field-template'); ?>"><br /></div>
742
+ <h3><?php _e('Rebuild Value Counts', 'custom-field-template'); ?></h3>
743
+ <div class="inside">
744
+ <form method="post" onsubmit="return confirm('<?php _e('Are you sure to rebuild all value counts?', 'custom-field-template'); ?>');">
745
+ <table class="form-table" style="margin-bottom:5px;">
746
+ <tbody>
747
+ <tr><td>
748
+ <p><?php _e('Value Counts are used for temporarily saving how many values in each key. Set `valueCount = true` into fields.', 'custom-field-template'); ?></p>
749
+ <p>global $custom_field_template;<br />
750
+ $value_count = $custom_field_template->get_value_count();<br />
751
+ echo $value_count[$meta_key][$meta_value];</p>
752
+ <p><input type="submit" name="custom_field_template_rebuild_value_counts_submit" value="<?php _e('Rebuild Value Counts &raquo;', 'custom-field-template'); ?>" class="button-primary" /></p>
753
+ </td></tr>
754
+ </tbody>
755
+ </table>
756
+ </form>
757
+ </div>
758
+ </div>
759
+
760
  <div class="postbox closed">
761
  <div class="handlediv" title="<?php _e('Click to toggle', 'custom-field-template'); ?>"><br /></div>
762
  <h3><?php _e('Option List', 'custom-field-template'); ?></h3>
846
  <th>class</th><td>class = text</td><td>class = checkbox</td><td>class = radio</td><td>class = select</td><td>class = textarea</td>
847
  </tr>
848
  <tr>
849
+ <th>valueCount</th><td>valueCount = true</td><td>valueCount = true</td><td>valueCount = true</td><td>valueCount = true</td><td>valueCount = true</td>
850
  </tr>
851
  </tbody>
852
  </table>
1244
  if ( $fields == null )
1245
  return;
1246
 
1247
+ if ( $options['custom_fields'][$id]['post_type'] ) :
1248
+ if ( $options['custom_fields'][$id]['post_type'] == 'post' && (strstr($_SERVER['REQUEST_URI'], 'wp-admin/page-new.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/page.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/edit-pages.php')) )
1249
+ return;
1250
+ if ( $options['custom_fields'][$id]['post_type'] == 'page' && (strstr($_SERVER['REQUEST_URI'], 'wp-admin/post-new.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/post.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/edit.php')) )
1251
+ return;
1252
+ endif;
1253
+
1254
  if ( $options['custom_fields'][$id]['category'] && (strstr($_SERVER['REQUEST_URI'], 'wp-admin/page-new.php') || strstr($_SERVER['REQUEST_URI'], 'wp-admin/page.php')) )
1255
  return;
1256
 
1568
  $tags_input = explode(",", $_POST['tags_input']);
1569
 
1570
  foreach( $fields as $title => $data) {
1571
+ $name = $this->sanitize_name( $title );
1572
+ $title = $wpdb->escape(stripcslashes(trim($title)));
1573
+
1574
  for($i = 0; $i<count($data); $i++) {
 
 
 
1575
  $value = stripcslashes(trim($_REQUEST[ "$name" ][$i]));
1576
 
1577
  if ( $options['custom_field_template_use_wpautop'] && $data[$i]['type'] == 'textarea' && !empty($value) )
1584
  add_post_meta( $id, $title, apply_filters('cft_'.urlencode($title), $value) );
1585
  if ( $data[$i]['insertTag'] == true ) $tags_input[] = $value;
1586
  if ( $data[$i]['valueCount'] == true ) :
1587
+ $options['value_count'][$title][$value] = $this->set_value_count($title, $value);
1588
  endif;
1589
 
1590
  if ( $_REQUEST['TinyMCE_' . $name . trim($_REQUEST[ $name."_rand" ][$i]) . '_size'] ) {
1860
  $class = "";
1861
  switch ( $rval[0]['type'] ) :
1862
  case 'text':
1863
+ case 'textfield':
1864
  case 'textarea':
1865
  if ( $rval[0]['class'] ) $class = ' class="' . $rval[0]['class'] . '"';
1866
  $replace_val[$rkey] .= '<input type="text" name="cftsearch[' . urlencode($key) . '][' . $rkey . '][]" value="' . attribute_escape($_REQUEST['cftsearch'][urlencode($key)]) . '"' . $class . ' />';
1967
  $class = "";
1968
  switch ( $val2['type'] ) :
1969
  case 'text':
1970
+ case 'textfield':
1971
  case 'textarea':
1972
  if ( $val2['class'] ) $class = ' class="' . $val2['class'] . '"';
1973
  $output .= '<dd><input type="text" name="cftsearch[' . urlencode($key) . '][' . $rkey . '][]" value="' . attribute_escape($_REQUEST['cftsearch'][urlencode($key)]) . '"' . $class . ' /></dd>';
2124
  return $ret;
2125
  }
2126
 
2127
+ function set_value_count($key, $value) {
2128
  global $wpdb;
2129
 
2130
+ $query = $wpdb->prepare("SELECT COUNT(meta_id) FROM `". $wpdb->postmeta."` WHERE `". $wpdb->postmeta."`.meta_key = %s AND `". $wpdb->postmeta."`.meta_value = %s;", $key, $value);
2131
  $count = $wpdb->get_var($query);
2132
 
2133
  return (int)$count;
2134
  }
2135
 
2136
+ function get_value_count($key = '', $value = '') {
2137
  $options = $this->get_custom_field_template_data();
2138
 
2139
+ if ( $key && $value ) :
2140
+ return $options['value_count'][$key][$value];
2141
  else:
2142
  return $options['value_count'];
2143
  endif;
2144
  }
2145
+
2146
+ function custom_field_template_delete_post($post_id) {
2147
+ global $wpdb;
2148
+ $options = $this->get_custom_field_template_data();
2149
+ $id = $options['posts'][$post_id];
2150
+
2151
+ if ( is_numeric($id) ) :
2152
+ $fields = $this->get_custom_fields($id);
2153
+
2154
+ if ( $fields == null )
2155
+ return;
2156
+
2157
+ foreach( $fields as $title => $data) :
2158
+ $name = $this->sanitize_name( $title );
2159
+ $title = $wpdb->escape(stripcslashes(trim($title)));
2160
+ for($i = 0; $i<count($data); $i++) :
2161
+ $value = get_post_meta($post_id, $title);
2162
+ if ( is_array($value) ) :
2163
+ foreach ( $value as $val ) :
2164
+ if ( $data[$i]['valueCount'] == true ) :
2165
+ $count = $this->set_value_count($title, $val)-1;
2166
+ if ( $count<=0 )
2167
+ unset($options['value_count'][$title][$val]);
2168
+ else
2169
+ $options['value_count'][$title][$val] = $count;
2170
+ endif;
2171
+ endforeach;
2172
+ else :
2173
+ if ( $data[$i]['valueCount'] == true ) :
2174
+ $count = $this->set_value_count($title, $value)-1;
2175
+ if ( $count<=0 )
2176
+ unset($options['value_count'][$title][$value]);
2177
+ else
2178
+ $options['value_count'][$title][$value] = $count;
2179
+ endif;
2180
+ endif;
2181
+ endfor;
2182
+ endforeach;
2183
+ endif;
2184
+ update_option('custom_field_template_data', $options);
2185
+ }
2186
+
2187
+ function custom_field_template_rebuild_value_counts() {
2188
+ global $wpdb;
2189
+ $options = $this->get_custom_field_template_data();
2190
+ unset($options['value_count']);
2191
+
2192
+ if ( is_array($options['custom_fields']) ) :
2193
+ for($j=0;$j<count($options['custom_fields']);$j++) :
2194
+
2195
+ $fields = $this->get_custom_fields($j);
2196
+
2197
+ if ( $fields == null )
2198
+ return;
2199
+
2200
+ foreach( $fields as $title => $data) :
2201
+ $name = $this->sanitize_name( $title );
2202
+ $title = $wpdb->escape(stripcslashes(trim($title)));
2203
+ for($i = 0; $i<count($data); $i++) :
2204
+ if ( $data[$i]['valueCount'] == true ) :
2205
+ $query = $wpdb->prepare("SELECT COUNT(meta_id) as meta_count, `". $wpdb->postmeta."`.meta_value FROM `". $wpdb->postmeta."` WHERE `". $wpdb->postmeta."`.meta_key = %s GROUP BY `". $wpdb->postmeta."`.meta_value;", $title);
2206
+ $result = $wpdb->get_results($query, ARRAY_A);
2207
+ if ( $result ) :
2208
+ foreach($result as $val) :
2209
+ $options['value_count'][$title][$val['meta_value']] = $val['meta_count'];
2210
+ endforeach;
2211
+ endif;
2212
+ endif;
2213
+ endfor;
2214
+ endforeach;
2215
+ endfor;
2216
+ endif;
2217
+ update_option('custom_field_template_data', $options);
2218
+ }
2219
  }
2220
 
2221
  $custom_field_template = new custom_field_template();
custom-field-template.pot CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Custom Field Template\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2009-02-14 16:02+0900\n"
6
- "PO-Revision-Date: 2009-02-14 16:02+0900\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -13,284 +13,321 @@ msgstr ""
13
  "X-Poedit-Basepath: ../\n"
14
  "X-Poedit-SearchPath-0: custom-field-template\n"
15
 
16
- #: custom-field-template/custom-field-template.php:94
17
- #: custom-field-template/custom-field-template.php:95
18
- #: custom-field-template/custom-field-template.php:425
19
- #: custom-field-template/custom-field-template.php:540
20
- #: custom-field-template/custom-field-template.php:1274
21
- #: custom-field-template/custom-field-template.php:1394
22
  msgid "Custom Field Template"
23
  msgstr ""
24
 
25
- #: custom-field-template/custom-field-template.php:134
26
- #: custom-field-template/custom-field-template.php:1444
27
  msgid "Load"
28
  msgstr ""
29
 
30
- #: custom-field-template/custom-field-template.php:283
31
  msgid "read more"
32
  msgstr ""
33
 
34
- #: custom-field-template/custom-field-template.php:301
35
- #: custom-field-template/custom-field-template.php:311
36
  msgid "Custom Fields"
37
  msgstr ""
38
 
39
- #: custom-field-template/custom-field-template.php:341
40
  msgid "Settings"
41
  msgstr ""
42
 
43
- #: custom-field-template/custom-field-template.php:353
44
  msgid "Default Template"
45
  msgstr ""
46
 
47
- #: custom-field-template/custom-field-template.php:485
48
- #: custom-field-template/custom-field-template.php:489
49
- #: custom-field-template/custom-field-template.php:501
50
- #: custom-field-template/custom-field-template.php:509
51
- #: custom-field-template/custom-field-template.php:523
52
  msgid "Options updated."
53
  msgstr ""
54
 
55
- #: custom-field-template/custom-field-template.php:528
 
 
 
 
56
  msgid "Options resetted."
57
  msgstr ""
58
 
59
- #: custom-field-template/custom-field-template.php:532
60
  msgid "Options deleted."
61
  msgstr ""
62
 
63
- #: custom-field-template/custom-field-template.php:546
64
- #: custom-field-template/custom-field-template.php:613
65
- #: custom-field-template/custom-field-template.php:632
66
- #: custom-field-template/custom-field-template.php:661
67
- #: custom-field-template/custom-field-template.php:692
68
- #: custom-field-template/custom-field-template.php:725
69
- #: custom-field-template/custom-field-template.php:818
70
- #: custom-field-template/custom-field-template.php:834
71
- #: custom-field-template/custom-field-template.php:850
 
72
  msgid "Click to toggle"
73
  msgstr ""
74
 
75
- #: custom-field-template/custom-field-template.php:547
76
  msgid "Custom Field Template Options"
77
  msgstr ""
78
 
79
- #: custom-field-template/custom-field-template.php:557
80
  msgid "Template Title"
81
  msgstr ""
82
 
83
- #: custom-field-template/custom-field-template.php:559
84
  msgid "Template Instruction"
85
  msgstr ""
86
 
87
- #: custom-field-template/custom-field-template.php:561
88
- #: custom-field-template/custom-field-template.php:707
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89
  msgid "Category ID (comma-deliminated)"
90
  msgstr ""
91
 
92
- #: custom-field-template/custom-field-template.php:563
93
  msgid "Template Content"
94
  msgstr ""
95
 
96
- #: custom-field-template/custom-field-template.php:570
97
  msgid "In case that you would like to insert multiple images at once in use of the custom field media buttons"
98
  msgstr ""
99
 
100
- #: custom-field-template/custom-field-template.php:571
101
  msgid "Use multiple image inset"
102
  msgstr ""
103
 
104
- #: custom-field-template/custom-field-template.php:571
105
  msgid "Caution:"
106
  msgstr ""
107
 
108
- #: custom-field-template/custom-field-template.php:571
109
  msgid "You need to edit `wp-admin/includes/media.php`. Delete or comment out the code in the function media_send_to_editor."
110
  msgstr ""
111
 
112
- #: custom-field-template/custom-field-template.php:575
113
  msgid "In case that you would like to replace custom keys by labels if `label` is set"
114
  msgstr ""
115
 
116
- #: custom-field-template/custom-field-template.php:576
117
  msgid "Use labels in place of custom keys"
118
  msgstr ""
119
 
120
- #: custom-field-template/custom-field-template.php:579
121
  msgid "In case that you would like to add p and br tags in textareas automatically"
122
  msgstr ""
123
 
124
- #: custom-field-template/custom-field-template.php:580
125
  msgid "Use wpautop function"
126
  msgstr ""
127
 
128
- #: custom-field-template/custom-field-template.php:584
129
  msgid "In case that you would like to save values automatically in switching templates"
130
  msgstr ""
131
 
132
- #: custom-field-template/custom-field-template.php:585
133
  msgid "Use the auto save in switching templates"
134
  msgstr ""
135
 
136
- #: custom-field-template/custom-field-template.php:589
137
  msgid "In case that you would like to forbid to use the default custom fields."
138
  msgstr ""
139
 
140
- #: custom-field-template/custom-field-template.php:590
141
  msgid "Disable the default custom fields"
142
  msgstr ""
143
 
144
- #: custom-field-template/custom-field-template.php:594
145
  msgid "In case that you would like to forbid to use the quick edit."
146
  msgstr ""
147
 
148
- #: custom-field-template/custom-field-template.php:595
149
  msgid "Disable the quick edit"
150
  msgstr ""
151
 
152
- #: custom-field-template/custom-field-template.php:599
153
  msgid "In case that you would like to replace the box title with the template title."
154
  msgstr ""
155
 
156
- #: custom-field-template/custom-field-template.php:600
157
  msgid "Replace the box title"
158
  msgstr ""
159
 
160
- #: custom-field-template/custom-field-template.php:604
161
- #: custom-field-template/custom-field-template.php:623
162
- #: custom-field-template/custom-field-template.php:652
163
- #: custom-field-template/custom-field-template.php:683
164
- #: custom-field-template/custom-field-template.php:716
165
  msgid "Update Options &raquo;"
166
  msgstr ""
167
 
168
- #: custom-field-template/custom-field-template.php:614
169
  msgid "ADMIN CSS"
170
  msgstr ""
171
 
172
- #: custom-field-template/custom-field-template.php:633
173
  msgid "[cft] and [cftsearch] Shortcode Format"
174
  msgstr ""
175
 
176
- #: custom-field-template/custom-field-template.php:636
177
  msgid "For [cft], [key] will be converted into the value of [key]."
178
  msgstr ""
179
 
180
- #: custom-field-template/custom-field-template.php:637
181
  msgid "For [cftsearch], [key] will be converted into the input field."
182
  msgstr ""
183
 
184
- #: custom-field-template/custom-field-template.php:646
185
- #: custom-field-template/custom-field-template.php:710
186
  msgid "Use PHP"
187
  msgstr ""
188
 
189
- #: custom-field-template/custom-field-template.php:662
190
  msgid "PHP CODE (Experimental Option)"
191
  msgstr ""
192
 
193
- #: custom-field-template/custom-field-template.php:664
194
  msgid "Are you sure to save PHP codes? Please do it at your own risk."
195
  msgstr ""
196
 
197
- #: custom-field-template/custom-field-template.php:665
198
  msgid "For `text` and `textarea`, you must set $value as an string."
199
  msgstr ""
200
 
201
- #: custom-field-template/custom-field-template.php:667
202
  msgid "For `checkbox`, `radio`, and `select`, you must set $values as an array."
203
  msgstr ""
204
 
205
- #: custom-field-template/custom-field-template.php:693
206
  msgid "Auto Hook of `the_content()` (Experimental Option)"
207
  msgstr ""
208
 
209
- #: custom-field-template/custom-field-template.php:703
210
  msgid "Position"
211
  msgstr ""
212
 
213
- #: custom-field-template/custom-field-template.php:704
214
  msgid "Before the conetnt"
215
  msgstr ""
216
 
217
- #: custom-field-template/custom-field-template.php:705
218
  msgid "After the conetnt"
219
  msgstr ""
220
 
221
- #: custom-field-template/custom-field-template.php:709
222
  msgid "Content"
223
  msgstr ""
224
 
225
- #: custom-field-template/custom-field-template.php:726
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
226
  msgid "Option List"
227
  msgstr ""
228
 
229
- #: custom-field-template/custom-field-template.php:819
230
  msgid "Reset Options"
231
  msgstr ""
232
 
233
- #: custom-field-template/custom-field-template.php:821
234
  msgid "Are you sure to reset options? Options you set will be reset to the default settings."
235
  msgstr ""
236
 
237
- #: custom-field-template/custom-field-template.php:825
238
  msgid "Unset Options &raquo;"
239
  msgstr ""
240
 
241
- #: custom-field-template/custom-field-template.php:835
242
  msgid "Delete Options"
243
  msgstr ""
244
 
245
- #: custom-field-template/custom-field-template.php:837
246
  msgid "Are you sure to delete options? Options you set will be deleted."
247
  msgstr ""
248
 
249
- #: custom-field-template/custom-field-template.php:841
250
  msgid "Delete Options &raquo;"
251
  msgstr ""
252
 
253
- #: custom-field-template/custom-field-template.php:851
254
  msgid "Donation"
255
  msgstr ""
256
 
257
- #: custom-field-template/custom-field-template.php:853
258
  msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
259
  msgstr ""
260
 
261
- #: custom-field-template/custom-field-template.php:1016
262
  msgid "Clear"
263
  msgstr ""
264
 
265
- #: custom-field-template/custom-field-template.php:1083
266
  msgid "Select"
267
  msgstr ""
268
 
269
- #: custom-field-template/custom-field-template.php:1141
270
  msgid "Add Media"
271
  msgstr ""
272
 
273
- #: custom-field-template/custom-field-template.php:1143
274
  msgid "Add an Image"
275
  msgstr ""
276
 
277
- #: custom-field-template/custom-field-template.php:1145
278
  msgid "Add Video"
279
  msgstr ""
280
 
281
- #: custom-field-template/custom-field-template.php:1147
282
  msgid "Add Audio"
283
  msgstr ""
284
 
285
- #: custom-field-template/custom-field-template.php:1158
286
  msgid "Toggle"
287
  msgstr ""
288
 
289
- #: custom-field-template/custom-field-template.php:1471
290
  msgid "Save"
291
  msgstr ""
292
 
293
- #: custom-field-template/custom-field-template.php:1772
294
  msgid "Search &raquo;"
295
  msgstr ""
296
 
2
  msgstr ""
3
  "Project-Id-Version: Custom Field Template\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2009-03-06 03:23+0900\n"
6
+ "PO-Revision-Date: 2009-03-06 03:23+0900\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
13
  "X-Poedit-Basepath: ../\n"
14
  "X-Poedit-SearchPath-0: custom-field-template\n"
15
 
16
+ #: custom-field-template/custom-field-template.php:98
17
+ #: custom-field-template/custom-field-template.php:99
18
+ #: custom-field-template/custom-field-template.php:429
19
+ #: custom-field-template/custom-field-template.php:551
20
+ #: custom-field-template/custom-field-template.php:1324
21
+ #: custom-field-template/custom-field-template.php:1444
22
  msgid "Custom Field Template"
23
  msgstr ""
24
 
25
+ #: custom-field-template/custom-field-template.php:138
26
+ #: custom-field-template/custom-field-template.php:1494
27
  msgid "Load"
28
  msgstr ""
29
 
30
+ #: custom-field-template/custom-field-template.php:287
31
  msgid "read more"
32
  msgstr ""
33
 
34
+ #: custom-field-template/custom-field-template.php:305
35
+ #: custom-field-template/custom-field-template.php:315
36
  msgid "Custom Fields"
37
  msgstr ""
38
 
39
+ #: custom-field-template/custom-field-template.php:345
40
  msgid "Settings"
41
  msgstr ""
42
 
43
+ #: custom-field-template/custom-field-template.php:357
44
  msgid "Default Template"
45
  msgstr ""
46
 
47
+ #: custom-field-template/custom-field-template.php:492
48
+ #: custom-field-template/custom-field-template.php:496
49
+ #: custom-field-template/custom-field-template.php:508
50
+ #: custom-field-template/custom-field-template.php:516
51
+ #: custom-field-template/custom-field-template.php:530
52
  msgid "Options updated."
53
  msgstr ""
54
 
55
+ #: custom-field-template/custom-field-template.php:534
56
+ msgid "Value Counts rebuilt."
57
+ msgstr ""
58
+
59
+ #: custom-field-template/custom-field-template.php:539
60
  msgid "Options resetted."
61
  msgstr ""
62
 
63
+ #: custom-field-template/custom-field-template.php:543
64
  msgid "Options deleted."
65
  msgstr ""
66
 
67
+ #: custom-field-template/custom-field-template.php:557
68
+ #: custom-field-template/custom-field-template.php:629
69
+ #: custom-field-template/custom-field-template.php:648
70
+ #: custom-field-template/custom-field-template.php:677
71
+ #: custom-field-template/custom-field-template.php:708
72
+ #: custom-field-template/custom-field-template.php:741
73
+ #: custom-field-template/custom-field-template.php:761
74
+ #: custom-field-template/custom-field-template.php:857
75
+ #: custom-field-template/custom-field-template.php:873
76
+ #: custom-field-template/custom-field-template.php:889
77
  msgid "Click to toggle"
78
  msgstr ""
79
 
80
+ #: custom-field-template/custom-field-template.php:558
81
  msgid "Custom Field Template Options"
82
  msgstr ""
83
 
84
+ #: custom-field-template/custom-field-template.php:568
85
  msgid "Template Title"
86
  msgstr ""
87
 
88
+ #: custom-field-template/custom-field-template.php:570
89
  msgid "Template Instruction"
90
  msgstr ""
91
 
92
+ #: custom-field-template/custom-field-template.php:572
93
+ msgid "Post Type"
94
+ msgstr ""
95
+
96
+ #: custom-field-template/custom-field-template.php:574
97
+ msgid "Both"
98
+ msgstr ""
99
+
100
+ #: custom-field-template/custom-field-template.php:575
101
+ msgid "Post"
102
+ msgstr ""
103
+
104
+ #: custom-field-template/custom-field-template.php:576
105
+ msgid "Page"
106
+ msgstr ""
107
+
108
+ #: custom-field-template/custom-field-template.php:577
109
+ #: custom-field-template/custom-field-template.php:723
110
  msgid "Category ID (comma-deliminated)"
111
  msgstr ""
112
 
113
+ #: custom-field-template/custom-field-template.php:579
114
  msgid "Template Content"
115
  msgstr ""
116
 
117
+ #: custom-field-template/custom-field-template.php:586
118
  msgid "In case that you would like to insert multiple images at once in use of the custom field media buttons"
119
  msgstr ""
120
 
121
+ #: custom-field-template/custom-field-template.php:587
122
  msgid "Use multiple image inset"
123
  msgstr ""
124
 
125
+ #: custom-field-template/custom-field-template.php:587
126
  msgid "Caution:"
127
  msgstr ""
128
 
129
+ #: custom-field-template/custom-field-template.php:587
130
  msgid "You need to edit `wp-admin/includes/media.php`. Delete or comment out the code in the function media_send_to_editor."
131
  msgstr ""
132
 
133
+ #: custom-field-template/custom-field-template.php:591
134
  msgid "In case that you would like to replace custom keys by labels if `label` is set"
135
  msgstr ""
136
 
137
+ #: custom-field-template/custom-field-template.php:592
138
  msgid "Use labels in place of custom keys"
139
  msgstr ""
140
 
141
+ #: custom-field-template/custom-field-template.php:595
142
  msgid "In case that you would like to add p and br tags in textareas automatically"
143
  msgstr ""
144
 
145
+ #: custom-field-template/custom-field-template.php:596
146
  msgid "Use wpautop function"
147
  msgstr ""
148
 
149
+ #: custom-field-template/custom-field-template.php:600
150
  msgid "In case that you would like to save values automatically in switching templates"
151
  msgstr ""
152
 
153
+ #: custom-field-template/custom-field-template.php:601
154
  msgid "Use the auto save in switching templates"
155
  msgstr ""
156
 
157
+ #: custom-field-template/custom-field-template.php:605
158
  msgid "In case that you would like to forbid to use the default custom fields."
159
  msgstr ""
160
 
161
+ #: custom-field-template/custom-field-template.php:606
162
  msgid "Disable the default custom fields"
163
  msgstr ""
164
 
165
+ #: custom-field-template/custom-field-template.php:610
166
  msgid "In case that you would like to forbid to use the quick edit."
167
  msgstr ""
168
 
169
+ #: custom-field-template/custom-field-template.php:611
170
  msgid "Disable the quick edit"
171
  msgstr ""
172
 
173
+ #: custom-field-template/custom-field-template.php:615
174
  msgid "In case that you would like to replace the box title with the template title."
175
  msgstr ""
176
 
177
+ #: custom-field-template/custom-field-template.php:616
178
  msgid "Replace the box title"
179
  msgstr ""
180
 
181
+ #: custom-field-template/custom-field-template.php:620
182
+ #: custom-field-template/custom-field-template.php:639
183
+ #: custom-field-template/custom-field-template.php:668
184
+ #: custom-field-template/custom-field-template.php:699
185
+ #: custom-field-template/custom-field-template.php:732
186
  msgid "Update Options &raquo;"
187
  msgstr ""
188
 
189
+ #: custom-field-template/custom-field-template.php:630
190
  msgid "ADMIN CSS"
191
  msgstr ""
192
 
193
+ #: custom-field-template/custom-field-template.php:649
194
  msgid "[cft] and [cftsearch] Shortcode Format"
195
  msgstr ""
196
 
197
+ #: custom-field-template/custom-field-template.php:652
198
  msgid "For [cft], [key] will be converted into the value of [key]."
199
  msgstr ""
200
 
201
+ #: custom-field-template/custom-field-template.php:653
202
  msgid "For [cftsearch], [key] will be converted into the input field."
203
  msgstr ""
204
 
205
+ #: custom-field-template/custom-field-template.php:662
206
+ #: custom-field-template/custom-field-template.php:726
207
  msgid "Use PHP"
208
  msgstr ""
209
 
210
+ #: custom-field-template/custom-field-template.php:678
211
  msgid "PHP CODE (Experimental Option)"
212
  msgstr ""
213
 
214
+ #: custom-field-template/custom-field-template.php:680
215
  msgid "Are you sure to save PHP codes? Please do it at your own risk."
216
  msgstr ""
217
 
218
+ #: custom-field-template/custom-field-template.php:681
219
  msgid "For `text` and `textarea`, you must set $value as an string."
220
  msgstr ""
221
 
222
+ #: custom-field-template/custom-field-template.php:683
223
  msgid "For `checkbox`, `radio`, and `select`, you must set $values as an array."
224
  msgstr ""
225
 
226
+ #: custom-field-template/custom-field-template.php:709
227
  msgid "Auto Hook of `the_content()` (Experimental Option)"
228
  msgstr ""
229
 
230
+ #: custom-field-template/custom-field-template.php:719
231
  msgid "Position"
232
  msgstr ""
233
 
234
+ #: custom-field-template/custom-field-template.php:720
235
  msgid "Before the conetnt"
236
  msgstr ""
237
 
238
+ #: custom-field-template/custom-field-template.php:721
239
  msgid "After the conetnt"
240
  msgstr ""
241
 
242
+ #: custom-field-template/custom-field-template.php:725
243
  msgid "Content"
244
  msgstr ""
245
 
246
+ #: custom-field-template/custom-field-template.php:742
247
+ msgid "Rebuild Value Counts"
248
+ msgstr ""
249
+
250
+ #: custom-field-template/custom-field-template.php:744
251
+ msgid "Are you sure to rebuild all value counts?"
252
+ msgstr ""
253
+
254
+ #: custom-field-template/custom-field-template.php:748
255
+ msgid "Value Counts are used for temporarily saving how many values in each key. Set `valueCount = true` into fields."
256
+ msgstr ""
257
+
258
+ #: custom-field-template/custom-field-template.php:752
259
+ msgid "Rebuild Value Counts &raquo;"
260
+ msgstr ""
261
+
262
+ #: custom-field-template/custom-field-template.php:762
263
  msgid "Option List"
264
  msgstr ""
265
 
266
+ #: custom-field-template/custom-field-template.php:858
267
  msgid "Reset Options"
268
  msgstr ""
269
 
270
+ #: custom-field-template/custom-field-template.php:860
271
  msgid "Are you sure to reset options? Options you set will be reset to the default settings."
272
  msgstr ""
273
 
274
+ #: custom-field-template/custom-field-template.php:864
275
  msgid "Unset Options &raquo;"
276
  msgstr ""
277
 
278
+ #: custom-field-template/custom-field-template.php:874
279
  msgid "Delete Options"
280
  msgstr ""
281
 
282
+ #: custom-field-template/custom-field-template.php:876
283
  msgid "Are you sure to delete options? Options you set will be deleted."
284
  msgstr ""
285
 
286
+ #: custom-field-template/custom-field-template.php:880
287
  msgid "Delete Options &raquo;"
288
  msgstr ""
289
 
290
+ #: custom-field-template/custom-field-template.php:890
291
  msgid "Donation"
292
  msgstr ""
293
 
294
+ #: custom-field-template/custom-field-template.php:892
295
  msgid "If you liked this plugin, please make a donation via paypal! Any amount is welcome. Your support is much appreciated."
296
  msgstr ""
297
 
298
+ #: custom-field-template/custom-field-template.php:1055
299
  msgid "Clear"
300
  msgstr ""
301
 
302
+ #: custom-field-template/custom-field-template.php:1122
303
  msgid "Select"
304
  msgstr ""
305
 
306
+ #: custom-field-template/custom-field-template.php:1180
307
  msgid "Add Media"
308
  msgstr ""
309
 
310
+ #: custom-field-template/custom-field-template.php:1182
311
  msgid "Add an Image"
312
  msgstr ""
313
 
314
+ #: custom-field-template/custom-field-template.php:1184
315
  msgid "Add Video"
316
  msgstr ""
317
 
318
+ #: custom-field-template/custom-field-template.php:1186
319
  msgid "Add Audio"
320
  msgstr ""
321
 
322
+ #: custom-field-template/custom-field-template.php:1197
323
  msgid "Toggle"
324
  msgstr ""
325
 
326
+ #: custom-field-template/custom-field-template.php:1521
327
  msgid "Save"
328
  msgstr ""
329
 
330
+ #: custom-field-template/custom-field-template.php:1828
331
  msgid "Search &raquo;"
332
  msgstr ""
333
 
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.0.6
8
 
9
  This plugin adds the default custom fields on the Write Post/Page.
10
 
@@ -42,6 +42,8 @@ The Custom Field Template plugin adds the default custom fields on the Write Pos
42
  * Adds the auto hook of `the_content()`. (experimental)
43
  * You can use the HTML Editor in the textarea. (`htmlEditor = true`)
44
  * Adds the box title replacement option.
 
 
45
 
46
  Localization
47
 
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.0.7
8
 
9
  This plugin adds the default custom fields on the Write Post/Page.
10
 
42
  * Adds the auto hook of `the_content()`. (experimental)
43
  * You can use the HTML Editor in the textarea. (`htmlEditor = true`)
44
  * Adds the box title replacement option.
45
+ * Adds the select option of the post type.
46
+ * Adds the value count option.
47
 
48
  Localization
49