Skip to content

Commit

Permalink
Merge pull request #1199 from greenpeace/planet-5373
Browse files Browse the repository at this point in the history
PLANET-5373 Remove the "by" string in post details page and taxonomy details page
  • Loading branch information
comzeradd authored Oct 9, 2020
2 parents 59edbff + ba0b735 commit 6a1fe7c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion templates/single.twig
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
<div class="single-post-meta">
{% if post.author.name %}
<address class="single-post-author">
{{ __( 'by', 'planet4-master-theme' ) }}
{% if not ( post.get_author_override ) %}
<a href="{{ post.author.path }}">{{ post.author.name }}</a>
{% else %}
Expand Down
2 changes: 1 addition & 1 deletion templates/tease-taxonomy-post.twig
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

<div class="search-result-item-info">
{% if ( post.author ) %}
<span class="search-result-item-author">{{ __( 'by', 'planet4-master-theme' ) }}
<span class="search-result-item-author">
{% if not ( post.get_author_override ) %}
<a href="{{ post.author.path }}">{{ post.author }}</a>
{% else %}
Expand Down

0 comments on commit 6a1fe7c

Please sign in to comment.