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
81
WordPress for Future
krafit
1
470
AMP - Like Dynamite
krafit
0
290
Das Pluginkollektiv liebt dich (2018)
krafit
0
250
Der WP Block-Editor
krafit
0
220
Das Pluginkollektiv liebt dich ❤️
krafit
0
340
These go to elven – Einstieg: WordPress-Perofmance
krafit
0
23
WordPress einrichten
krafit
0
59
Other Decks in Programming
See All in Programming
Synchronizationを支える技術
s_shimotori
1
140
RailsのPull requestsのレビューの時に私が考えていること
yahonda
4
1.5k
Jakarta Concurrencyによる並行処理プログラミングの始め方 (JJUG CCC 2024 Fall)
tnagao7
0
200
とにかくAWS GameDay!AWSは世界の共通言語!.pdf / Anyway, AWS GameDay! AWS is the world's lingua franca!
seike460
PRO
0
180
今日で分かる!カスタムコップの作り方
krpk1900
2
360
From Subtype Polymorphism To Typeclass-based Ad hoc Polymorphism- An Example
philipschwarz
PRO
0
110
Go言語でターミナルフレンドリーなAIコマンド、afaを作った/fukuokago20_afa
monochromegane
2
140
現場で役立つモデリング 超入門
masuda220
PRO
12
2.6k
2万ページのSSG運用における工夫と注意点 / Vue Fes Japan 2024
chinen
3
1.3k
Workflow automationによるインシデント原因調査の自動化
showwin
1
120
Vue3の一歩踏み込んだパフォーマンスチューニング2024
hal_spidernight
3
2.9k
テスト駆動開発✅️
akitoshiga
1
210
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
38
7k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
3
360
Docker and Python
trallard
40
3k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
228
52k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.1k
For a Future-Friendly Web
brad_frost
174
9.4k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
YesSQL, Process and Tooling at Scale
rocio
167
14k
The Language of Interfaces
destraynor
154
24k
GitHub's CSS Performance
jonrohan
1030
460k
Unsuck your backbone
ammeep
668
57k
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