admin管理员组

文章数量:1122832

Dashboard -> Appearance -> Editor -> 3-dots menu -> Export lets one download a zip file, which contains the folders parts and templates that - according to various online tutorials - should contain the customizations done with the (Block) Editor.

However, when I move these folders to my twentytwentytwo-child theme and upload it to a new WP instance, the customizations (like for example a Navigation block or a heading I inserted) are missing.

What am I doing wrong?

Dashboard -> Appearance -> Editor -> 3-dots menu -> Export lets one download a zip file, which contains the folders parts and templates that - according to various online tutorials - should contain the customizations done with the (Block) Editor.

However, when I move these folders to my twentytwentytwo-child theme and upload it to a new WP instance, the customizations (like for example a Navigation block or a heading I inserted) are missing.

What am I doing wrong?

Share Improve this question edited Oct 28, 2022 at 15:19 anick asked Oct 28, 2022 at 14:30 anickanick 1513 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

When you move the parts and templates folders to your child theme, make sure the structure is correct. Your child theme structure should look like this:

twentytwentytwo-child/ *parts/ **[custom parts] *templates/ **[custom templates] *style.css **functions.php

Your child theme’s style.css needs to have the correct header to be recognized as a child theme. You should further enable wp debug log at wp-config.php, this will give you better clues what exactly goes wrong.

本文标签: How to move the customizations done in the Editor to my child theme