HEX
Server: Apache
System: Linux nc-ph-4101.simplemoneygoals.com 5.14.0-503.21.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Jan 12 09:45:05 EST 2025 x86_64
User: dailygoldindex (1004)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/dailygoldindex/public_html/wp-content/themes/jnews/fragment/comments-button.php
<?php
global $post;
?>

<div id="comments" class="ajax_comment_button" data-post-type="<?php esc_html_e($post->post_type); ?>" data-id="<?php esc_html_e($post->ID); ?>" data-loading="<?php jnews_print_translation('Loading Comment', 'jnews', 'loading-comment'); ?>">
    <span class="button">
        <?php
            if(jnews_get_comments_number($post->ID)) {
                jnews_print_translation('Read All Comment', 'jnews', 'read-comment');
            } else {
                jnews_print_translation('Leave Comment', 'jnews', 'leave-comment');
            }
        ?>
    </span>
</div>