Viewing 7 replies - 1 through 7 (of 7 total)
  • In a plain text editor on your local machine. Then upload the completed file via FTP to your current theme’s folder.

    Thread Starter giorgiomartini

    (@giorgiomartini)

    Allright !

    Thanx esmi ! i’ll do that , and i call it whatever.php right ? ill try it ;D thanx again.

    Yep. mypage.php or custom1.php etc.

    Thread Starter giorgiomartini

    (@giorgiomartini)

    thanx esmi , but one more question, if i want my custom page to look just like my other pages but after delete, some things in it, from where should i get the whole code, because in the dash board i get only parts of code , like the side bar , header etc.. right ?

    So where should i copy the whole code to look like a regular page in my web?
    because i dont want my new custom page to look empty and white like a brand new page.

    thanx !

    Try using page.php as a starting point.

    I posted a message on something similar. I’m creating a page template for a static page with page.php as the model. I replaced code In between get_header() and get_sidbar() to display the text from the static page:

    <?php
    if(is_page(‘home’))
    {
    include (TEMPLATEPATH, ‘/text.txt’);
    }
    ?>

    text.tx is just a copy of the static page file ’cause I don’t know the name of the page file. The displayed text is not formatted. What in page.php is just for blogs not for pages. Can you point me to the right direction to read a page file and show it in a neat way?

    Warren

    Please keep to the one topic thread:
    http://wordpress.org/support/topic/300781?replies=6

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Custom page , How to create a file ?’ is closed to new replies.