• Resolved tortitudo

    (@tortitudo)


    I have a very common problem – I set up my site and only later realized that I need a child theme, because I want to include additional fonts. These fonts will not survive a theme update (because they are located in the assets/fonts/ folder and imported via the theme.json file).

    So I successfully created a new child theme and imported the fonts, which are now visible in the Site Editor and on the live page. But now my child theme is missing all the other changes that I made in the Site Editor – templates, custom css,…

    I think my problem has two possible solutions:

    1. How can I migrate the live editor settings from the parent theme to the child theme? I know the changes are somewherein the database, and I am comforotable with modifying the db.
    2. Is there a different way to import additional fonts into wordpress, that does not require a child theme, and makes the fonts usable in the Site Editor?

    I found a possible solution with the Customizer Export/Import plugin which transfers customizer settings from parent to child themes, but it only works for the old Customizer, not the new Site Editor. There is not much online about my problem, so I am asking for your help. Thank you!

    • This topic was modified 1 year ago by tortitudo.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Kavya Gokul (a11n)

    (@properlypurple)

    Hi @tortitudo! It looks like the plugin Create Block theme is what you need. It will let your export your changes in the site editor as a new theme, or a child theme of your currently active theme.

    Thread Starter tortitudo

    (@tortitudo)

    Thank you very much, this sounds like a solution and I will try it soon. I did find this plugin already during my research, but I did not notice it’s for creating child themes as well.

    Thread Starter tortitudo

    (@tortitudo)

    I can happily confirm this works.

    Thread Starter tortitudo

    (@tortitudo)

    One more thing – the Create Block Theme plugin also allows you to import a font to your theme! So it’s actually a solution for both issues I mentioned. Just in case someone comes here from google.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Child Theme – how to move Site Editor changes from parent to child?’ is closed to new replies.