WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Video Page (7 posts)

  1. bensontel2
    Member
    Posted 9 years ago #

    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?

  2. skeltoac
    Member
    Posted 9 years ago #

    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
    */
    ?>

  3. bensontel2
    Member
    Posted 9 years ago #

    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?

  4. Randy
    Member
    Posted 9 years ago #

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

  5. bensontel2
    Member
    Posted 9 years ago #

    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.

  6. bensontel2
    Member
    Posted 9 years ago #

    OK Thanks. It works!!

  7. bensontel2
    Member
    Posted 9 years ago #


Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.