Skip to content

Instantly share code, notes, and snippets.

@1shiharat
Created May 30, 2014 16:59
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save 1shiharat/d3cdfc7e956cb718800b to your computer and use it in GitHub Desktop.
theme-customizer-setting.json
{
"setting": {
"theme_slug": "growcreater_basic" ,
"capability": "edit_theme_options"
},
"sections" : {
"gg_general_settings": {
"title" : "基本的な設定",
"priority" : 29,
"setting" : {
"general_keywords" : {
"transport" : "postMessage",
"default" : "",
"label" : "キーワードをカンマ区切りで入力してください。",
"type" : "option"
},
"general_analytics_code" : {
"transport" : "postMessage",
"default" : "",
"label" : "Google Analytics コードを入力してください",
"type" : "option"
}
}
},
"gg_logo_settings": {
"title" : "ロゴの設定",
"priority" : 30,
"setting" : {
"logo_choice" : {
"transport" : "refresh",
"default" : "text",
"label" : "ロゴの表示方法の選択",
"type" : "select",
"choices" : {
"text" : "テキスト",
"image" : "画像"
}
},
"logo_image_upload" : {
"transport" : "postMessage",
"default" : "",
"label" : "ロゴ画像アップロード",
"type" : "image"
},
"logo_size" : {
"transport" : "postMessage",
"default" : "small",
"label" : "ロゴの大きさ",
"type" : "radio",
"choices" : {
"small" : "",
"normal" : "",
"full" : "フル"
}
},
"logo_align" : {
"transport" : "postMessage",
"default" : "left",
"label" : "ロゴの位置",
"type" : "radio",
"choices" : {
"left" : "",
"center" : "センター",
"right" : ""
}
},
"logo_text_color" : {
"transport" : "postMessage",
"default" : "#FFF",
"label" : "テキスト時のロゴカラー",
"type" : "color"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment