badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Display header and title for a custom PHP form/page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13268
    Bruce
    Member

    I have a custom PHP form (created outside of WordPress) at the root of my site that needs to look like the rest of the site. I can include the Interface Pro template header using:

    <?php
    define(‘WP_USE_THEMES’, false);
    require(‘./wp-blog-header.php’);
    include (TEMPLATEPATH . ‘/header.php’);
    do_action( ‘interface_before_main_container’ );
    ?>

    However, the code in header-extensions.php treats the pages as a 404 and sets the title to Page Not Found:

    $interface_header_title = __( ‘Page NOT Found’, ‘interface’ );

    How do I get the template to recognize this custom PHP page and display a title I define? I was able to add the page to the menu using the menu widget, and that displays the correct title.

    #13271

    HI Bruce,
    We support only the theme issue here. To have a custom file you need code customisation and if you are unable then you may hire a developer to fix the issue.

    Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.