Skip to content
pinegrow.com
Docs menuWordPress

Download and set up the demo project

Follow these steps to set up the project so that you can perform the steps described in the Create Your First Block guide.

On this page

Download the project

Download the ZIP with the static HTML project and unzip it on your computer.

Open the project in Pinegrow

Start Pinegrow Web Editor and click Open... at the top left of the start screen (or choose File › Open project...). Select the folder with the CreateYourFirstBlockStarter project.

The Pinegrow start screen with an arrow pointing to the OPEN... button at the top left, below NEW PROJECT: Click to open the project folder.

Open blocks.html

Click on blocks.html in the Project panel to open the page.

The Fizz-Lab project in the Project panel with page.html, the page that holds the Fizz Lab blocks, open in the editor.

Theme settings

Open WordPress › Theme / Plugin settings dialog:

The WordPress menu open over the Fizz-Lab project with Theme / Plugin settings highlighted, below Export the theme and Page settings.

Give your theme a name and a slug:

WordPress Theme Settings for the Fizz-Lab project: Project type Theme, Theme name Fizz Lab, Slug fizz_lab, the theme folder with its folder picker, The master page index.html and the theme version.

Next, click the folder icon at the right end of the Theme folder field and select the folder where the WordPress theme will be exported. Normally, this should be a newly created folder inside wp-content/themes in your local WordPress installation.

macOS New Folder dialog inside the themes folder, with the name test_theme entered.

In the Blocks section of the Theme settings dialog, select the site stylesheet to load it in the block editor.

Blocks settings in WordPress Theme Settings with Blocks type Dynamic PHP blocks, and Blocks editor stylesheets with Editor stylesheet 1 set to tailwind_theme/tailwind_for_wp_editor.css so the block editor shows the site styling.

In our case this is bootstrap_theme/bootstrap.css.

Blocks settings in WordPress Theme Settings with Blocks type Dynamic PHP blocks, and Blocks editor stylesheets with Editor stylesheet 1 set to tailwind_theme/tailwind_for_wp_editor.css so the block editor shows the site styling.

Click on Save settings.

Export the theme

Use WordPress › Export the theme (CMD + M) to export the theme.

The WordPress menu open over the Fizz-Lab project with Export the theme (Cmd M) highlighted at the top.

Set up the front page

In WordPress admin, use Settings › Reading to select a static front page for the website.

WordPress Reading Settings with A static page selected and Homepage set to Front Page, with a callout to choose a static front page.

Activate the theme

In WordPress admin, activate the theme in Appearances › Themes.

WordPress Themes screen showing My Test Theme with the Activate and Live Preview buttons.

Go back to the guide

The project and the theme are now ready. Go back to the guide and follow the steps of creating your first custom block with Pinegrow.