Yoga
(@yogajegstudio)
Hi @bradley2083
There are two types of theme now on ww.wp.xz.cn : classic theme and block theme.
Vorfolio (this theme) fall into block theme category.
Block theme used html templates which you can find inside the theme files under folders “templates” and “parts” or inside Dashboard->Appearance->Editor.
Regarding your question on why the preview content is not “hello world” post, it’s because inside the “templates” folder it has “front-page.html”.
WordPress load the preview based on it’s template hierarchy, so in this case it loads “front-page.html” first.
TLDR : Vorfolio is a block theme and the preview content loads front-page.html
I hope this helps. 🙂
Perfect, that front-page.html is the missing piece I couldn’t figure out. Thank you!
-
This reply was modified 3 years, 3 months ago by
brad hogan.
Sorry @yogajegstudio but I just download and installed your theme, then when I set my homepage front page as another page on my site, the front page content (the patterns in front-page.html) are still appearing rather than the content on my newly set front page in Settings > Reading. So in order to update the front page I have to manually edit the actual template file in Edit Site > Templates > Front Page? That seems odd.
Yoga
(@yogajegstudio)
Hi @bradley2083
Yes, the theme’s front page is intended to be editable for user.
I think if you want it to be switchable to page template, try using home.html instead of front-page.html