Building and customizing designs by modifying template files

We created a child theme to customize the designs of parent themes without losing the changes on theme updates. This can be achieved by either modifying the entire template of the parent theme or part of the template in the parent theme. Let's learn this by using an example template design change. Consider the following screenshot for our requirements:

The screen on the left displays the default single post design of the Twenty Seventeen theme. Let's assume that we want to change the post template to remove the sidebar and display the comment form in a way that the user can add comments ...

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.