Skip Navigation

Toolset templates, archives, and dynamic sources don’t work with FSE themes

Open

Topic Tags: Toolset Blocks

Symptoms

Themes that work with the “Site Editor” (formerly known as FSE themes), including the default TwentyTwentyThree theme, don’t work well with Toolset.

In particular it is not possible to create custom templates or WordPress archives using Toolset with such themes. Also, if you edit the theme templates in the block editor, Toolset dynamic sources and some blocks (e.g. the Fields and Text block) do not work as expected.

Other aspects of Toolset (e.g. creating Views, Forms, controlling access) continue to work normally.

Workaround

Full Site Editing themes work fundamentally different to existing themes that use PHP templates.

We hope to be able to add support in the future for Toolset Content Templates to work with such themes. It will not be possible to create custom WordPress archives with Toolset.

One thought on Toolset templates, archives, and dynamic sources don't work with FSE themes

  • You can implant your own custom template using FSE’s native templating engine for CPT’s. In your active FSE’s theme folder, create a blank HTML file in a subfolder called ‘templates’. The filename should be single-[your-cpt].html. For example, if you have a toolset CPT called ‘recipe’, and you’re using Twenty-Twenty-Four, simply create a file at:

    wp-content/themes/twentytwentyfour/templates/single-recipe.html

    Next, in your WordPress dashboard, visit the menu for Appearance -> Editor -> Templates and click on the “single-recipe” template. You can now the block designer to incorporate Toolset and other blocks to customize your template for your custom post type.

Leave
a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>