Forum Moderators: rogerd & travelin cat

Message Too Old, No Replies

Adding theme header and footer to admin dashboard

         

jambam

10:46 am on Jun 5, 2018 (gmt 0)

10+ Year Member Top Contributors Of The Month



How can add the header and footer of my site into the admin dashboard so that the admin dashboard resembles the frontend of my site?The structure that I want would be

{Header.php}
<div>
{Admin Dashboard}
</div>
{footer.php}

Apprently there are a few ways to inject html into the admin dashboard as outlined here [codex.wordpress.org...] (Looks like not been updated in a while) but what I am looking for is a way to add the themes header.php into my admin dashboard and retain functions found in the header such as menus, search form, admin avatar etc…

This would be awesome for consistency and so it doesn't feel so disjointed for users who have to go to the backend.

Thanks.

tangor

9:59 pm on Jun 5, 2018 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Might be for consistency, but I like to keep all things not user facing looking quite different just to make sure there's no slip ups.

jambam

9:29 am on Jun 6, 2018 (gmt 0)

10+ Year Member Top Contributors Of The Month



Indeed tangor, I guess applying this to user roles which can only access certain features anyway would be best, so admin still see everything normal.