![]() ![]() Suppose you want to make some changes or add some extra code to the Header. You can make further changes by adjusting template files. *Theme Name: Zakra Child ThemeTheme URI: : Child Theme for ZakraAuthor: ThemeGrillAuthor URI: : zakraVersion: 1.0*//* =Theme customization starts here- */#site-title a ![]() These CSS lines will overwrite the parent theme CSS. Now, you can add your custom code to the Child theme.įor example: If you want to modify the theme’s CSS, you can add CSS at the end of the style.css file and save it. However, you may need to reset some of the settings in the Customizer. If you now visit your site, it should look the same, just like when the parent theme was activated. Make sure the Parent theme is also present in the installed themes for the Child theme to work From the WordPress Dashboard, go to Appearance > Themes and look for the child theme you created. In creating a child theme, style.css is mandatory while template files and other files are optional and can be created if required. *Theme Name: Zakra Child ThemeTheme URI: : Child Theme for ZakraAuthor: ThemeGrillAuthor URI: : zakraVersion: 1.0*/Ĭreate a file called functions.php and add the code below: Inside the zakra-child folder, create a file called style.css and fill in the information as shown below. The themes directory is wp-content/themes. Now click on Upload Theme.Ĭlick on browse and navigate to the downloaded zakra-child zip file and click on Install Now.Ĭreating Zakra Child Theme (Manual Method)Ĭreate a new folder in your themes directory. Navigate to Appearance > Themes and then go to Add New. Once you find it, remember the location and continue to the next step. Download here: Get Child Theme For ZakraĪfter the download is finished, look for the zakra-child zip file on your computer, which will likely be in your Downloads folder. You can directly download the starter Zakra Child theme zip file. If you want to know more about Child themes then refer to this blog post here: Tutorial on Creating WordPress Child ThemeĬreating a Zakra Child Theme (Shortcut Method) Rather than modifying theme files directly, you can simply override them with the templates in the Child theme. This is why Child themes are the best way to make changes to an existing theme. When the parent theme gets updated, the changes made in the Child theme are preserved and applied to the updated version as well. If you want to add your own code to the theme, then the best way is to use a Child Theme.Ĭhild themes are a safe way to modify WordPress themes where you don't make any changes to the parent theme’s files. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |