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
750
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
460
AMP - Like Dynamite
krafit
0
290
Das Pluginkollektiv liebt dich (2018)
krafit
0
250
Der WP Block-Editor
krafit
0
210
Das Pluginkollektiv liebt dich ❤️
krafit
0
330
These go to elven – Einstieg: WordPress-Perofmance
krafit
0
23
WordPress einrichten
krafit
0
58
Other Decks in Programming
See All in Programming
.NET Aspireのクラウド対応検証: Azureと他環境での実践
ymd65536
1
400
クラウドサービスの 利用コストを削減する技術 - 円安の真南風を感じて -
pyama86
3
370
CSC509 Lecture 02
javiergs
PRO
0
160
複数プロダクトの技術改善・クラウド移行に向き合うチームのフレキシブルなペア・モブプログラミングの実践 / Flexible Pair Programming And Mob Programming
honyanya
0
190
[PHPカンファレンス沖縄2024]「無理なくできるだけ安全に」テストもないレガシーコードをリファクタリングするテクニック
ikezoemakoto
3
120
Pythonによるイベントソーシングへの挑戦と現状に対する考察 / Challenging Event Sourcing with Python and Reflections on the Current State
nrslib
3
1.2k
ROS 2のZenoh対応とZenohのROS 2対応
takasehideki
2
290
色んなオートローダーを覗き見る #phpcon_okinawa
o0h
PRO
5
380
コードレビューと私の過去と未来
jxmtst
0
240
ポケモンで考えるコミュニケーション / Communication Lessons from Pokémon
mackey0225
4
170
Subclassing, Composition, Python, and You
hynek
3
120
DevFest Android in Korea 2024 - 안드로이드의 문단속 : 앱을 지키는 암호화 이야기
mdb1217
1
140
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
324
23k
Automating Front-end Workflow
addyosmani
1365
200k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
355
29k
What the flash - Photography Introduction
edds
67
11k
Creatively Recalculating Your Daily Design Routine
revolveconf
217
12k
Faster Mobile Websites
deanohume
304
30k
Optimising Largest Contentful Paint
csswizardry
31
2.8k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
3
220
In The Pink: A Labor of Love
frogandcode
139
22k
GitHub's CSS Performance
jonrohan
1030
450k
Imperfection Machines: The Place of Print at Facebook
scottboms
264
13k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9k
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