new format author and date
This commit is contained in:
@@ -6,6 +6,15 @@
|
||||
<h1 class="section-title__title"><?= get_the_author(); ?></h1>
|
||||
</div>
|
||||
|
||||
<?php if (!is_paged()) {
|
||||
$author_description = get_the_author_meta('description');
|
||||
if (!empty($author_description)) {
|
||||
echo '<div class="article-item__text">';
|
||||
echo nl2br(esc_html($author_description));
|
||||
echo '</div>';
|
||||
}
|
||||
}?>
|
||||
|
||||
<div class="articles-preview">
|
||||
<?php
|
||||
$paged = (get_query_var('paged')) ? absint(get_query_var('paged')) : 1;
|
||||
|
||||
Reference in New Issue
Block a user