
The page are affiliate-links.Sumner - oh look an overly aggressive it’s working for me thus there cannot possible be a problem for any one response. Upload the 3 files we have created into the child theme folder on the server (your hosting). Any image will do, just get the sizes right.

We just need an image of the theme 240px wide and 180px high. This is of course the easiest part of it all.

Now save the file as a php-file with name functions.php as shown below. When encountering any problems, check Wordpress' own advise on this topic. Replace "brooklyn" with the name of your own theme. Wp_enqueue_style( 'child-style', get_stylesheet_uri(),Īrray( 'brooklyn-style' ), wp_get_theme()->get('Version') ) Īdd_action( 'wp_enqueue_scripts', 'brooklyn_styles') * enqueue scripts and style from parent theme */ Create a new file with a text editor on your PC and paste this code in it. Now save this file as a Cascading Style Sheet with name style.css as in the image below. My favorite text editor would be Notepad++ Just open a text editor on your PC and click "file" > "new". A stylesheet, a thumbnail image of the theme, and a PHP-file. CREATING THE FILES FOR THE CHILD THEMEĪ child theme has only 3 files in its folder. In the example below the themes is called "brooklyn" and the child theme is called "brooklyn-child".Īs in the example above we are going to create a folder with your themes' name with -child behind it. Themes are located at public_html > wp-content > themes.

Login to your hosting (Cpanel or FTP) and visit the location of your theme. To create a child theme we start making its folder. Instead of the files in your theme, changes will be made to the corresponding files in the child theme folder. Why use a child theme? The files in a child theme will be used for customizations which will not be overwritten when you upgrade your theme files. Home - create Child Theme WP Create a Child Theme for Wordpress 💥
