Child theme

When and how to use a WordPress child theme? What actually is a child theme?

When and how to use a child theme?

If you need to make any styling or functional changes to the theme, please use the WordPress native child theme functionality. This way you can continue updating the parent (original) theme without any worry of your changes being overwritten as all your custom styles and functionality are kept in a separate child theme. You can read more about child themes on WordPress Codex pages.

You can put all your custom CSS styles into YOUR_CHILD_THEME/style.css file. (You can alternatively use Appearance → Customize → Additional CSS for that.)

If you also want to change the functionality of your original theme using PHP code, do so in YOUR_CHILD_THEME/functions.php file. You can freely modify any theme function or class method there by hooking onto the specific pre filter or unhooking the function altogether.

For more information on child themes please read your theme’s documentation – usually the “Theme Modifications section of the documentation.

Automatic child theme generator

Most of WebMan Design themes lets you create a child theme automatically. Just navigate to Appearance → Editor and click the “Create and activate now »”link in the displayed child theme notification.

A new child theme will be created and activated for you automatically, so you can add any custom code in it.

Please note that this option is not available when using WordPress multisite installation. In that case (or when automatic child theme creation doesn’t work) download a sample child theme (see resources below).


Important information

Please note that we do not provide support for custom theme modifications! You alone are responsible for all the changes you apply to the theme on your website. If you don’t feel comfortable enough coding, please, consider hiring someone who could help.