WordPress.org

Support

Support » How-To and Troubleshooting » External Header Call Has Missing Page Title

External Header Call Has Missing Page Title

  • I’ve set up a site with a great theme installed. I’m planning to have some external pages which reference the header and footer of this theme so both internal and external pages match and I can make changes to the navigation etc of the WordPress site and have those changes applied dynamically to the non-Wordpress pages as well.

    I’m able to call the WordPress header, footer, etc on my external pages by including wp-load.php at the top of the non-Wordpress pages and using get_header() etc to display the header. The problem is that when I do this, none of the options set in Appearance > Theme Options seem to be present.

    How do I use this theme on external pages AND have the customizations made in Theme Options appear as well?

    Newbie…
    Tim

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thats a tough question. I would recommend creating all pages from within wordpress. It will make your life a lot easier in the long run. Is there a specific reason why you don’t want to use wordpress pages?

    The external pages are database driven php pages that manage product purchasing and software downloading. So keeping these pages out of the wordpress world is a security concern and complexity issue due to the php calls.

    The problem is WordPress needs many database calls to get all the data it needs just to build the header. I would create wordpress pages in lieu of the external pages you want and assign to these pages a custom template which contains your external page code.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘External Header Call Has Missing Page Title’ is closed to new replies.
Skip to toolbar