<div style="font-size:20px; padding-left:10px; padding-bottom:20px; padding-top:10px;position:absolute; bottom:0px; background-color:rgba(44, 62, 81, 0.87); padding-right:10px; color:white" class="cap"><?php _e(the_title(), 'harmonux'); ?> </div> <div class="smartlib-thumbnail-caption"><a href="<?php echo get_permalink(); ?> " class="smartlib-caption-link"><?php _e('Read more', 'harmonux'); ?> <i class="fa fa-angle-right"></i></a></div> </div> <?php } else { harmonux_category_line(); } ?> <h3 class="entry-title"> <a href="<?php the_permalink(); ?> " title="<?php echo esc_attr(sprintf(__('Permalink to %s', 'harmonux'), the_title_attribute('echo=0'))); ?> " rel="bookmark"><?php
/** * * Display meta line under post title * * @param string $type author|category|date */ function harmonux_display_meta_post($type = 'author') { global $post; ?> <p class="meta-line"> <?php echo harmonux_get_date(); ?> <?php $post_format = get_post_format($post->ID); $speacial_formats = array('gallery', 'video'); if (in_array($post_format, $speacial_formats)) { ?> <span class="meta-label smartlib-postformat-info"><?php harmonux_get_awesome_ico($post_format); ?> <?php echo ucfirst($post_format); ?> </span> <?php } if (comments_open() && is_single()) { ?> <span class="meta-label comment-label"><?php comments_popup_link(__('Comment', 'harmonux') . '<i class="' . harmonux_get_awesome_ico('comments') . '"></i></span>', __('1 Reply', 'harmonux'), __('% Replies', 'harmonux')); ?> </span> <?php } if ($type == 'author') { } else { if ($type == 'category') { harmonux_category_line(); } } ?> </p> <?php }