Creating a child theme

Developers who are new to WordPress may assume that this is a considerable process involving many steps and configurations. However, it's a straightforward process that takes less than a minute. Let's create a child theme called WPQuickStart for the existing Twenty Seventeen theme.

The first step is creating a directory in the wp-content/themes directory and naming it wpquickstart. Next, we need to create a style.css file inside the wpquickstart directory and add the following comment:

/*Theme Name: WPQuickStartTheme URI:Description: Twenty Seventeen Child ThemeAuthor: Rakhitha NimeshAuthor URI: http://example.comTemplate: twentyseventeenVersion: 1.0.0 */

The highlighted line in the code defines the directory as a child ...

Get WordPress Development Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.