Forums
(@stryno)
8 years, 8 months ago
In the amp.php file add add_post_type_support( ‘custom_post’, AMP_QUERY_VAR ); under the function amp_init() and after add_post_type_support( ‘post’, AMP_QUERY_VAR ); on mine it is line 60, just change ‘custom_post’ to what ever your_post id is.