Did you change your mind, or is the title supposed to be the question?
I was trying do a search for the topic and didn't realize i was putting it in the form spot.
I am curious though. I have been trying to make a php page, but everytime i create one and put the get_header tag and get_footer tag, it gives me an error on line 1 etc. I tried using the index.php file, the page.php file and the single.php file, but it basically does the same thing.I just want to make a basic aboutthegirl.php page.
If I had a template for making that one page, i could make more, but that is where i am at a stand still. I have searched the wordpress site, read the webmonkey php/mysql tutorial and tried using several different sites tutorials for making "themes" but i am not having any progress.
What am I missing/doing wrong?
Right now all I see when I go to the
aboutthegirl.php page is this: "I give up on this page right now. I can't figure out how to use my template to make a php page, so until I figure it out, its just gonna have to wait."
Can you roll things back so that we can take a look at the errors that you mentioned you were getting?
Ok, i put back in the script from the page template, so it should show you the errors.
Now, after i remove line 1 (which is the header line)
it will tell me to remove the footer line, then it will give another error.
Why that problem occurs is because you are not getting the right header parts which WP specifies internally to define its functions etc.
Take a look here:
You should create a separate page template for that particular
aboutthegirl page, and then use that, then everything should work fine since the page template would still fall under WP and the functions will get defined properly.
If you have more questions, post back.
Ok, so I tried that, but when I go to my cpanel, it shows the error log. this was the message [17-Jan-2006 02:51:48] PHP Fatal error: "Call to undefined function: get_header() in /home/prettynp/public_html/wp-content/themes/Pretty/aboutpage.php on line 1"
I just want to make a basic aboutthegirl.php page.
Wrong approach! - If you want Pages in WP (1.5.x and above) you do not cretae physical
You go into your admin panel > Write > Write Pages and give it the title "About the Girl"... put in your content and save it. You'll have a WP Page with the slug "about-the-girl" (in case you are using nice permalinks).
It will also be listed among your Pages - or you can link to it manually from wherever you wish.
Now, if you want one of your Pages to look different than the default Page Template (=
page.php in your theme folder) then you can create 1,000,000 Page templates >> just follow the link posted above by skulled.
i found a way to make a page without going through all the trouble of all the tutorials i was given. I went to view source on my page, took the whole sheet of codes, and pasted it into the page i was making. Then i deleted the page information and put what i wanted in there
This topic has been closed to new replies.