Quantcast
Channel: help – WordPress.org Forums
Viewing all articles
Browse latest Browse all 13924

stephencottontail on "Need help creating child theme for Arcade Basic"

$
0
0

The changes I had made in the theme's customizer did not appear though, I had to go in there and redo those. I am assuming that is because I did not create a customizer.php file in the child theme??

No, it's because any changes made in the Customizer only apply to that particular theme, and since WordPress considers a child theme to be a separate theme from the parent theme, the customizations won't apply to it. This is the same reason why you'll likely have to reassign any navigation menus and sidebar widgets when you switch to a child theme.

If I understand correctly, all changes I will be making to these files I will be entered into the child theme's function.php file, correct? But before I do that, I need to create files in the child theme for each of the files I am editing and on top of that, in the functions.php file I need to enqueue them, correct?

No, you only need to enqueue stylesheets in functions.php. So you will need to enqueue editor-style.css by using add_editor_style(), but if you want to make changes to the PHP files, you simply need to copy them into your child theme's folder and edit that copy. WordPress will use the PHP files in your child theme first and use the parent theme's PHP files only as a last resort.

I would also like to create files for individual page changes as well so I can make changes to any particular page instead of site wide. How would I go about doing that?

You could make separate page templates, or you could use some custom CSS, depending on what you're trying to do. If you need more help with that, it's best to make a separate topic and post a link to your site, as well.


Viewing all articles
Browse latest Browse all 13924

Trending Articles