Skip to content

A bash script which will help you setup sage theme inside your simple WordPress setup (without bedrock)

License

Notifications You must be signed in to change notification settings

fhd-codes/sage-setup-bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Sage Setup Bash Script

A bash script to help you set up a Sage theme inside your simple WordPress setup (without Bedrock).

Prerequisites

Make sure the following are installed before running the script:

  • npm
  • Composer
  • Git
  • ACF Pro Plugin (Available in your WordPress installation)
  • WordPress PHP version should be 8.2 or above

How to Use

  1. Copy and paste this setup.sh file in the theme directory

  2. Create a GitHub Repository:

    • Create an empty repository on GitHub. The repository name should be the name of your theme.
    • For example, if your repository is named my-theme, the bash script will use this repo name and set the theme name as My Theme.
  3. Download/Clone the Bash Script:

    • Download or clone this bash script and place it inside your WordPress theme folder:
      public/wp-content/themes
  4. Run the Bash Script:

    • Execute the script in the terminal from the themes directory:
      ./setup.sh

Bash Script Workflow

  1. GitHub Repo URL:

    • The script will prompt you for the GitHub repository URL. Copy and paste the theme repo URL you created earlier.
  2. Theme Setup:

    • Once the basic Sage theme is set up, the script will ask for the theme developer’s name. It will use this information to update the style.css file.
  3. ACF Pro Plugin Installation:

    • After the theme setup, the script will instruct you to install the ACF Pro plugin from the WordPress admin dashboard.
    • Press any key to continue with the setup.

Once the setup is complete, your Sage theme will be ready for use.


Enjoy building your theme with Sage!

About

A bash script which will help you setup sage theme inside your simple WordPress setup (without bedrock)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages