diff --git a/inc/template-tags.php b/inc/template-tags.php index d76c24b36..d532dc920 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -441,3 +441,14 @@ function _s_display_mobile_menu() { diff --git a/template-sidebar-right.php b/template-sidebar-right.php index 2f295b082..b80a87806 100644 --- a/template-sidebar-right.php +++ b/template-sidebar-right.php @@ -20,10 +20,7 @@ get_template_part( 'template-parts/content', 'page' ); - // If comments are open or we have at least one comment, load up the comment template. - if ( comments_open() || get_comments_number() ) : - comments_template(); - endif; + _s_display_comments(); endwhile; // End of the loop. ?>