| Server IP : 104.26.4.103 / Your IP : 216.73.216.4 Web Server : nginx/1.27.1 System : Linux in-5 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64 User : arabianexpress ( 1872) PHP Version : 8.0.30 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /storage/v9321/leapdubai/public_html/wp-content/themes/printx/template-parts/blog/ |
Upload File : |
<?php
/**
* Template part for displaying post meta
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package printx
*/
$categories = get_the_terms( $post->ID, 'category' );
$printx_blog_date = get_theme_mod( 'printx_blog_date', true );
$printx_blog_comments = get_theme_mod( 'printx_blog_comments', true );
$printx_blog_author = get_theme_mod( 'printx_blog_author', true );
$printx_blog_cat = get_theme_mod( 'printx_blog_cat', false );
?>
<div class="postbox__meta">
<?php if ( !empty($printx_blog_author) ): ?>
<span><a href="<?php print esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) );?>"><i class="fa-regular fa-user"></i> <?php print ucwords(get_the_author());?></a></span>
<?php endif; ?>
<?php if ( !empty($printx_blog_date) ): ?>
<span><i class="fa-light fa-calendar-days"></i> <?php the_time( get_option('date_format') ); ?> </span>
<?php endif; ?>
<?php if ( !empty($printx_blog_comments) ): ?>
<span><a href="<?php comments_link();?>"><i class="fal fa-comments"></i> <?php comments_number();?></a></span>
<?php endif; ?>
</div>