Is there any way to include the Wordpress header in an external page I created?

Asked

Viewed 54 times

0

When I create a folder with the index inside my site files (where this is installed wordpress) appears the blank page and the to put things and stylize normally, but there is how I include my theme header on this page?

I know it’s a silly question, but there’s a way I can do it?

1 answer

2

I think you will get more work doing this than just making a page in Wordpress and setting it as a home page. Why WP does several things before including the header on the site (connects to the database, searches the menus and such). To set a WP page as the home page:

  • Create a Wordpress page in Pages > Add new (Pages > Add new)
  • Set as home in Admin > Settings > Reading (Settings > Reading). In the first field, just mark The Static page (a static page) and then choose your home page in the box.

You can write the entire HTML of the page when creating it.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.