This article lays out instructions for manually creating a custom DX Theme from an existing WordPress theme: Creating an IBM Digital Experience v8.5 theme from a WordPress theme
This script will generate all the necessary DX files for you, and bundle them into an installable PAA file. After installation, just strip out the remaining PHP code.
- Clone repository
- Enter the root directory of your new repository
- Run
npm install
- Run
node script.js name=**"NAME OF THE NEW DX THEME"** wpRemoteZipPath=**path.to.the.wordpress.theme.zip** wpRootFolder=**name-of-the-root-folder-in-the-wordpress-zip**
(eg:node script.js name="Twenty Sixteen" wpRemoteZipPath=https://downloads.wordpress.org/theme/twentysixteen.1.1.zip wpRootFolder=twentysixteen
) - Read the personalized installation and code update instructions generated in the output/output_name.html file
- Refer to the full manual instructions for advanced use cases and trouble-shooting