Skip to content

Instantly share code, notes, and snippets.

@ko31
Last active June 24, 2019 23:28
Show Gist options
  • Save ko31/6d221e0a34f5e816e503195b62a6b7b0 to your computer and use it in GitHub Desktop.
Save ko31/6d221e0a34f5e816e503195b62a6b7b0 to your computer and use it in GitHub Desktop.
WordPressでタクソノミーに50音タームを追加
#!/bin/sh
wp term create initial "あ" --slug="a"
wp term create initial "い" --slug="i"
wp term create initial "う" --slug="u"
wp term create initial "え" --slug="e"
wp term create initial "お" --slug="o"
wp term create initial "か" --slug="ka"
wp term create initial "き" --slug="ki"
wp term create initial "く" --slug="ku"
wp term create initial "け" --slug="ke"
wp term create initial "こ" --slug="ko"
wp term create initial "さ" --slug="sa"
wp term create initial "し" --slug="shi"
wp term create initial "す" --slug="su"
wp term create initial "せ" --slug="se"
wp term create initial "そ" --slug="so"
wp term create initial "た" --slug="ta"
wp term create initial "ち" --slug="chi"
wp term create initial "つ" --slug="tsu"
wp term create initial "て" --slug="te"
wp term create initial "と" --slug="to"
wp term create initial "な" --slug="na"
wp term create initial "に" --slug="ni"
wp term create initial "ぬ" --slug="nu"
wp term create initial "ね" --slug="ne"
wp term create initial "の" --slug="no"
wp term create initial "は" --slug="ha"
wp term create initial "ひ" --slug="hi"
wp term create initial "ふ" --slug="hu"
wp term create initial "へ" --slug="he"
wp term create initial "ほ" --slug="ho"
wp term create initial "ま" --slug="ma"
wp term create initial "み" --slug="mi"
wp term create initial "む" --slug="mu"
wp term create initial "め" --slug="me"
wp term create initial "も" --slug="mo"
wp term create initial "や" --slug="ya"
wp term create initial "ゆ" --slug="yu"
wp term create initial "よ" --slug="yo"
wp term create initial "ら" --slug="ra"
wp term create initial "り" --slug="ri"
wp term create initial "る" --slug="ru"
wp term create initial "れ" --slug="re"
wp term create initial "ろ" --slug="ro"
wp term create initial "わ" --slug="wa"
wp term create initial "を" --slug="wo"
wp term create initial "ん" --slug="n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment