• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WordPress a2z

WordPress a2z

WordPress Dynamic API Reference

  • Home
  • Plugins
  • Themes
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Files / comments.php


Lines:

101 to 134 of 134
}

if ( comments_open() || pings_open() ) {

  if ( $comments ) {
    echo '<hr class="styled-separator is-style-wide" aria-hidden="true" />';
  }

  comment_form(
    array(
      'class_form'         => 'section-inner thin max-percentage',
      'title_reply_before' => '<h2 id="reply-title" class="comment-reply-title">',
      'title_reply_after'  => '</h2>',
    )
  );

} elseif ( is_single() ) {

  if ( $comments ) {
    echo '<hr class="styled-separator is-style-wide" aria-hidden="true" />';
  }

  ?>

	<div class="comment-respond" id="respond">

		<p class="comments-closed"><?php _e( 'Comments are closed.', 'twentytwenty' ); ?></p>

	</div><!-- #respond -->

	<?php
}
 
« Previous [1] [2]

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      File name: comments.php
      Plugin ref: Twenty Twenty
      Version: 1.6
      Deprecated?: No
      API Letters: C,P

      Published: 25th November 2019 | Last updated: 16th June 2020

      Primary Sidebar

      Information

      File name: comments.php
      Plugin ref: Twenty Twenty
      Version: 1.6
      Deprecated?: No
      API Letters: C,P

      Footer

      WordPress a2z
      WordPress a2z
      WordPress Dynamic API Reference
      WordPress 5.6. PHP: 7.3.26
      WordPress a2z
      WordPress core a2z
      Genesis Theme Framework a2z
      Jetpack a2z
      WordPress develop tests
      Easy Digital Downloads a2z
      WooCommerce a2z
      Yoast SEO a2z
      WordPress Blocks

      Site:  wp-a2z.org
      © Copyright WordPress a2z 2014-2021. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins

      • Home
      • Blog
      • Sitemap
      • Sites