Title: Only post type &#8220;Post&#8221; supported?
Last modified: September 3, 2016

---

# Only post type “Post” supported?

 *  [eric2236](https://wordpress.org/support/users/eric2236/)
 * (@eric2236)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/only-post-type-post-supported/)
 * This ‘AMP’ plugin seems to only support all those posts whose post type is ‘POST’.
   I need support for custom post types which I use on my blog. I have tried to 
   change ‘add_rewrite rule’ but it does not work. Please advise. I will pay for
   thorough extended support.

Viewing 1 replies (of 1 total)

 *  [andrewtayloruk82](https://wordpress.org/support/users/andrewtayloruk82/)
 * (@andrewtayloruk82)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/only-post-type-post-supported/#post-8179019)
 * Try the following in your themes functions.php file:
 *     ```
        function amp_add_cpt() {
           add_post_type_support('CUSTOM-POST-TYPE', AMP_QUERY_VAR);
         }
         add_action( 'amp_init', 'amp_add_cpt' );
       ```
   
    -  This reply was modified 9 years, 9 months ago by [andrewtayloruk82](https://wordpress.org/support/users/andrewtayloruk82/).

Viewing 1 replies (of 1 total)

The topic ‘Only post type “Post” supported?’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [andrewtayloruk82](https://wordpress.org/support/users/andrewtayloruk82/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/only-post-type-post-supported/#post-8179019)
 * Status: not resolved