Title: format6's Replies | WordPress.org

---

# format6

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

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

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Custom fields on index.php](https://wordpress.org/support/topic/custom-fields-on-indexphp/)
 *  [format6](https://wordpress.org/support/users/format6/)
 * (@format6)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/custom-fields-on-indexphp/#post-1458494)
 * I think I have the exact same problem.
    Im using custom fields to add a picture
   to each page like so: <`img class="header_img" src="<?php echo get_post_meta(
   $post->ID, "header_image", true); ?>">`
 * Which is cool on normal pages (home is static) but on my news page(index.php)
   it seems the custom field info is pulled from the **posts**
 * I have created a news page, how can I pull from the custom field of this page
   not the posts on the actual index page?

Viewing 1 replies (of 1 total)