Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /var/www/theprintave/wp-content/themes/pricom/templates/archive/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/theprintave/wp-content/themes/pricom/templates/archive/post-meta.php
<?php
/**
 * @package    HaruTheme
 * @version    1.0.0
 * @author     Administrator <admin@harutheme.com>
 * @copyright  Copyright 2022, HaruTheme
*/
?>
<div class="post-meta-date"><?php echo date_i18n( get_option( 'date_format' ), strtotime(get_the_date('Y-m-d')) ); ?></div>
<div class="post-meta-author"><span class="post-by"><?php echo esc_html__( 'by', 'pricom' ) ?></span>
  <?php printf('<a href="%1$s">%2$s</a>', esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_html( get_the_author() ) ); ?>
</div>
<div class="post-meta-comment">
  <?php 
    $num_comments = get_comments_number();
    if ( $num_comments == 0 ) {
      $comments = esc_html__( 'No Comments', 'pricom' );
    } elseif ( $num_comments > 1 ) {
      $comments = $num_comments . esc_html__( ' Comments', 'pricom' );
    } else {
      $comments = esc_html__( '1 Comment', 'pricom' );
    }

    printf('<a href="%1$s">%2$s</a>', esc_url( get_comments_link() ), $comments ); 
  ?>
</div>
<?php if ( is_sticky() ) : ?>
<div class="post-meta-sticky"><?php echo esc_html__( 'Sticky', 'pricom' ); ?></div>
<?php endif; ?>

Spamworldpro Mini