{"id":1153,"date":"2016-06-21T23:22:58","date_gmt":"2016-06-22T03:22:58","guid":{"rendered":"https:\/\/2016.montreal.wordcamp.org\/?post_type=wcb_session&#038;p=1153"},"modified":"2016-07-07T17:45:57","modified_gmt":"2016-07-07T21:45:57","slug":"getting-started-with-child-themes","status":"publish","type":"wcb_session","link":"https:\/\/montreal.wordcamp.org\/2016-fr\/session\/getting-started-with-child-themes\/","title":{"rendered":"Getting Started with Child Themes"},"content":{"rendered":"<p>In this presentation, presented in English (avec des sous-titres fran\u00e7ais au bas de l&rsquo;\u00e9cran) I will explain what child themes are and why they should be used. I will then show how to create a child theme using both a plugin as well as manually creating a new directory and putting in a custom style.css and functions.php file. I will then show how changes to a child theme\u2019s CSS overrides the parent theme\u2019s styles when they apply to the same target element, whereas items added to functions.php run in addition to everything in the parent theme\u2019s functions.php. I will also show how to use Inspect Element in a browser to find what style is currently assigned to an element. Throughout the slides, a single child theme of Twenty Sixteen will be created, resulting in a completely custom child theme that is well documented with explanations written in comments about what the code is doing and what line in the parent theme\u2019s style.css it is overriding for reference.<\/p>\n<h3>Prerequisites<\/h3>\n<p>This is for beginners. Some understanding of CSS is helpful but not required.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this presentation, presented in English (avec des sous-titres fran\u00e7ais au bas de l&rsquo;\u00e9cran) I will explain what child themes are and why they should be used. I will then show how to create a child theme using both a plugin as well as manually creating a new directory and putting in a custom style.css &hellip; <a href=\"https:\/\/montreal.wordcamp.org\/2016-fr\/session\/getting-started-with-child-themes\/\" class=\"more-link\">Continuer la lecture de<span class=\"screen-reader-text\"> &laquo;Getting Started with Child Themes&raquo;<\/span><\/a><\/p>\n","protected":false},"author":13307884,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1469296800,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[1121],"footnotes":""},"session_track":[6851,863664],"session_category":[],"class_list":["post-1153","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-code","wcb_track-mb-2-270-second-floor"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7owQe-iB","session_date_time":{"date":"juillet 23, 2016","time":"14:00"},"session_speakers":[{"id":"1121","slug":"nick-adams","name":"Nick Adams","link":"https:\/\/montreal.wordcamp.org\/2016-fr\/speaker\/nick-adams\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/montreal.wordcamp.org\/2016-fr\/wp-json\/wp\/v2\/sessions\/1153","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/montreal.wordcamp.org\/2016-fr\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/montreal.wordcamp.org\/2016-fr\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":1,"href":"https:\/\/montreal.wordcamp.org\/2016-fr\/wp-json\/wp\/v2\/sessions\/1153\/revisions"}],"predecessor-version":[{"id":1521,"href":"https:\/\/montreal.wordcamp.org\/2016-fr\/wp-json\/wp\/v2\/sessions\/1153\/revisions\/1521"}],"speakers":[{"embeddable":true,"href":"https:\/\/montreal.wordcamp.org\/2016-fr\/wp-json\/wp\/v2\/speakers\/1121"}],"author":[{"embeddable":true,"href":"https:\/\/montreal.wordcamp.org\/2016-fr\/wp-json\/wporg\/v1\/users\/nickadamstv"}],"wp:attachment":[{"href":"https:\/\/montreal.wordcamp.org\/2016-fr\/wp-json\/wp\/v2\/media?parent=1153"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/montreal.wordcamp.org\/2016-fr\/wp-json\/wp\/v2\/session_track?post=1153"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/montreal.wordcamp.org\/2016-fr\/wp-json\/wp\/v2\/session_category?post=1153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}