Title: greyhat's Replies | WordPress.org

---

# greyhat

  [  ](https://wordpress.org/support/users/greyhat/)

 *   [Profile](https://wordpress.org/support/users/greyhat/)
 *   [Topics Started](https://wordpress.org/support/users/greyhat/topics/)
 *   [Replies Created](https://wordpress.org/support/users/greyhat/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/greyhat/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/greyhat/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/greyhat/engagements/)
 *   [Favorites](https://wordpress.org/support/users/greyhat/favorites/)

 Search replies:

## Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Adding pages to WP Template](https://wordpress.org/support/topic/adding-pages-to-wp-template/)
 *  Thread Starter [greyhat](https://wordpress.org/support/users/greyhat/)
 * (@greyhat)
 * [21 years ago](https://wordpress.org/support/topic/adding-pages-to-wp-template/page/2/#post-217210)
 * Thanks alpha, thats what I was asking for! =)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Adding pages to WP Template](https://wordpress.org/support/topic/adding-pages-to-wp-template/)
 *  Thread Starter [greyhat](https://wordpress.org/support/users/greyhat/)
 * (@greyhat)
 * [21 years ago](https://wordpress.org/support/topic/adding-pages-to-wp-template/#post-217035)
 * I don’t want to modify pages.php, I want to put a whole new file in there… that
   seems to be the problem.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Adding pages to WP Template](https://wordpress.org/support/topic/adding-pages-to-wp-template/)
 *  Thread Starter [greyhat](https://wordpress.org/support/users/greyhat/)
 * (@greyhat)
 * [21 years ago](https://wordpress.org/support/topic/adding-pages-to-wp-template/#post-217021)
 * I don’t know how I can state it any clearer. I want to run my own php code, inside
   of a php file that has the header and footer and can use the wordpress functions,
   like the other php files in the wp-content/themes/mytheme directory. I either
   need to know how to access that by having wordpress load that instead of some
   other file in the mytheme directory, or how to fake it by including something
   from wordpress.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Adding pages to WP Template](https://wordpress.org/support/topic/adding-pages-to-wp-template/)
 *  Thread Starter [greyhat](https://wordpress.org/support/users/greyhat/)
 * (@greyhat)
 * [21 years ago](https://wordpress.org/support/topic/adding-pages-to-wp-template/#post-217015)
 * I guess I’ll just do this myself… apparently it *was* too much to ask.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Adding pages to WP Template](https://wordpress.org/support/topic/adding-pages-to-wp-template/)
 *  Thread Starter [greyhat](https://wordpress.org/support/users/greyhat/)
 * (@greyhat)
 * [21 years ago](https://wordpress.org/support/topic/adding-pages-to-wp-template/#post-217011)
 * Apparently I’m still messing up on terminology or something.
 * I want… a php file that can use wordpress functions, located in wp-content/themes/
   mytheme/.
 * I don’t want to use the wordpress page maker to add a page to the database and
   site, or anything else like that, just a php file that can get things out of 
   wordpress.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Adding pages to WP Template](https://wordpress.org/support/topic/adding-pages-to-wp-template/)
 *  Thread Starter [greyhat](https://wordpress.org/support/users/greyhat/)
 * (@greyhat)
 * [21 years ago](https://wordpress.org/support/topic/adding-pages-to-wp-template/#post-217006)
 * I don’t want to make a WordPress “Page” thats listed on the side menu. This is
   to be an intermediate page for an internal function of the site, not an About
   page or something…
 * As an aside… I really really like a lot of WordPress, especially the admin area…
   but half the time when I try to make more involved customizations I feel like
   I’m trying to do the impossible and would be better off writing my own cms…
 * Also, I did read the links, but found nothing explaining this…
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Adding pages to WP Template](https://wordpress.org/support/topic/adding-pages-to-wp-template/)
 *  Thread Starter [greyhat](https://wordpress.org/support/users/greyhat/)
 * (@greyhat)
 * [21 years ago](https://wordpress.org/support/topic/adding-pages-to-wp-template/#post-217002)
 * hmm… I’ll try again then.
 * Inside my website/wp-content/themes/mytheme directory, I’d like to place an additional
   php file that can use wordpress functions like get_header etc. Once I get that,
   I can do the rest of what I want to do, but what I don’t understand how to do
   is how to either get wordpress to load this file or how do get the file to load
   the right parts of wordpress…

Viewing 7 replies - 1 through 7 (of 7 total)