Exemplo n.º 1
0
function greybox_pub()
{
    $greybox_author_link = get_author_posts_url(get_the_author_meta('ID'));
    $greybox_author_href = '<a href="' . $greybox_author_link . '">' . get_the_author() . '</a>';
    echo '<a href="' . get_permalink() . '">';
    printf(__('Published on: %1$s by %2$s', 'greybox'), greybox_date(), $greybox_author_href);
    echo '</a>';
}
Exemplo n.º 2
0
    echo get_permalink();
    ?>
"><span class="dashicons dashicons-admin-links notitle"></span></a>
<?php 
}
?>

		<?php 
if (has_post_thumbnail()) {
    the_post_thumbnail('thumbnail');
}
?>

<?php 
if (get_theme_mod('gb_link_excerpt') == '1') {
    the_excerpt();
} else {
    the_content();
}
?>

	</div><!-- end post content -->

		<div class="aside-meta">
			<?php 
printf(__('Published on %1$s at %2$s', 'greybox'), greybox_date(), get_the_time());
?>
		</div>

	</div><!-- end "Entry" -->