Help with creating pages (4 posts)

  1. rihannafanorg
    Posted 8 years ago #

    i need help createing my own site page i created a page rihanna.php and uploaded it to my http://rihanna-fan.org/wp/wp-content/themes/classic/rihanna.php
    when i try to view the link i get
    Fatal error: Call to undefined function get_header() in /home/rihannav/public_html/wp/wp-content/themes/classic/rihanna.php on line 7
    i did my page exaclty like the example on http://codex.wordpress.org/Pages#Examples but named it different, also is there any way i could have my pages in the main directory for example http://rihanna-fan.org/rihanna.php

  2. Evita
    Posted 8 years ago #

    In that case rihanna.php is not the name of your page, it is the name of your special template.
    If you want to create a page with this template, just create a new page and select your special template (admin - new page - navi right side "page template").

  3. moshu
    Posted 8 years ago #

    You can never access directly any template file in a theme folder.

    Instead of going around with questions about things you don't understand - describe simply WHAT do you want to achieve, what is your goal.
    We will tell you HOW to do it.

  4. rihannafanorg
    Posted 8 years ago #

    nevermind, i figured it out

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.