Custom Field Template

電脳備忘録

wordpressはカスタムフィールドの機能がデフォルトだと弱いらしく、プラグインを入れることで対応するケースが多いようですね。 私もCustom Field Templateというプラグインを入れて設定してみました。

各項目の設定は管理画面の「カスタムフィールドテンプレート」内で設定できるようです。


[Plan]
type = text
size = 35
label = Where are you going to go?
[Plan]
type = textfield
size = 35
hideKey = true
[Favorite Fruits]
type = checkbox
value = apple # orange # banana # grape
default = orange # grape
[Miles Walked]
type = radio
value = 0-9 # 10-19 # 20+
default = 10-19
clearButton = true
[Temper Level]
type = select
value = High # Medium # Low
default = Low
[Hidden Thought]
type = textarea
rows = 4
cols = 40
tinyMCE = true
htmlEditor = true
mediaButton = true
[File Upload]
type = file

広告

ブログの維持費に充てるでございます・・・。