WordPress – Create a child theme using the command line interface ( CLI )

Command Line Interface ( CLI )

  1. Navigate to your themes directory within a terminal/command prompt session.
  2. Modify this code-snippet to match your environment.
wp scaffold child-theme my-custom-theme --parent_theme=twentyseventeen

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top