-
Notifications
You must be signed in to change notification settings - Fork 384
Commenting
Ryan Kienstra edited this page Apr 3, 2018
·
12 revisions
When using "Native AMP" or "Paired Mode," WordPress commenting will work on AMP-enabled pages (screencast, example page).
By using add_theme_support( 'amp', array( 'comments_live_list' => 'true' ) );
(documentation), you can prevent a page refresh after making a comment. It will simply appear, using an amp-live-list.
This requires wrapping your theme's wp_list_comments() call in an <amp-live-list>
. Here's an example.
Notice: Please also see the plugin documentation on amp-wp.org