ru-se.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

post-meta.php (1006B)


      1 <?php
      2 if ( ! apply_filters('materialis_show_post_meta', true)) {
      3     return;
      4 }
      5 ?>
      6 
      7 <a class="post-footer-link" href="<?php echo esc_url(get_permalink()); ?>">
      8     <i class="mdi small mdi-comment-outline mdc-card__action mdc-card__action--icon" title="<?php esc_attr_e('Comments', 'materialis'); ?>"></i>
      9     <span class="post-footer-value"><?php echo absint(get_comments_number()); ?></span>
     10 </a>
     11 
     12 <a class="post-footer-link" href="<?php echo esc_url(get_permalink()); ?>">
     13     <i class="mdi small mdi-clock mdc-card__action mdc-card__action--icon" title="<?php esc_attr_e('Post Time', 'materialis'); ?>"></i>
     14     <span class="post-footer-value"><?php the_time(get_option('date_format')); ?></span>
     15 </a>
     16 <?php
     17 if (materialis_has_category()) {
     18     ?>
     19     <div class="post-footer-category">
     20         <i class="mdi small mdi-folder-open mdc-card__action mdc-card__action--icon" title="<?php esc_attr_e('Categories', 'materialis'); ?>"></i>
     21         <?php materialis_the_category(); ?>
     22     </div>
     23     <?php
     24 }
     25 ?>