Show php theme header and footer inside the page editor

[ad_1]

We are currently transferring our website from a old version of Umbraco and I decided to push forward with WordPress as our new website CMS.

I have gone through the effort of trying to figure out how WordPress themes work and came across the BlankSlate template which is just a very barebones PHP theme, using this I was able to chop up the current theme and integrate it into wordpress.

I am facing one issue although, I can’t find a way to modify the template for the editor. I am trying to have the editor show the current header and footer.php contents so that the end user has a representational idea of what the website will look like.

I know I can attach CSS through custom_wp_admin_css but that doesn’t solve the problem of the layout, there is also overlapping styles if I import this way causing issues with the layout.

What’s the best way to approach this issue as the website looks fine when published but in the editor it looks like barebones html.

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer