I am developing a website using the WordPress Twenty Twenty-Four theme. I have created a custom page template named page-dashboard.php
and assigned it to a dashboard page that was set up in the WordPress admin.
Issue Description: I am encountering an issue where I cannot apply the same header and footer to this page-dashboard.php
as used by the rest of the theme’s pages. Typically, I would use get_header()
and get_footer()
functions to include the theme’s standard header and footer. However, these functions do not pull the correct block-based template parts (header and footer) defined by the theme.
Attempts to Resolve:
get_header()
in my custom template, but it does not return the block-based header and footer, instead, it appears to load a default or incorrect version.Technical Details:
page-dashboard.php
Expected Outcome: I would like the page-dashboard.php
to display the same header and footer as the other pages of the site which are controlled through the theme’s block template system.
Could you please assist me in modifying my page-dashboard.php
or suggest an alternative method so that it utilizes the theme’s block-based headers and footers correctly?
Thank you for your assistance.
]]>I have selected the correct template for this page in the WordPress page settings and have tried different templates, but this page continues to display incorrectly. The page in question is: What can I do to resolve this issue?
]]>However, I cannot understand how I can create a new template with this configuration, not even by studying the docuemnation offered by wordpress.
How can I do this?
Thank you very much in advance!
]]>I am trying to set up a band blog with a blog page.
I have created a static front page and select /blog/ as the posts page.
In the editor it all looks just right – all my blogs are there and the page looks good. As soon as I publish it it pulls all the template stuff from the twenty twentyfour theme and thats what you see. Very frustrating,.
I have created a blog page called Musings – I have deleted the theme stuff and it shows my blogs in the editor. When its published. Nothing.
help!?! please thank you!
Nick
]]>I am trying to set up a band blog with a blog page.
I have created a static front page and select /blog/ as the posts page.
In the editor it all looks just right – all my blogs are there and the page looks good. As soon as I publish it it pulls all the template stuff from the twenty twentyfour theme and thats what you see. Very frustrating,.
I have created a blog page called Musings – I have deleted the theme stuff and it shows my blogs in the editor. When its published. Nothing.
help!?! please thank you!
Nick
]]>I want to break the monotony of the page design a bit by having certain sections with a different backgrounds, doing this by going to the group settings and changing the background. But it appears that it changes the content width inside the group although the setting is still the same. This is most evident on smaller screen widths. It seems changing the background adds some automatic padding (which is good for the top/bottom for the colored section, but having all of the page content with a consistent width would be more polished)
Is there something I’m doing wrong here? Quite new to wordpress development so still learning here.
]]>