Notice: PHP templates are now available in the full site editing theme.

In emulsion ver2.6.1, when using the full site editing theme, in (customize/theme scheme/full site editing theme), named templates and page meta by template hierarchy such as category.php, archive.php, single.php Enables the use of informed page templates.

requirements

These templates must be placed in the fse-compatible-classic-template directory. It works as a PHP template specifically for the full site editing theme.

For settings other than the full site editing theme, templates based on the standard template hierarchy are used. (emulsion/singular.php, emulsion/header.php, emulsion/footer.php, template-parts/*.php…)

This feature is intended to help you when you need relevant content for individual posts, or when you need complex queries on specific posts, pages, etc.

We do not recommend using it for pages that can be handled by the full site editor.

exception

front-page.php, home.php, index.php cannot be used as they conflict with the full site editor and break the functionality of the full site editor.

Tips

If you use your own PHP template files, create a child theme and within the child theme create an fse-compatible-classic-template folder and be sure to place your template inside it.

Templates discourages the use of template tags used in so-called classic themes.

It’s not that you can’t use PHP template tags, but in this case you’ll have to prepare the styles yourself.

By writing the PHP template placed in fse-compatible-classic-template with the content described in example-***.php, it is possible to maintain a consistent display with the HTML template.

Refer to example-single.php, example-page.php, example-archive.php,2col-has-widget-area.php in the fse-compatible-classic-template directory for details on how to write templates. please.