ru-se.com

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

post-single-meta.php (1559B)


      1 <?php
      2 if ( ! apply_filters('materialis_show_post_meta', true)) {
      3     return;
      4 }
      5 ?>
      6 
      7 <div class="post-meta mdc-card__actions col-padding">
      8     <div class="mdc-card__action-icons col-xs-12 col-sm-fit">
      9         <a class="post-footer-link" href="<?php echo esc_url(get_permalink()); ?>">
     10             <i class="mdi small mdi-comment-outline mdc-card__action mdc-card__action--icon" title="Comments"></i>
     11             <span class="post-footer-value"><?php echo absint(get_comments_number()); ?></span>
     12         </a>
     13         <a class="post-footer-link" href="<?php echo esc_url(get_permalink()); ?>">
     14             <i class="mdi small mdi-clock mdc-card__action mdc-card__action--icon" title="Post Time"></i>
     15             <span class="post-footer-value"><?php the_time(get_option('date_format')); ?></span>
     16         </a>
     17         <?php
     18         if (materialis_has_category()) {
     19 
     20             if (is_single()) {
     21                 ?>
     22                 <div class="post-footer-category">
     23                     <i class="mdi small mdi-folder-open mdc-card__action mdc-card__action--icon" title="Categories"></i>
     24                     <?php materialis_the_category(true); ?>
     25                 </div>
     26                 <?php
     27             } else {
     28                 ?>
     29                 <div class="post-footer-category">
     30                     <i class="mdi small mdi-folder-open mdc-card__action mdc-card__action--icon" title="Categories"></i>
     31                     <?php materialis_the_category(); ?>
     32                 </div>
     33                 <?php
     34             }
     35 
     36 
     37         }
     38         ?>
     39     </div>
     40 
     41 </div>