Slide 1

Slide 1 text

4UBSUFS$POUFOUͰ 8PSE1SFTTߏஙΛޮ཰Խ 8PSE#FODIژ౎

Slide 2

Slide 2 text

w 8 P S E # F O D I ژ ౎ Ϟ σ Ϩ ʔ λ w 8 P S E 1 S F T T ೔ ຊ ޠ ϑ Υ ʔ ϥϜ ੈ ࿩ ໾ w 8 P S E $ B N Q ,Z P U P ࣮ ߦ ҕ һ ௕ )JEFUBLB0LBNPUP %JHJUBMDVCF%FWFMPQFS

Slide 3

Slide 3 text

ɾελʔλʔίϯςϯπͱ͸ʁ ɾελʔλʔίϯςϯπͷ࢖͍ํ ɾίʔυαϯϓϧͷ঺հ ࠓ೔ͷྲྀΕ

Slide 4

Slide 4 text

ελʔλʔίϯςϯπͱ͸

Slide 5

Slide 5 text

5XFOUZ4FWFOUFFO 81σϑΥϧτςʔϚ IUUQTXPSEQSFTTPSHUIFNFTUXFOUZTFWFOUFFO

Slide 6

Slide 6 text

8PSE1SFTT্ཱͪ͛௚ޙͷঢ়ଶ ϒϩάهࣄҰཡ͕දࣔ͞ΕͨʮσϑΥϧτঢ়ଶʯ

Slide 7

Slide 7 text

؅ཧը໘͔ΒΧελϚΠζը໘Λ։͘ ϓϨϏϡʔͷαΠτද͕͖ࣔͬ͞ͱҟͳ͍ͬͯΔ

Slide 8

Slide 8 text

ͦͷ··อଘ͢Δͱ ϓϨϏϡʔը໘ͰݟͨαΠτߏ੒ʹ੾ΓସΘ͍ͬͯΔ

Slide 9

Slide 9 text

͜Ε͕ ελʔλʔίϯςϯπ

Slide 10

Slide 10 text

ݻఆϖʔδ΍ ϝχϡʔ ΢ΟδΣοτ΋ ࣗಈੜ੒

Slide 11

Slide 11 text

w ྑͦ͞͏ͳςʔϚΛ୳ͯ͠Πϯετʔϧ w εΫϦʔϯγϣοτͱॳظද͕ࣔҧ͏ w εΫϦʔϯγϣοτͷදࣔʹؤு͚ͬͯۙͮΔ w ʮࢥͬͯͨͷͱҧ͏͔Βଞͷʹͯ͠ʯ w ςʔϚΛม͑Δ w ʮ͖ͬ͞ͷςʔϚͱઃఆํ๏ҧ͏Μ͚ͩͲʯ ͜Ε·Ͱͷ8PSE1SFTTαΠτ੍࡞

Slide 12

Slide 12 text

l z ΊΜͲ͍͔͘͞Β ࣗ෼Ͱ࡞ͬͪΌ͑

Slide 13

Slide 13 text

w ʮ8PSE1SFTTߋ৽ͨ͠ΒյΕ·ͨ͠ʯ w ʮϓϥάΠϯ௥Ճͨ͠ͷʹදࣔมΘΜͳ͍ʯ w ʮͳΜ͔όάͬͯ·͢ʯ w ʮͦΖͦΖσβΠϯม͍͑ͨ͠ɺอक಺ͰϤϩʯ ࣗ෼Ͱ࡞ͬͨ݁Ռ

Slide 14

Slide 14 text

ΊΜͲ͍͘͞ ͭΒ͍

Slide 15

Slide 15 text

l z ͏ͪอक΍Μͳ͍͔Β େৎ෉ͬ͢

Slide 16

Slide 16 text

΢ΣϒαΠτʹΑΔ঎඼ͷड஫γεςϜΛར༻ͨ͠ސ٬ ͷΫϨδοτΧʔυ৘ใ͕ྲྀग़ͨ͠ ࣄނʹ͖ͭɺγεςϜͷઃܭɺ੡࡞ɺอक౳ͷडୗۀऀ ͷ࠴຿ෆཤߦʹجͮ͘ँࡑɾ໰߹ͤ ౳ͷސ٬ରԠඅ༻ɺച্ଛࣦ౳ͷଛ֐ഛঈ੹೚͕ߠఆ͞ Εͨࣄྫ ౦ژ஍ํࡋ൑ॴ൑ܾʗฏ੒̎̏೥ʢϫʣୈ̏̎̌̒̌߸ ฏ੒̎̒೥݄̍̎̏೔ http://www.softic.or.jp/semi/2014/5_141113/op.pdf

Slide 17

Slide 17 text

ೲ඼෺ʹ ط஌ͷ੬ऑੑ͕͋Δͱ ੹೚໰୊ʹͳΓ͏Δ

Slide 18

Slide 18 text

https://www.ipa.go.jp/security/ciadr/vul/20140619-oldcms.html

Slide 19

