Skip to content

Commit

Permalink
Merge pull request #38 from leobaiano/bugfix/issue-27
Browse files Browse the repository at this point in the history
Corrige exibição do nome do autor nas postagens, referente a #27
  • Loading branch information
diegorojas authored Jun 10, 2019
2 parents 4750e2b + bf68225 commit de7840c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions inc/template-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ function coletivo_site_header(){
*/
function coletivo_posted_on()
{
the_post();

$time_string = '<time class="entry-date published updated" datetime="%1$s">%2$s</time>';
if (get_the_time('U') !== get_the_modified_time('U')) {
$time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time><time class="updated hide" datetime="%3$s">%4$s</time>';
Expand All @@ -115,6 +117,7 @@ function coletivo_posted_on()

echo '<span class="posted-on">' . $posted_on . '</span><span class="byline"> ' . $byline . '</span>'; // WPCS: XSS OK.

rewind_posts();
}
}

Expand Down
4 changes: 0 additions & 4 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1463,10 +1463,6 @@ body.blog.blog-list-style .list-article-thumb img {
font-weight: 600;
}

.entry-meta span.byline {
display: none;
}

.entry-footer {
margin-bottom: 30px;
}
Expand Down

0 comments on commit de7840c

Please sign in to comment.