Title: Custom theme
Last modified: August 19, 2016

---

# Custom theme

 *  [hgarcia_101685](https://wordpress.org/support/users/hgarcia_101685/)
 * (@hgarcia_101685)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/custom-theme-3-2/)
 * Hi,
    I basically created a custom page that processes information from a form.
   What it does is allow the user to upload files to the server and then display
   those files so others can view and dowload them. The problem I’m having is that
   it won’t let me call the WORDPRESS functions inside the page. For example, when
   I type <?php get_header?> i get an error message for an undefined function. ALL
   my other pages work fine, it is just when I try to create custom pages that this
   happens. The name of my custom page is uploads.php.
 * This is probably some kind of linking issue….like wordpress only links specific
   pages to its engine or something. I’m guessing I somehow have to tweak the settings
   so that it will recognize my page? Any help?

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

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/custom-theme-3-2/#post-873533)
 * Is it as simple as adding this at the beginning of your code:
 *     ```
       require('./wp-blog-header.php');
       ```
   
 *  Thread Starter [hgarcia_101685](https://wordpress.org/support/users/hgarcia_101685/)
 * (@hgarcia_101685)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/custom-theme-3-2/#post-873713)
 * now im getting a similar error with the language_attributes() function. LOL I’m
   guessing I have to find where all these functions are located and do the same
   correct?

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

The topic ‘Custom theme’ is closed to new replies.

## Tags

 * [custom pages](https://wordpress.org/support/topic-tag/custom-pages/)
 * [wordpress functions](https://wordpress.org/support/topic-tag/wordpress-functions/)

 * 2 replies
 * 2 participants
 * Last reply from: [hgarcia_101685](https://wordpress.org/support/users/hgarcia_101685/)
 * Last activity: [17 years, 8 months ago](https://wordpress.org/support/topic/custom-theme-3-2/#post-873713)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
