Theme and plugin AMP with redirects

  • Marcel

    #51587

    on https://www.teawea.com/pumpkin-and-gruyere-dip/?amp=1
    Go to the page, scroll all the way to the bottom and look for
    Categories: Appetizers, Brunch, Dinner, Fall, Halloween, Holiday, Lunch, Pumpkin, Seasonal, Spreads & Dips, Thanksgiving, Vegetarian, Veggies, Winter

    each category is linked with a slightly wrong link
    https://www.teawea.com/category/recipes/veggies/pumpkin/?amp

    It was suggested to add a filter to add to the functions.php
    add_filter( 'amp_to_amp_linking_enabled', '__return_false' );
    where would I do that?

    Admin

    Syahir Hakim

    #51590

    You’ll need a child theme to implement that code without being overwritten after theme update. Once you have a child theme, insert the code into the child theme’s functions.php file.

    Marcel

    #51593

    what child theme is most compatible with graphene?

    Admin

    Syahir Hakim

    #51595

    You can use the following plugin to generate a child theme for your site:
    https://wordpress.org/plugins/child-theme-generator/

    Marcel

    #51598

    thanks.
    I noticed that I did not get notified on your reply.

Viewing 5 posts - 1 through 5 (of 5 total)

  • You must be logged in to reply to this topic.