Title: Custom fields
Last modified: August 30, 2016

---

# Custom fields

 *  [younk](https://wordpress.org/support/users/younk/)
 * (@younk)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/custom-fields-190/)
 * Great plugin. Only minus I see, it that it doesn’t include Custom fields, which
   much of my content consists of, leaving parts on my page.
 * Any idea how I can add this?
 * [https://wordpress.org/plugins/amp/](https://wordpress.org/plugins/amp/)

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

 *  [bmaas93](https://wordpress.org/support/users/bmaas93/)
 * (@bmaas93)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/custom-fields-190/#post-6897382)
 * I have the same problem…
 * Looking for an answer.
 *  [Ploufside](https://wordpress.org/support/users/ploufside/)
 * (@ploufside)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/custom-fields-190/#post-6897383)
 * Hi friends, for everyone having problems with custom fields inside the amp plugin
   template, just call them like this :
 * **global $post;
    $metas = get_post_meta( $post->ID, ‘your-custom-field-name’,
   true );
 * 100% working 😉
 * Hope that helps !
 *  [riccarbi](https://wordpress.org/support/users/riccarbi/)
 * (@riccarbi)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/custom-fields-190/#post-6897384)
 * Interesting suggestion indeed Ploufside!
 * I have plenty of CF on my websites, I’ll try your solution and report the results.
 *  [fabian00](https://wordpress.org/support/users/fabian00/)
 * (@fabian00)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/custom-fields-190/#post-6897392)
 * Where i should insert code ? In functions.php ?
 *  [neotrope](https://wordpress.org/support/users/neotrope/)
 * (@neotrope)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/custom-fields-190/#post-6897393)
 * You insert the ACF codes in your AMP plugin custom template just like you would
   if inserting into normal theme template. See the ACF docs, but also look at the
   template in the amp plugin folder.
 *  [theryis](https://wordpress.org/support/users/theryis/)
 * (@theryis)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/custom-fields-190/#post-8350109)
 * I’m sorry but I did not understand in what template I have to put the code.
    
   I would be grateful if you were more specific.
 * Thanks

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

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

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

## Tags

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

 * 6 replies
 * 7 participants
 * Last reply from: [theryis](https://wordpress.org/support/users/theryis/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/custom-fields-190/#post-8350109)
 * Status: not resolved