Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider allowing users to import templates #38413

Open
kjellr opened this issue Feb 1, 2022 · 2 comments
Open

Consider allowing users to import templates #38413

kjellr opened this issue Feb 1, 2022 · 2 comments
Labels
[Feature] Templates API Related to API powering block template functionality in the Site Editor Needs Decision Needs a decision to be actionable or relevant [Type] Enhancement A suggestion for improvement.

Comments

@kjellr
Copy link
Contributor

kjellr commented Feb 1, 2022

In the Site Editor, there's currently an export option for Templates and template parts:

Screen Shot 2022-02-01 at 10 31 51 AM

This will eventually be a full theme export, but for now, it just exports your templates. Today, it's unclear what users should do with the exported templates. They can't be imported independently, and they don't constitute a theme yet, so users can't activate them that way.

Even once this "theme export" workflow becomes more clear, it might be worthwhile to allow users to separately export and import templates and from one site to another. Let's use this issue to discuss this idea and its potential applications.

@kjellr kjellr added the [Type] Enhancement A suggestion for improvement. label Feb 1, 2022
@kjellr
Copy link
Contributor Author

kjellr commented Feb 1, 2022

One option for this would be to integrate templates/template parts into the standard export/import tool. They are included today when you do a full export, but they don't have their own specific radio button option. Should they?

Screen Shot 2022-02-01 at 10 42 08 AM

@skorasaurus skorasaurus added Needs Decision Needs a decision to be actionable or relevant [Feature] Templates API Related to API powering block template functionality in the Site Editor labels Feb 1, 2022
@scruffian
Copy link
Contributor

We should also allow users to import templates from other themes they have installed, or in the directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Templates API Related to API powering block template functionality in the Site Editor Needs Decision Needs a decision to be actionable or relevant [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

3 participants