• Hi,

    ?I would like to ask you there is any possibility to help me.?
    The thing is I have a lot of specific pages (taxomies) with no AMP functionality.

    ?Look here:
    https://www.foodfest.sk/jedla/obed/amp/
    https://www.foodfest.sk/ingrediencie/vajcia/amp/

    These pages are redirected to URL with no /amp/ at the end.?
    I added this code to function.php but still no progress.

    function isa_amp_add_cpt() {

    add_post_type_support( recipe’, AMP_QUERY_VAR );

    It looks like It should be working but It does not (post_type=recipe, taxonomy=ingredient)

    ?/wp-admin/term.php?taxonomy=ingredient&tag_ID=278&post_type=recipe&wp_http_referer=%2Fwp-admin%2Fedit-tags.php%3Ftaxonomy%3Dingredient%26post_type%3Drecipe?

    Is there any way to help me enable AMP.

    Thanks for any help.

    Martin

  • The topic ‘Custom Post Type Support To WordPress AMP Pages’ is closed to new replies.