I’d like to only get the worddpress navigation (header, navigation menu, footer) so I can
add custom pages to the site which can easily integrate in the general template of the side while showing other things in the center instead of blog postings?
Edit: To clarify, I’d either like to know if there’s an easy way to include the functions like header()
, footer()
(or whatever they’re called) of WordPress in another page, so where those functions are called, it echoes the general layout of WordPress.
Or, I’d like to know which html files I can include to display the wordpress template’s header, footer, and navagiation menu on a page.
What I’m trying to do is build my own pages on a website, outside of wordpress, which will use my own framework and php code, but call the wordpress’s template to make the look & feel of the pages integrate with the rest of the site.
Add the following lines of code, then you can use whatever WP function you want:
Example from my own site:
http://codex.wordpress.org/wp_list_pages
What I would do is:
Also creating a “template” is as easy as naming the Template name in the top of your file: