How to make a simple page using your wordpress template?

Discussion in 'Programming' started by redhits, Mar 23, 2010.

  1. #1
    I tried to make bogdan.php

    and wrote in it:

    
    <?php
    /**
     * Front to the WordPress application. This file doesn't do anything, but loads
     * wp-blog-header.php which does and tells WordPress to load the theme.
     *
     * @package WordPress
     */
    
    /**
     * Tells WordPress to load the WordPress theme and output it.
     *
     * @var bool
     */
    define('WP_USE_THEMES', true);
    
    /** Loads the WordPress Environment and Template */
    require('./wp-blog-header.php');
    ?>
    <div class=text>Hey bogdane</div>
    
    Code (markup):
    Now take a look how bad it's looking:
    http://moviemax.in/bogdan.php/

    the text "hey bogdane" it's shown at the bottom of the page.

    I don't want to enter into wordpress codding, i just want to know how i can add an extra page out there.
     
    redhits, Mar 23, 2010 IP