<div class="entry-excerpt"><?php 
    echo esc_attr(wp_trim_words(get_the_excerpt(), 10));
    ?>
</div>

	<?php 
}
?>

	<div class="entry-meta">
		<?php 
do_action('marketify_download_entry_meta_before_' . get_post_format());
?>

		<?php 
if (marketify_is_multi_vendor()) {
    ?>
			<?php 
    printf(__('<span class="byline"> by %1$s</span>', 'marketify'), sprintf('<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s %4$s</a></span>', marketify_edd_fes_author_url(get_the_author_meta('ID', $post->post_author)), esc_attr(sprintf(__('View all %s by %s', 'marketify'), edd_get_label_plural(), get_the_author())), esc_html(get_the_author_meta('display_name', $post->post_author)), get_avatar(get_the_author_meta('ID', $post->post_author), 50, apply_filters('marketify_default_avatar', null))));
    ?>
		<?php 
}
?>

		<?php 
do_action('marketify_download_entry_meta_after_' . get_post_format());
?>
	</div>
</header><!-- .entry-header -->
Пример #2
0
	<div class="container">
		<div id="content" class="site-content row">

			<div id="secondary" class="author-widget-area col-md-3 col-sm-5 col-xs-12" role="complementary">
				<div class="download-product-details author-archive">
					<?php 
    do_action('marketify_vendor_profile_before', $author);
    ?>

					<div class="download-author">
						<?php 
    echo get_avatar($author->ID, 130);
    ?>
						<?php 
    printf('<a class="author-link" href="%s" rel="author">%s</a>', marketify_edd_fes_author_url($author->ID), '' != $author->display_name ? esc_attr($author->display_name) : esc_attr($author->user_login));
    ?>
						<span class="author-joined"><?php 
    printf(__('Author since: %s', 'marketify'), date_i18n('Y', strtotime($author->user_registered)));
    ?>
</span>
					</div>

					<?php 
    do_action('marketify_vendor_profile_after_author', $author);
    ?>

					<?php 
    if ('' != $author->description) {
        ?>
					<div class="download-author-bio">