Files
Malin f3ff7b7186 feat: initial ACRIB WordPress deployment
- WordPress 6.9.4 (es_ES) with Kadence theme
- Homepage: Hero, La Asociación, Pilares, Beneficios, Eventos, Miembros, Hazte Miembro, Contacto
- Brand identity: #13294b navy, #a12932 burgundy, #c69c48 gold
- Fonts: Raleway (headings) + Source Sans 3 (body) + Lato (UI)
- Plugins: Kadence Blocks, Polylang, Contact Form 7
- Custom CSS with full brand styling and responsive layout
- HTTPS enforced via wp-config.php proxy detection
2026-05-19 19:25:59 +02:00

41 lines
1.0 KiB
PHP

<?php
/**
* Template part for displaying comments list.
*
* @package kadence
*/
namespace Kadence;
?>
<?php
if ( have_comments() ) {
do_action( 'kadence_before_comments_list' );
$title_output = '<h2 class="comments-title">';
$comment_count = (int) get_comments_number();
if ( 1 === $comment_count ) {
$title_output .= esc_html__( 'One Comment', 'kadence' );
} else {
$title_output .= sprintf(
/* translators: 1: comment count number */
esc_html( _nx( '%1$s Comment', '%1$s Comments', $comment_count, 'comments title', 'kadence' ) ),
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
number_format_i18n( $comment_count )
);
}
$title_output .= '</h2><!-- .comments-title -->';
echo wp_kses_post( apply_filters( 'kadence_single_post_comments_title', $title_output ) );
the_comments_navigation();
kadence()->the_comments();
if ( ! comments_open() ) {
?>
<p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'kadence' ); ?></p>
<?php
}
do_action( 'kadence_after_comments_list' );
}