• Resolved ikiterder

    (@ikiterder)


    Hi.

    After updating to the latest version, the entered tags (General -> Head Section) are not shown.

    <link rel="apple-touch-icon" sizes="180x180" >
    <link rel="icon" type="image/png" sizes="32x32" >
    <link rel="icon" type="image/png" sizes="16x16" >
    <link rel="manifest" >
    <link rel="mask-icon" color="#2d2c3c">
    <meta name="msapplication-TileColor" content="#ffffff">
    <meta name="theme-color" content="#ffffff">
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Akshay A

    (@akshaycode1)

    Hi,

    Thank you for contacting us.

    Could you kindly share a short video demonstrating the issue you’re experiencing? Also please share the URL on which you need help. This will assist us in accurately recreating the problem and providing a timely resolution.

    Thread Starter ikiterder

    (@ikiterder)

    accelerated-mobile-pages\templates\features.php
    It was like that and everything worked.

    add_action('amp_post_template_head','ampforwp_header_html_output',11);
    function ampforwp_header_html_output() {
    if( ampforwp_get_setting('ampforwp-seo-custom-additional-meta') ){
    echo strip_tags( ampforwp_get_setting('ampforwp-seo-custom-additional-meta'), '<link><meta>' );
    }

    And for some reason you changed it to this and it stopped working.

    add_action('amp_post_template_head','ampforwp_header_html_output',11);
    function ampforwp_header_html_output() {
    if( ampforwp_get_setting('ampforwp-seo-custom-additional-meta') ){
    echo wp_strip_all_tags( ampforwp_get_setting('ampforwp-seo-custom-additional-meta'), '<link><meta>' );
    }

    Because the function (wp_strip_all_tags) does not support exceptions (<link><meta>)

    • This reply was modified 5 months, 1 week ago by ikiterder.
    Plugin Support Akshay A

    (@akshaycode1)

    Hi, thank you for sharing this. We’ve updated it as per WordPress guidelines but we’ve raised a ticket regarding this concern and it will be addressed in the upcoming update.

    Here is the ticket: https://github.com/ahmedkaludi/accelerated-mobile-pages/issues/5650

    Plugin Support Akshay A

    (@akshaycode1)

    Hi, Hope you’re doing well. We’ve just released an update that addresses this issue. Please update the plugin to version 1.1.1, clear the cache once and give it a try. Feel free to reach out if you have any concerns.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.