Title: Custom Fields
Last modified: August 21, 2016

---

# Custom Fields

 *  [justinlseitz@gmail.com](https://wordpress.org/support/users/justinlseitzgmailcom/)
 * (@justinlseitzgmailcom)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/custom-fields-100/)
 * I have added the following code to call the custom field to the posts_loop_template.
   php and is not calling the text that is input to the field.
 *     ```
       <?php echo get_post_meta($post->ID, "phone_number", true); ?>
       <?php $phone_number = get_post_meta($post->ID, 'phone_number', true);
       if ($phone_number) {
       ?>
       <?php echo $phone_number; ?>
       <?php } else { ?>
       <p>No specification available.</p>
       <?php } ?>
       ```
   
 * It is currently only displaying what shows the <p></p> tag. Is there any way 
   to slow this issue at all? PLEASE HELP!!
 * [http://wordpress.org/plugins/posts-in-page/](http://wordpress.org/plugins/posts-in-page/)

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

 * ![](https://ps.w.org/posts-in-page/assets/icon-256x256.png?rev=1596190)
 * [Posts in Page](https://wordpress.org/plugins/posts-in-page/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/posts-in-page/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/posts-in-page/)
 * [Active Topics](https://wordpress.org/support/plugin/posts-in-page/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/posts-in-page/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/posts-in-page/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [justinlseitz@gmail.com](https://wordpress.org/support/users/justinlseitzgmailcom/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/custom-fields-100/)
 * Status: not resolved