Slide 19 text

https://getshifter.io/

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

8PSE1SFTTͷ ॳظηοτΞοϓ͸ ͘͢͝େมͩͬͨ

Slide 22

Slide 22 text

l z The part of NUX(new user experience.) that I would like to start tackling in 4.7 is initial site setup https://helen.wordpress.com/2016/07/13/theme-disconnect-and-discontent/

Slide 23

Slide 23 text

5XFOUZ4FWFOUFFO 81σϑΥϧτςʔϚ IUUQTXPSEQSFTTPSHUIFNFTUXFOUZTFWFOUFFO

Slide 24

Slide 24 text

w ྑͦ͞͏ͳςʔϚΛ୳ͯ͠Πϯετʔϧ w εΫϦʔϯγϣοτͷ಺༰͕ϓϨϏϡʔͰ͖Δ w ʮࢥͬͯͨͷͱҧ͏͔Βଞͷʹͯ͠ʯ w ςʔϚΛม͑Δ w εΫϦʔϯγϣοτͷ಺༰͕ϓϨϏϡʔͰ͖Δ w ؾܰʹςʔϚΛࢼͤΔ ελʔλʔίϯςϯπͷ͋Δ8PSE1SFTT

Slide 25

Slide 25 text

ελʔλʔίϯςϯπ ͷ ࢖͍ํ

Slide 26

Slide 26 text

؅ཧը໘͔ΒΧελϚΠζը໘Λ։͚ͩ͘ ελʔλʔίϯςϯπ͕͋Δ৔߹͸ɺϓϨϏϡʔը໘ͷද͕ࣔσϑΥϧτ͡Όͳ͘ͳΔ

Slide 27

Slide 27 text

5JQTελʔλʔίϯςϯπ͸ॳظঢ়ଶͷΈ $ wp option update fresh_site true or w XQ@PQUJPOͷAGSFTI@TJUFAͰ൑ఆ͍ͯ͠Δɻ w Ұ౓αΠτΛฤू͢Δͱར༻Ͱ͖ͳ͍ɻ w ΋͏Ұ౓ར༻͢ΔͨΊʹ͸GSFTI@TJUFΛมߋ͢Δ

Slide 28

Slide 28 text

ελʔλʔίϯςϯπ͸ ίΞʹఆٛ͞Ε͍ͯΔͷͰɺ ͲͷςʔϚͰ΋ར༻Մೳ

Slide 29

Slide 29 text

