How to use the same layout template(s) both with and without WordPress

Premise

Say you have a website that you want to run partly with WordPress (say a Blog section) and partly without WordPress, using the same design. I’ll demonstrate a technique for using the same layout template(s) for WordPress content and other content without duplicating code, and in the process also demonstrate that it’s not necessary to use the header & footer include scheme that WordPress advocates.

Continue reading