Update meta discussion section

This commit is contained in:
Oliver Davies 2019-04-16 21:54:19 +01:00
parent d7de23fbd2
commit 29a9ee748c
4 changed files with 20 additions and 4 deletions

View file

@ -24,8 +24,8 @@ if ( post_password_required() ) {
$discussion = twentynineteen_get_discussion_data();
?>
<div id="comments" class="<?php echo comments_open() ? 'comments-area' : 'comments-area comments-closed'; ?>">
<div class="<?php echo $discussion->responses > 0 ? 'comments-title-wrap' : 'comments-title-wrap no-responses'; ?>">
<div id="comments" class="max-w-xl <?php echo comments_open() ? 'comments-area' : 'comments-area comments-closed'; ?>">
<div class="lg:flex lg:justify-between lg:items-baseline">
<h2 class="text-4xl font-bold">
<?php
if ( comments_open() ) {