Skip to content

Instantly share code, notes, and snippets.

@imgul
Last active August 25, 2022 18:13
Show Gist options
  • Save imgul/016293f7c3d294bc28917f2070fb79d4 to your computer and use it in GitHub Desktop.
Save imgul/016293f7c3d294bc28917f2070fb79d4 to your computer and use it in GitHub Desktop.
Standard files for WordPress Block Theme BASH Script for instant work
mkdir theme-name && cd theme-name && mkdir assets inc template-parts && touch 404.php archive.php comments.php footer.php front-page.php functions.php header.php index.php page.php README.txt rtl.css screenshot.png search.php searchform.php sidebar.php single.php style.css && cd assets && mkdir css images js && cd ../template-parts && mkdir footer header navigation page post
# wow
@imgul
Copy link
Author

imgul commented May 11, 2022

Note: Replace theme-name written twice in the script with your desired theme name or you can change it later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment