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

たったひとつのウィジェットのつくりかた - WordPress, How to create ...

たったひとつのウィジェットのつくりかた - WordPress, How to create a Single Widget.

2017年12月17日(日) WordBench 東京 12月勉強会 年末LT忘年会@ハートビーツ LT発表資料

Akira Tachibana

December 17, 2017
Tweet

More Decks by Akira Tachibana

Other Decks in Technology

Transcript

  1.  ͦΕͬΆ͍ͷൃݟ XQJODMVEFTDMBTTXQXJEHFUQIQ %FD7FS 8PSE#FODI5PLZP%FDFNCFS!)&"35#&"54 QVCMJDGVODUJPOHFU@TFUUJOHT \ TFUUJOHTHFU@PQUJPO UIJTPQUJPO@OBNF 

     JG FNQUZ TFUUJOHT JTTFU TFUUJOHT<@NVMUJXJEHFU>  \ 0MEGPSNBU DPOWFSUJGTJOHMFXJEHFU TFUUJOHTXQ@DPOWFSU@XJEHFU@TFUUJOHT  UIJTJE@CBTF UIJTPQUJPO@OBNF  TFUUJOHT  ^ VOTFU TFUUJOHT<@NVMUJXJEHFU> TFUUJOHT<@@J@@>  SFUVSOTFUUJOHT ^
  2. +BWB4DSJQU ΛΤϯΩϡʔ ◦ +BWB4DSJQUͷొ࿥ %FD7FS 8PSE#FODI5PLZP%FDFNCFS!)&"35#&"54  DMBTT4JOHMF@*OTUBODF@8JEHFU FYUFOET81@8JEHFU \

    GVODUJPO@@DPOTUSVDU \  JG JT@BENJO  \ XQ@FORVFVF@TDSJQU TJOHMFJOTUBODFXJEHFUKT` QMVHJOT@VSM TJOHMFJOTUBODFXJEHFUKT @@'*-&@@ BSSBZ GBMTF  USVF  ^
  3. "KBY ׬ྃޙ %0.Λ୳ͬͯ TIPX IJEF ◦ +BWB4DSJQUͷొ࿥ %FD7FS 8PSE#FODI5PLZP%FDFNCFS!)&"35#&"54 

    K2VFSZ EPDVNFOU BKBY$PNQMFUF GVODUJPO FWFOU  \  JG SFRVFTUBDUJPO  SFRVFTUBDUJPO TBWFXJEHFU  \ WBS BDUJWF@XJEHFUT K2VFSZ X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