Server IP : 15.235.198.142 / Your IP : 216.73.216.43 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/rhodeworks/wp-content/themes/twentynineteen/template-parts/post/ |
Upload File : |
<?php /** * The template for displaying Current Discussion on posts * * @package WordPress * @subpackage Twenty_Nineteen * @since Twenty Nineteen 1.0 */ /* Get data from current discussion on post. */ $discussion = twentynineteen_get_discussion_data(); $has_responses = $discussion->responses > 0; if ( $has_responses ) { /* translators: %d: Number of comments. */ $meta_label = sprintf( _n( '%d Comment', '%d Comments', $discussion->responses, 'twentynineteen' ), $discussion->responses ); } else { $meta_label = __( 'No comments', 'twentynineteen' ); } ?> <div class="discussion-meta"> <?php if ( $has_responses ) { twentynineteen_discussion_avatars_list( $discussion->authors ); } ?> <p class="discussion-meta-info"> <?php echo twentynineteen_get_icon_svg( 'comment', 24 ); ?> <span><?php echo esc_html( $meta_label ); ?></span> </p> </div><!-- .discussion-meta -->