Skip to content
This repository has been archived by the owner on Oct 10, 2018. It is now read-only.

Add support for comments_live_list theme support flag #85

Merged
merged 1 commit into from
Mar 21, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ function ampconf_setup() {
*/
load_theme_textdomain( 'ampconf', get_template_directory() . '/languages' );

add_theme_support( 'amp' );
add_theme_support( 'amp', array(
'comments_live_list' => true,
) );

// Add default posts and comments RSS feed links to head.
add_theme_support( 'automatic-feed-links' );
Expand Down