Support » Plugin: AMP for WP - Accelerated Mobile Pages » Add tag for disqus comments

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    This is not our plugin. The ticket is created in Google AMP. Our plugin is: https://wordpress.org/plugins/accelerated-mobile-pages/

    Thread Starter ikiterder

    (@ikiterder)

    accelerated-mobile-pages\templates\features.php

    Before

    <section class="amp-wp-content post-comments amp-wp-article-content amp-disqus-comments" id="comments">
    				<amp-iframe
    					height=<?php echo esc_attr($height) ?>
    					width=<?php echo esc_attr($width) ?>
    					layout="<?php echo esc_attr($layout) ?>"
    					sandbox="allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"
    					frameborder="0"
    					src="<?php echo esc_url($disqus_url) ?>" title="<?php echo esc_html__('Disqus Comments','accelerated-mobile-pages'); ?>">
    					<div overflow tabindex="0" role="button" aria-label="Read more"><?php echo esc_html__('Disqus Comments Loading...','accelerated-mobile-pages') ?></div>
    				</amp-iframe>

    After

    <section class="amp-wp-content post-comments amp-wp-article-content amp-disqus-comments" id="comments">
    				<amp-iframe
    					height=<?php echo esc_attr($height) ?>
    					width=<?php echo esc_attr($width) ?>
    					layout="<?php echo esc_attr($layout) ?>"
    					sandbox="allow-forms allow-modals allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"
    resizable
    					frameborder="0"
    					src="<?php echo esc_url($disqus_url) ?>" title="<?php echo esc_html__('Disqus Comments','accelerated-mobile-pages'); ?>">
    					<div overflow tabindex="0" role="button" aria-label="Read more"><?php echo esc_html__('Disqus Comments Loading...','accelerated-mobile-pages') ?></div>
    				</amp-iframe>
    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    We create a ticket for this tag. It will be fixing in our future updates.

    Reference: https://github.com/ahmedkaludi/accelerated-mobile-pages/issues/4692

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    This issue has been fixed in the latest version of the plugin. Can you please update the plugin and check once whether having the same issue or not? Then let me know.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add tag for disqus comments’ is closed to new replies.