Preparing a new site for full site editing

Written by

in

The webserver will need some preparation for a WordPress block theme. Although there will be some assumptions made, the fundamentals of a WordPress site will be the same for everyone.

First and foremost, WordPress needs to be installed. If it is not, go do that, then come back here.

Next, and optional but recommended, install the Gutenberg plugin. You should know where to get it.

Option 1: Building on an existing block theme

Install the Twenty Twenty-Five theme, then activate it.

Go to Appearance -> Themes -> Customize.

Option 2: Building a custom block theme

This option requires access to the files on the webserver, such as by SFTP. If your WP account has access, existing theme files can be edited under Tools -> Theme File Editor, although it is not recommended as a permanent solution. New files will still need to be uploaded through SFTP.

On the webserver, in /wp-content/themes/, create a folder for the theme with any name, as long as it does not include the word “theme.” This is a WordPress rule when or if this new custom theme is uploaded to the directory.

Place blank files with the following name and folder structure. Content will be added later:

Inside this folder, with “blocksite” being the name of the theme:
/wp-content/themes/blocksite/

  • parts/
    • footer.html
    • header.html
  • templates/
    • index.html
  • index.php
  • style.css
  • theme.json

More coming soon.