Title: Custom fields for pages.
Last modified: August 20, 2016

---

# Custom fields for pages.

 *  Resolved [cbright6062](https://wordpress.org/support/users/cbright6062/)
 * (@cbright6062)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/custom-fields-for-pages/)
 * Hello,
 * I am working on a new wordpress-based layout for the website I am the web administrator
   for.
 * On this site, we will have an archive of old articles written over the years.
 * I was wondering if there was a way I could add two custom article meta pieces,
   completely unrelated to the page itself.
 * These two would be “Original Author” and “Date Written.”
 * I am unsure if this is the correct place. But since this would involve coding
   into the articles’ template page, I figured this was a good place to try.
 * Thank you,
 * -cbright6062

Viewing 1 replies (of 1 total)

 *  [Dan](https://wordpress.org/support/users/heritz/)
 * (@heritz)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/custom-fields-for-pages/#post-2540310)
 * Below your post, in your WP visual editor, you have a custom fields form where
   you can specify metadata associated to that post. Then, at your template files,
   you can call that metadata using get_post_meta().
 * `<?php echo get_post_meta( get_the_ID(), 'original_author', true); ?>`
 * This will display the **original_author** metadata specified on your post custom
   fields.

Viewing 1 replies (of 1 total)

The topic ‘Custom fields for pages.’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [Dan](https://wordpress.org/support/users/heritz/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/custom-fields-for-pages/#post-2540310)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
