• Resolved bensontel2

    (@bensontel2)


    I have a formatted html page with Windows Media Player embedded in it from which I stream video. I would like to integrate this page (or the code) into a permanent page in WP1.5 as a menu option. Mambo has a wrapper which can easily do this. Can I write a straight html page in WP?

Viewing 6 replies - 1 through 6 (of 6 total)
  • You can create a Page with no content and force it to use a special “template” that is actually just a PHP file with your HTML inside. To make WP recognize it as a template, put this at the top:
    <?php
    /*
    Template Name: Video
    */
    ?>

    Thanks. But I don’t quite understand.
    Do I create a new page in WP and put exactly what you have
    <?php
    /*
    Template Name: Video
    */
    ?>
    Then my html page is called video.html sitting in the same directory, or do I put php tags at the beginning and end of my html page and save it as video.php?

    Put the PHP stuff at the beginning of your .html file and resave it as a .php file. 🙂

    Wow! thank for the quick response. I did that. Which folder should this go in and then how do I link to it? Appreciate your helpfulness.

    OK Thanks. It works!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Video Page’ is closed to new replies.