Archived topic
create a starter theme
7 replies · Started by cpalo on January 18, 2022
Good evening
Rather than making a child theme, I would rather try to create a starter theme.
is this a bad idea?
How to proceed?
Only by modifying the default.php files? and main.css?
Thank you
Hi there,
I'm not exactly sure what you meant by "starter" theme.
Only by modifying the default.php files? and main.css?
It's never a good idea to modify the core files from the parent theme as the updates will erase all your changes.
I believe a child theme is still needed for what you are thinking.
I meant starter site
Are you referring to the site library templates?
If so we just simply export the options to get a .json file:
https://docs.generatepress.com/article/import-export-overview/
And then the content:
https://www.wpbeginner.com/beginners-guide/how-to-export-a-wordpress-site/
Hope this helps.
If I understand correctly, I create my site from scratch or from a starter site. I modify.
And when I want to use it as a starter site, I use this export function.
Hi there,
You'll have to export the json file for the customizer settings and you may have to export the contents as well for the page layouts because the layouts are technically page contents, not tied directly to the theme files. :)
Thanks
No problem. :D