Skip to content

Commit

Permalink
Don’t open “leave a comment” section
Browse files Browse the repository at this point in the history
  • Loading branch information
piperhaywood committed Nov 10, 2019
1 parent 151126d commit 0495329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebook-ph/comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

<?php if (comments_open()) : ?>
<div class="comments__section">
<details <?php echo have_comments() ? 'open' : ''; ?>>
<details>
<?php $discussion = 'Leave a reply'; ?>
<?php $discussion = have_comments() ? $discussion . ' / view discussion <span class="comments__count">%s</span>' : $discussion; ?>
<summary>
Expand Down

0 comments on commit 0495329

Please sign in to comment.