* @package activello */ ?> <article id="post-<?php the_ID(); ?> " <?php post_class(); ?> > <div class="blog-item-wrap"> <div class="post-inner-content"> <header class="entry-header page-header"> <?php echo get_single_category(get_the_ID()); ?> <h1 class="entry-title"><a href="<?php the_permalink(); ?> " rel="bookmark"><?php the_title(); ?> </a></h1> <?php if ('post' == get_post_type()) { ?> <div class="entry-meta"> <?php activello_posted_on();
function wyde_post_meta() { global $wyde_options, $wyde_blog_layout; if (!$wyde_blog_layout) { $wyde_blog_layout = $wyde_options['blog_layout']; } ?> <div class="post-meta"> <span class="post-datetime"> <?php if (is_single()) { ?> <span class="date"><a href="<?php echo esc_url(get_day_link(get_the_date('Y'), get_the_date('m'), get_the_date('d'))); ?> "><?php echo get_the_date(); ?> </a></span> <?php } ?> <?php if ($wyde_options['blog_meta_time']) { ?> <span class="time"><?php echo get_post_time('g:i A'); ?> </span> <?php } ?> </span> <?php if ($wyde_options['blog_meta_author']) { ?> <span class="post-author"> <strong><?php echo __('By', 'Vela'); ?> </strong><?php echo the_author_posts_link(); ?> </span> <?php } ?> <?php if ($wyde_options['blog_meta_category']) { ?> <span class="post-category"> <strong><?php echo __('In', 'Vela'); ?> </strong><?php echo get_single_category(); ?> </span> <?php } ?> <?php edit_post_link('<i class="fa fa-edit"></i>'); ?> <div class="meta-right"> <?php if ($wyde_options['blog_meta_comment'] && !post_password_required() && (comments_open() || get_comments_number())) { ?> <span class="comments-link"><?php comments_popup_link('<i class="fa fa-comment-o"></i>0', '<i class="fa fa-comment"></i>1', '<i class="fa fa-comment"></i>%'); ?> </span> <?php } ?> <?php if ($wyde_options['blog_meta_share']) { ?> <div class="share-icons navbar-right"> <a href="#"><i class="fa fa-share-alt"></i></a> <ul class="dropdown-menu"> <li> <a href="http://www.facebook.com/sharer/sharer.php?u=<?php echo urlencode(esc_url(get_permalink())); ?> " target="_blank"><i class="fa fa-facebook"></i>Facebook</a> </li> <li> <a href="https://twitter.com/intent/tweet?source=webclient&url=<?php echo urlencode(esc_url(get_permalink())); ?> &text=<?php echo urlencode(get_the_title()); ?> " target="_blank"><i class="fa fa-twitter"></i>Twitter</a> </li> <li> <a href="https://plus.google.com/share?url=<?php echo urlencode(esc_url(get_permalink())); ?> " target="_blank"><i class="fa fa-google-plus"></i>Google+</a> </li> </ul> </div> <?php } ?> </div> </div> <?php }