Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
定例WordPress講座 カスタマイズ編
Search
Koji Kuno
June 09, 2018
Programming
900
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
定例WordPress講座 カスタマイズ編
Koji Kuno
June 09, 2018
More Decks by Koji Kuno
See All by Koji Kuno
unitoneが楽しくなるまでの道のり
oleindesign
0
130
WordPress 6.5 の新機能紹介
oleindesign
0
170
How to deal with WordPress themes in the future
oleindesign
0
1.8k
WordPress(再)入門 - 運用・学習編
oleindesign
0
270
WordPress(再)入門 - カスタマイズ編
oleindesign
0
290
WordPress(再)入門 - コンテンツ作成方法編
oleindesign
0
250
WordPress(再)入門 - テーマ・プラグイン編 / introduction-to-wordpress-again-theme-plugin
oleindesign
0
260
WordPress(再)入門 - 基本設定編 / introduction-to-wordpress-again-basic-settings
oleindesign
0
550
WordPress(再)入門 - 基礎知識・環境編
oleindesign
2
1.1k
Other Decks in Programming
See All in Programming
すこし踏み込む CancellationToken
htkym
2
1.7k
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
610
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
170
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
240
Workers Cache を知る
syumai
0
370
Simple Storage Service(S3) is not simple
iwatsukayura
0
290
RAG の “R” を Swift で覗いてみる 〜「意味から探す」検索の仕組み〜
nao_randd
0
160
最近”作らせてる” ローカルAIアプリの話
akit37
0
470
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
5
5.2k
Agents on Rails - Rails at Scale 2026
irinanazarova
0
560
残高管理から台帳サービスへの進化
artoy
1
200
FactoryBotをやめればRSpecは速くなるのか?
yuta_onishi_97
0
600
Featured
See All Featured
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
270
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
480
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
450
Designing for Performance
lara
612
70k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
570
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
300
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
710
Transcript
ఆྫ8PSE1SFTTߨ࠲ ʙΧελϚΠζฤʙ
8PSE1SFTTͷओͳ͍ํ w 8PSE1SFTTDPNΛར༻ w 8PSE1SFTTΛαʔόʔʹΠϯετʔϧͯ͠ར༻ w ެࣜσΟϨΫτϦͷςʔϚΛར༻ͯ͠ӡӦ w ϓϥάΠϯΛ׆༻ͨ͠ػೳ֦ு w
ࢠςʔϚΛར༻ͨ͠ΧελϚΠζ w ΦϦδφϧςʔϚΛ࡞ͬͯӡӦ
ϝϦοτʁ w ςʔϚΛมߋ͢ΔͱΞοϓσʔτͰ্ॻ͖͞ΕΔ ˠࢠςʔϚͰͷมߋ࣮֬ʹอ࣋͞ΕΔ w ։ൃ࣌ؒͷॖ ˠςʔϚͷେ෦ΛܧঝͰ͖Δ w 8PSE1SFTTͷ͜ͱΛखܰʹΑ͘ΕΔ ˠςʔϚ։ൃͷࣝΛशಘ͢Δ͖͔͚ͬʹ
Կ͕Ͱ͖Δʁ w $44ʹΑΔ০ͷ্ॻ͖ w ςϯϓϨʔτʢTJOHMFQIQͳͲʣͷ্ॻ͖ w 1)1ʹΑΔػೳՃ
ͦͷ։ൃຊʹඞཁʁ ࣮ݱํ๏ਖ਼͍͠ʁ ϝϯςφϯε·Ͱߟ͑ͯΔʁ ༨ஊ
$44Ͱ্ॻ͖০ w ن֬ೝࡁΈʁ ˠࢠςʔϚΛ࡞Δ͚ͩͰ͔͔ΔΑʁखؒͩΑʁ w ΧελϜ$44ͰͳΜͱ͔ͳΔنͰʁ ˠࢠςʔϚΛ࡞Δ͚ͩͰ͔͔ΔΑʁखؒͩΑʁ
ςϯϓϨʔτ ͲΕ͚ͩॻ͖͑·͔͢ʁ w ςϯϓϨʔτΛͲΕ͘Β͍ॻ͖͑·͔͢ʁ w ΦϦδφϧͰ࡞ͬͨํ͕ྑ͍ϨϕϧͰ͍ͬͯ͡·ͤΜ͔ʁ w ςʔϚͷΞοϓσʔτߟྀͯ͠ॻ͖͑ͯ·͔͢ʁ
࣮ʁϓϥάΠϯར༻ʁ w ͦΕςʔϚʹػೳΛՃ͢Δ͖ʁ w ςʔϚࠓޙมߋ͞ΕΔ͜ͱͳ͍ʁ w ϓϥάΠϯͱͯ͠ύοέʔδʹͯ͠ΈͨΒʁ w ϓϥάΠϯΛར༻͢Δ͜ͱͰ࣮ݱͰ͖ͳ͍ʁ w
ӡ༻։࢝ޙͷϝϯςφϯεͷ͜ͱߟ͑ͯΔʁ
8PSE1SFTTͷߏཁૉ 8PSE1SFTTίΞ ઃఆϑΝΠϧʢXQDPOpHQIQʣ σʔλϕʔε Ξοϓϩʔυσʔλʢը૾ʣ ϓϥάΠϯ ςʔϚ
ςʔϚϓϥάΠϯ ͦΕͧΕͷׂ w ʮςʔϚʯݟͨ෦ w ʮϓϥάΠϯʯػೳ෦ w ͦΕͧΕͷׂΛ৵৯࢝͠ΊΔͱɾɾɾ
Α͘೩͑ΔҊLʜ
༨ஊ͓ΘΓ
ࢠςʔϚͷ࡞Γํ
ࢠςʔϚͰͷΧελϚΠζͰ αʔόʔΞΫηεͰ͖ΔΑ͏ʹ͓͖ͯ͠·͠ΐ͏ɻ
खॱ ςʔϚͷσΟϨΫτϦ໊Λ֬ೝ ࢠςʔϚͷσΟϨΫτϦΛ࡞ ඞཁͳϑΝΠϧΛ࡞ TUZMFDTTͷελΠϧγʔτϔομͰςʔϚΛࢦఆ GVODUJPOTQIQϑΝΠϧͷ࡞
ςʔϚͷσΟϨΫτϦ໊ Λ֬ೝ
twentyfifteen themes wp-content twentyseventeen twentysixteen
ࢠςʔϚͷσΟϨΫτϦΛ ࡞
twentyfifteen themes wp-content twentyseventeen twentyseventeen-child twentysixteen
͜ͷ࣌Ͱཧը໘Ͱʜ
ඞཁͳϑΝΠϧΛ࡞
࠷ݶඞཁͳϑΝΠϧ twentyfifteen-child style.css functions.php
TUZMFDTT 参照:https://wpdocs.osdn.jp/%E5%AD%90%E3%83%86%E3%83%BC%E3%83%9E 5IFNF/BNF5XFOUZ4FWFOUFFO$IJME 5IFNF63*IUUQFYBNQMFDPNUXFOUZTFWFOUFFODIJME %FTDSJQUJPO5XFOUZ4FWFOUFFO$IJME5IFNF "VUIPS,PKJ,VOP "VUIPS63*IUUQPMFJOEFTJHODPN 5FNQMBUFUXFOUZTFWFOUFFO
7FSTJPO -JDFOTF(/6(FOFSBM1VCMJD-JDFOTFWPSMBUFS -JDFOTF63*IUUQXXXHOVPSHMJDFOTFTHQMIUNM 5BHTMJHIU EBSL UXPDPMVNOT SJHIUTJEFCBS SFTQPOTJWFMBZPVU BDDFTTJCJMJUZSFBEZ 5FYU%PNBJOUXFOUZTFWFOUFFODIJME ςʔϚͷσΟϨΫτϦ໊Λ͜͜ʹهड़͢Δ https://gist.github.com/Olein-jp/09191603c84f7cb7128a288c1d64c626
͜ͷ࣌Ͱཧը໘Ͱʜ
None
࣮ࡍʹΣϒαΠτ ΞΫηεͯ͠ΈΔͱʜ
TwentySeventeen TwentySeventeen Child
GVODUJPOTQIQ add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); function theme_enqueue_styles() { wp_enqueue_style( 'parent-style',
get_template_directory_uri() . '/style.css' ); } https://gist.github.com/Olein-jp/37bf98e4dc4f8b2260967e15b106e462
σϞ w $44Ͱͷ০ͷมߋํ๏ w ςϯϓϨʔτͷ্ॻ͖ํ๏
·ͱΊ w ։࢝ஈ֊ͰͷΧελϚΠζਂΛ֬ೝ͢Δ ˠࢠςʔϚͰߦ͏͖͔൱͔ͷஅ w ϝϯςφϯε·ͰΛݟӽͨ͠։ൃํ๏Λબ ˠϓϥάΠϯͱςʔϚͷςϦτϦʔΛ໌֬ʹ w ·ͣͬͯΈΑ͏ ˠςʔϚͷߏςϦτϦʔΛ͚Δඞཁੑ͕ମײͰ͖
Δ͔
͝੩ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