• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Genesis Theme Framework a2z

Genesis Theme Framework a2z

WordPress Dynamic API Reference

  • Home
  • Plugins
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Parsed Source / Parsed: 49210
<?php

/**
 * Genesis Framework.
 *
 * WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances.
 * Please do all modifications in the form of a child theme.
 *
 * @package Genesis\Templates
 * @author  StudioPress
 * @license GPL-2.0-or-later
 * @link    https://my.studiopress.com/themes/genesis/
 */

if ( post_password_required() ) {
  printf( '<p class="alert">%s</p>', esc_html__( 'This post is password protected. Enter the password to view comments.', 'genesis' ) );
  return;
}

// Prevent the jump from post heading h1 to comment heading h3 that could occur if post content contains no h2.
if ( genesis_a11y( 'headings' ) && genesis_comments_trackbacks_showing() ) {
  printf( '<h2 class="screen-reader-text">%s</h2>', esc_html__( 'Reader Interactions', 'genesis' ) );
}


/**
 * Fires before the main comments action hook.
 *
 * @since 1.0.0
 */
do_action( 'genesis_before_comments' );


/**
 * Fires to display the main comments content.
 *
 * @since 1.1.2
 */
do_action( 'genesis_comments' );


/**
 * Fires after the main comments action hook.
 *
 * @since 1.0.0
 */
do_action( 'genesis_after_comments' );


/**
 * Fires before the main pings action hook.
 *
 * @since 1.0.0
 */
do_action( 'genesis_before_pings' );


/**
 * Fires to display the main pings content.
 *
 * @since 1.1.2
 */
do_action( 'genesis_pings' );


/**
 * Fires after the main pings action hook.
 *
 * @since 1.0.0
 */
do_action( 'genesis_after_pings' );


/**
 * Fires before the main comment form action hook.
 *
 * @since 1.1.0
 */
do_action( 'genesis_before_comment_form' );


/**
 * Fires to display the main comment form content.
 *
 * @since 1.1.0
 */
do_action( 'genesis_comment_form' );


/**
 * Fires after the main comment form action hook.
 *
 * @since 1.1.0
 */
do_action( 'genesis_after_comment_form' );
 

Published: 25th November 2019 | Last updated: 3rd April 2020

Primary Sidebar

Information

Source ref: comments.php
Parse count / Source file date: 1585909725
MD5 hash: de08497cba99a01fb37fb05413d0f235

Footer

Genesis a2z
Genesis Theme Framework a2z
WordPress Dynamic API Reference
WordPress 5.9.3
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:  genesis.wp-a2z.org
© Copyright Genesis a2z 2014-2022. All rights reserved.


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

  • Home
  • Blog
  • Sitemap
  • Sites