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
700
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
34
WordPress Multisite
krafit
0
66
WordPress for Future
krafit
1
380
AMP - Like Dynamite
krafit
0
270
Das Pluginkollektiv liebt dich (2018)
krafit
0
190
Der WP Block-Editor
krafit
0
170
Das Pluginkollektiv liebt dich ❤️
krafit
0
280
These go to elven – Einstieg: WordPress-Perofmance
krafit
0
23
WordPress einrichten
krafit
0
51
Other Decks in Programming
See All in Programming
Scalable Customer Journey Orchestration (CJO)
lewuathe
0
150
データアナリストが行うDatabricksを活用したETLの自動化事例
shinoa
0
260
PostmanでAPIの動作確認が楽になった話
h455h1
0
170
Changed Rules: Architectures with Lightweight Stores
manfredsteyer
PRO
0
240
はてなにおける CSS Modules、及び CSS Modules に足りないもの / CSS Modules in Hatena, and CSS Modules missing parts
mizdra
7
920
Anthropic Cookbook のおすすめレシピ
schroneko
7
910
二郎系ラーメンのコールで学ぶ AST 解析
memory1994
PRO
7
1.7k
DMMプラットフォームがTiDB Cloudを採用した背景
pospome
8
4k
Hanami and htmx
bkuhlmann
0
210
Elm 0.19.0 Changes
bkuhlmann
0
490
新宿ダンジョンを可視化してみた
satoshi7190
2
240
try! Swift Tokyo 2024 参加報告 / try! Swift Tokyo 2024 Report
hironytic
0
200
Featured
See All Featured
Being A Developer After 40
akosma
57
580k
Agile that works and the tools we love
rasmusluckow
325
20k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
Making the Leap to Tech Lead
cromwellryan
124
8.5k
GraphQLとの向き合い方2022年版
quramy
32
12k
Build The Right Thing And Hit Your Dates
maggiecrowley
24
2k
Building Your Own Lightsaber
phodgson
99
5.7k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
125
32k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
2
3.4k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
21
1.6k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
30
6k
VelocityConf: Rendering Performance Case Studies
addyosmani
320
23k
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