ίΞʹఆٛ͞Ε͍ͯΔ IUUQTDPSFUSBDXPSEQSFTTPSHCSPXTFSUSVOLTSDXQJODMVEFT UIFNFQIQ- $core_content = array( 'widgets' => array( 'text_about' => array( 'text', array( 'title' => _x( 'About This Site', 'Theme starter content' ), 'text' => _x( 'This may be a good place .’ ), ) ),

Slide 30

Slide 30 text

5XFOUZ4JYUFFOʹελʔλʔίϯςϯπΛద༻ ΧελϚΠζը໘ͰςʔϚΛ੾Γସ͑ͳ͍ͱɺXQPQUJPO͕ߋ৽͞Εͯදࣔ͞Εͳ͍

Slide 31

Slide 31 text

ࠓͷͱ͜Ζɺ ελʔλʔίϯςϯπ ରԠςʔϚ Λௐ΂Δํ๏͸ͳ͍

Slide 32

Slide 32 text

ελʔλʔίϯςϯπ ͷ ίʔυͷ࿩

Slide 33

Slide 33 text

஫ҙ εϥΠυͷؔ܎্ɺ εϥΠυ্ͷαϯϓϧίʔυ͸ ෆ׬શͰ͢ɻ

Slide 34

Slide 34 text

http://bit.ly/2l488BF

Slide 35

Slide 35 text

جຊతͳॻ͖ํ BEE@UIFNF@TVQQPSU bTUBSUFSDPOUFOU` ࿈૝഑ྻ add_theme_support( 'starter-content', [ 'posts' => [], 'attachments' => [], 'options' => [], 'nav_menus' => [], 'widgets' => [] ] );

Slide 36

Slide 36 text

ݻఆϖʔδΛ௥Ճ͢Δ IPNFBCPVUDPOUBDUCMPHͷݻఆϖʔδ͕ ͦΕͧΕଘࡏ͠ͳ͍৔߹ʹࣗಈͰੜ੒͢Δɻ add_theme_support( 'starter-content', [ 'posts' => [ 'home', 'about', 'contact', 'blog', ], ]);

Slide 37

Slide 37 text

هࣄ಺༰Λৄࡉʹఆٛ͢Δ QPTUTͷத਎Λ࿈૝഑ྻʹ͢Δͱɺهࣄ಺༰ΛઃఆͰ͖Δ add_theme_support( 'starter-content', [ 'posts' => [ ‘custom_post' => [ 'post_type' => 'post', 'post_title' => 'Hello, Dolly', 'post_name' => 'example-blog-post', 'post_content' => "Hello, Dolly", 'comment_status' => 'closed', ]

Slide 38

Slide 38 text

ϑΝΠϧΛΞοϓϩʔυ͢Δ BUUBDIFNFOUTͷ഑ྻΩʔΛ\\,&:^^ͷΑ͏ʹ͢Δ͜ͱͰɺ UIVNCOBJMΛઃఆͰ͖Δɻ add_theme_support( 'starter-content', array( 'attachments' => array( 'featured-image-logo' => array( 'post_title' => 'Featured Logo', 'file' => 'assets/images/featured-logo.jpg', ), ), 'posts' => array( 'about' => array( 'thumbnail' => '{{featured-image-logo}}', ),

Slide 39

Slide 39 text

ϑϩϯτϖʔδΛઃఆ͢Δ lPQUJPOTzʹ\\1045@/".&^^Λ౉ͯ͠ϑϩϯτϖʔδΛઃఆͰ͖Δ add_theme_support( 'starter-content', [ 'options' => [ 'show_on_front' => 'page', 'page_on_front' => '{{home}}', 'page_for_posts' => '{{blog}}', ], 'posts' => [ 'home', 'blog' ],

Slide 40

Slide 40 text

ϝχϡʔΛઃఆ͢Δ lOBW@NFOVTzͰϝχϡʔΛఆٛͰ͖Δ zQBHF@1"(&/".&zΛࢦఆ͢ΔͱɺݻఆϖʔδʹϦϯΫͰ͖Δ add_theme_support( 'starter-content', [ 'nav_menus' => [ 'sample_navigation' => [ 'name' => __('Sample Navigation', 'id'), 'items' => [ 'home_link', 'page_about',

Slide 41

Slide 41 text

ϝχϡʔΛઃఆ͢Δ̎ ࿈૝഑ྻͰUJUMFΛઃఆՄೳɻ 63-ʹ͢Δͱ֎෦αΠτΛࢦఆͰ͖Δ 'items' => [ 'custome_page' => [ 'title' => 'Contact Page', 'url' => 'page_contact', ], 'custome_link' => [ 'title' => 'Sample', 'url' => 'http://google.com', ], ],

Slide 42

Slide 42 text

΢ΟδΣοτΛઃఆ͢Δ lXJEHFUTzʹz΢ΟδΣοτ*%zΛΩʔͱͨ͠࿈૝഑ྻͰ ΢ΟδΣοτΛઃఆͰ͖Δ add_theme_support( 'starter-content', [ 'widgets' => [ 'home-content-top-widget-area' => [ 'search', 'archives', ], ], ] );

Slide 43

Slide 43 text

΢ΟδΣοτΛઃఆ͢Δͦͷ̎ ΢ΟδΣοτͷୈҰҾ਺͸΢ΟδΣοτλΠϓ ୈೋҾ਺ʹ΢ΟδΣοτ಺༰ΛఆٛͰ͖Δ 'text_custom' => [ 'text', [ 'title' => 'Pre-hydrated text widget.', 'text' => 'Sample' ] ], 'meta_custom' => [ 'meta', [ 'title' => 'Pre-hydrated meta widget.',

Slide 44

Slide 44 text

جຊతʹ͸ɺ ࡞੒ͨ͠ςʔϚͷ GVODUJPOTQIQʹॻ͘

Slide 45

Slide 45 text

ϓϥάΠϯ͔Βελʔλʔίϯςϯπ add_action('after_setup_theme', function () { add_theme_support( 'starter-content', [ BGUFS@TFUVQ@UIFNFͷϑοΫΛར༻͢Δɻ ϓϥάΠϯ༗ޮԽ࣌ʹ VQEBUF@PQUJPO bGSFTI@TJUF ͨ͠΄͏͕͍͍͔΋

Slide 46

Slide 46 text

ϓϥάΠϯ͕࡞Δ΢ΟδΣοτΛ࢖͏ BEE@pMUFS bHFU@UIFNF@TUBSUFS@DPOUFOU ͷϑΟϧλʔΛ࢖͏ function myprefix_starter_content_add_widget( $content, $config ) { if ( isset( $content['widgets']['home-content-top-widget-area'] ) ) { $content['widgets']['front-side-top-widget-area']['b_custom_widget'] = array( 'wp_widget_vkexunit_profile', array( 'label' => 'Sample profile widget', 'facebook' => 'http://facebook.com', 'profile' => 'profile content' ), ); } return $content; } add_filter( 'get_theme_starter_content', 'myprefix_starter_content_add_widget', 10, 2 );

Slide 47

Slide 47 text

w ελʔλʔίϯςϯπͰॳظίϯςϯπΛఆٛ w Α͘ॻ͘ίϯςϯπ΍ઃఆΛίʔυԽͰ͖Δ w ࣗ෼༻ελʔλʔίϯςϯπ͕͋Δͱศར͔΋ w ελʔλʔίϯςϯπʹ߹ΘͤͨςʔϚʹظ଴ ·ͱΊ