Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
WordPress Child-Themes
Search
Simon Kraft
October 04, 2017
Programming
0
760
WordPress Child-Themes
Simon Kraft
October 04, 2017
Tweet
Share
More Decks by Simon Kraft
See All by Simon Kraft
Optimale Bildformate im 21. Jahrhundert
krafit
0
37
WordPress Multisite
krafit
0
82
WordPress for Future
krafit
1
470
AMP - Like Dynamite
krafit
0
290
Das Pluginkollektiv liebt dich (2018)
krafit
0
260
Der WP Block-Editor
krafit
0
220
Das Pluginkollektiv liebt dich ❤️
krafit
0
350
These go to elven – Einstieg: WordPress-Perofmance
krafit
0
23
WordPress einrichten
krafit
0
61
Other Decks in Programming
See All in Programming
よくできたテンプレート言語として TypeScript + JSX を利用する試み / Using TypeScript + JSX outside of Web Frontend #TSKaigiKansai
izumin5210
6
1.7k
Quine, Polyglot, 良いコード
qnighy
4
640
Streams APIとTCPフロー制御 / Web Streams API and TCP flow control
tasshi
2
350
Snowflake x dbtで作るセキュアでアジャイルなデータ基盤
tsoshiro
2
520
ペアーズにおけるAmazon Bedrockを⽤いた障害対応⽀援 ⽣成AIツールの導⼊事例 @ 20241115配信AWSウェビナー登壇
fukubaka0825
6
1.9k
リアーキテクチャxDDD 1年間の取り組みと進化
hsawaji
1
220
弊社の「意識チョット低いアーキテクチャ」10選
texmeijin
5
24k
Ethereum_.pdf
nekomatu
0
460
詳細解説! ArrayListの仕組みと実装
yujisoftware
0
580
Generative AI Use Cases JP (略称:GenU)奮闘記
hideg
1
290
Enabling DevOps and Team Topologies Through Architecture: Architecting for Fast Flow
cer
PRO
0
320
CSC509 Lecture 12
javiergs
PRO
0
160
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
269
27k
How STYLIGHT went responsive
nonsquared
95
5.2k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
Why Our Code Smells
bkeepers
PRO
334
57k
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
720
Statistics for Hackers
jakevdp
796
220k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
410
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
Ruby is Unlike a Banana
tanoku
97
11k
Art, The Web, and Tiny UX
lynnandtonic
297
20k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
840
Transcript
CHILD-THEMES WORDPRESS THEMES RICHTIG ANPASSEN 1
TWENTY SIXTEEN 1 1 Screenshots von "Customizing Twenty Sixteen: Four
Takes on Our Annual Theme" 2
TWENTY SIXTEEN 1 1 Screenshots von "Customizing Twenty Sixteen: Four
Takes on Our Annual Theme" 3
TWENTY SIXTEEN 1 1 Screenshots von "Customizing Twenty Sixteen: Four
Takes on Our Annual Theme" 4
EIN THEME PASST NIE ZU 100% 5
HELP! 6
CHILD-THEMES ! ! ! 7
WIR BACKEN UNS EIN CHILD-THEME ! ▸ Neues Verzeichnis in
wp-content/themes darin: ▸ Neue style.css Datei ▸ Neue functions.php Datei ▸ Fertig (fast) 8
DEMO 9
DAS EINGEMACHTETM für unsere style.css: /** * Theme Name: Adenauer
* Description: WP Meetup Bonn Child-Theme. * Author: Simon Kraft * Template: twentyseventeen * Version: 0.1 **/ 10
DAS EINGEMACHTETM für unsere functions.php: function adenauer_styles() { wp_enqueue_style( 'parent-style',
get_template_directory_uri() . '/style.css', 1 ); } add_action( 'wp_enqueue_scripts', 'adenauer_styles' ); 11
DEMO 12
THEME-MECHANIK ! 13
CHILD-THEMES KÖNNEN ALLE FAST ALLE DATEIEN DES PARENT-THEMES ÜBERSCHREIBEN 14
AUSNAHMEN style.css (wird von uns schon nachgeladen) functions.php (wird vom
Child-Theme ergänzt) 15
DEMO 16
DAS CHILD-THEME DILEMMA 17
SIMON KRAFT @KRAFIT 18
FOLIEN WPFRA.DE/39-FOLIEN childthemes.de 19