HEX
Server: Apache
System: Linux host35.server.ae 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64
User: nokatech (2100)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/nokatech/public_html/wp-content/themes/around/wedocs/content-feedback.php
<?php global $post; ?>
<!-- Resolved -->
<div class="d-flex align-items-center border-top border-bottom mt-5 py-4 wedocs-feedback-wrap wedocs-hide-print mb-0">
    <?php
    $positive = (int) get_post_meta( $post->ID, 'positive', true );
    $negative = (int) get_post_meta( $post->ID, 'negative', true );

    $positive_title = $positive ? sprintf( _n( '%d person found this useful', '%d persons found this useful', $positive, 'around' ), number_format_i18n( $positive ) ) : esc_html__( 'No votes yet', 'around' );
    $negative_title = $negative ? sprintf( _n( '%d person found this not useful', '%d persons found this not useful', $negative, 'around' ), number_format_i18n( $negative ) ) : esc_html__( 'No votes yet', 'around' );
    ?>

    <h3 class="h5 my-2 pr-sm-2 mr-4"><?php echo esc_html__( 'Did you find this article helpful?', 'around' ); ?></h3>

    <div class="text-nowrap">

        <a href="#" class="btn-like" data-id="<?php the_ID(); ?>" data-type="positive" title="<?php echo esc_attr( $positive_title ); ?>">
           

            <?php if (  0 && $positive ) { ?>
                <span class="count ml-0"><?php echo number_format_i18n( $positive ); ?></span>
            <?php } ?>
        </a>

        <a href="#" class="btn-dislike" data-id="<?php the_ID(); ?>" data-type="negative" title="<?php echo esc_attr( $negative_title ); ?>">
           

            <?php if ( 0 && $negative ) { ?>
                <span class="count ml-0"><?php echo number_format_i18n( $negative ); ?></span>
            <?php } ?>
        </a>
        
    </div>
    
</div>