Similarly, when you update a plugin, the update will overwrite any edits you’ve made. If you update a modified theme, the update will overwrite all customizations. *Exception: starter themes that have been intentionally created by theme builders for you to modify. The #1 Rule of WordPress development is to never directly modify WordPress files. When the Parent Theme is updated, your changes in the Classic Child Theme will be preserved. How do you prevent this from happening? By using a Classic Child Theme! A Classic Child Theme is a theme that overrides and adds elements to another theme (the “Parent” theme) without touching any of the Parent Theme’s code. Many designers have learned this lesson the hard way. After the next theme update, they are horrified to discover that the update completely erased all of their modifications. After a little investigation, they discover where the theme files live, then directly edit the files. One of the first things front-end designers want to do is modify the design of an existing WordPress theme. Welcome to Classic Child Themes! Today, you are going to learn how to make a Classic Child Theme for WordPress. Lesson Outline Introduction: What is a Child Theme The preferred answers to the screening questions is “yes.” Participants who reply “no” to all 4 questions may not be ready for this lesson.For more information on how to install WordPress locally, please visit our Teacher Resources page. Set some time aside before class to assist students with installing WordPress locally if they need it. It is easiest for students to work on a locally installed copy of WordPress.Performing a live demo while teaching the steps to make a classic child theme is crucial to having the material “click” for students.Will you have a locally or remotely hosted sandbox WordPress site to use during class?.Do you feel comfortable using a text editor to edit code?.Do you have at least a basic knowledge of HTML/CSS?.Are you familiar with installing and activating themes via the WordPress Dashboard?.Ability to edit files with a text editor. Understanding of how folders and files are structured.Basic knowledge of installing and activating WordPress themes. You will be better equipped to work through this lesson if you have experience in and familiarity with:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |