Block Theme: How to use a different template on front page vs paginated pages?
Block Theme: How to use a different template on front page vs paginated pages?
Block Theme: How to use a different template on front page vs paginated pages?
WordPress started as an outright blogging platform and nothing more, so the home page was always just meant to be the most recent blog entries, in its early iterations. The template hierarchy has evolved since then but a lot of the labels have remained from that era. (Backwards compatibility and such.) So the page.php file … Read more
Custom group pattern layout is not showing in posts
How to conditionally change template based on ACF field in WordPress 6.5 with FSE theme?
YES (finally).. The specific answer for this template I found in a WP forum was a bit misleading, which took me hours lost searching for what they meant. So: The section for personalized CSS styles is located directly in “Twenty Twenty-Four” Theme Editor, just go: Appearance (themes); Editor (site-editor); Left Menu -> Styles (wp_global_styles); Up … Read more
Scenario: Gutenberg Blocks -> page.html has wp: include that includes a pattern file that has shortcode in it, the shortcode is not executed and comes back text only. After reviewing and testing the above issue I realized the shorcode just does not run, I did find a workaround that allows the shortcode to run as … Read more
The error was occurring when someone hits a page that doesn’t exist (404). I created a custom 404 error page and the errors are now gone.
According to Carolina’s excellent reference on full site editing, hybrid themes (that use both PHP and block template parts) can only allow users to add new template parts if you activate the Gutenberg plugin.
You are obviously using full site editing theme if you have HTML templates. For classic themes you have PHP templates and there you can enter php code. Full site editing html templates use only blocks in their templates and you can’t use PHP there. You can only use existing or build new block and place … Read more
Confused about editing the HTML in a template