✅ Helper functions for repetitive tasks such as rendering images, links, SVG code, and more
✅ Just a few well-written UI components to get you started (we don’t like bloat in our code): Modal, Accordion, Tabs, Menu, Dropdowns, Sliders, and simple “in view fade-in transitions”
Download and install the latest version of the theme
At the root of the theme, there is a “theme_redone_global_config.json” file. Replace “localhost/theme-redone” with the name of your project from htdocs “localhost/[PROJECT-FOLDER-NAME]” (This makes sure browser-sync connects to the correct project)
From the terminal (from inside the root directory of the theme) run composer install and afterward npm install to install the PHP and JS dependencies. (Make sure Node version 14.19.1 is used. We suggest using NVM to manage Node versions)
Install the TRB CLI package globally ( npm i -g @webredone/trb-cli ) to scaffold blocks faster.
In WordPress, activate the theme
Compilation/Watching and Bundling/Minification Tasks:
To start the compiler and make it watch for file changes, simply run the npm start command from the terminal
Once the project is finished and ready to be deployed, run npm run build:prod to optimize css and javascript files.