Upgrade to Pro — share decks privately, control downloads, hide ads and more …

What's New in Twenty Seventeen

Kite
January 21, 2017

What's New in Twenty Seventeen

WordPress 4.7 では
多くの新機能が追加されました。
最新のデフォルトテーマ 
Twenty Seventeen を使って
それらを最大限に体験してみよう。

Kite

January 21, 2017
Tweet

More Decks by Kite

Other Decks in Programming

Transcript

  1. Kite KITERETZ inc. CEO & Founder ! kite.koga " ixkaito

    # ixkaito Web & graphic designer Programmer WordPress core contributor Ruby on Rails contributor React contributor Wocker developer Bathe developer Frasco developer
  2. CONTENTS 8PSE1SFTTͷਪ঑ಈ࡞؀ڥ 0 5XFOUZ4FWFOUFFOͱ͸ 1 ॳΊͯGSPOUQBHFQIQΛ࠾༻ 2 ςʔϚελʔλʔίϯςϯπ 3 ฤूγϣʔτΧοτ

    4 ಈըϔομʔ 5 ΧελϜ$44 6 1%'αϜωΠϧϓϨϏϡʔ 7 ϢʔβʔผμογϡϘʔυݴޠ 8 get_theme_file_uri() 9
  3. get_theme_file_uri() wp_enqueue_script( 'my-script', get_theme_file_uri( 'js/my-script.js' ) ); ্هͷίʔυ͸ɺࢠςʔϚʹ js/my-script.js ͕ଘࡏ͢Δ৔߹ɺͦͷ

    URL Λऔಘ͠ɺଘࡏ͠ͳ͍৔߹ ͸਌ςʔϚͷ js/my-script.js ͷ URL Λऔಘ͠·͢ɻ͜ΕʹΑΓɺ਌ςʔϚͰಡΈࠐΉϑΝΠϧΛࢠ ςʔϚͰ؆୯ʹ্ॻ͖Ͱ͖ΔΑ͏ʹͳΓ·ͨ͠ɻ΋ͪΖΜɺࢠςʔϚ͕࢖ΘΕ͍ͯͳ͍৔߹͸਌ςʔ Ϛͷ URL Λऔಘ͠·͢ɻ