Create a custom page in the main directory
-
I want to take the index.php file of my wordpress template, duplicate the file, and call it “staff.php”. I want to use the wordpress header/footer functions, but the body will have some static html and php includes that I insert myself.
I want staff.php to sit in the same directory has the main index file, but I get an error when i create that file and pull it up:
see here > http://tinyurl.com/ydpp5cl
If I create staff.php in the theme folder, it will work, but then I have to call wp-content/themes/themename/staff.php in my URL and i do not want to do that. Can anyone point me in the direction of what I should be doing?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Create a custom page in the main directory’ is closed to new replies.