Skip to content

Commit

Permalink
Solved bug #1539
Browse files Browse the repository at this point in the history
  • Loading branch information
fenriz07 committed Oct 7, 2018
1 parent ff59409 commit 2fcd2a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,9 @@
rewind_posts();
$counter = 1;
while ( have_posts() ) : the_post();
$post_type = get_post_type();
$post_type = get_post_type();
$partial = largo_get_partial_by_post_type( 'archive', $post_type, 'archive' );
echo $partial;
get_template_part( 'partials/content', $partial );
do_action( 'largo_loop_after_post_x', $counter, $context = 'archive' );
$counter++;
Expand Down
2 changes: 1 addition & 1 deletion inc/byline_class.php
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ function generate_byline() {
}

// If there are multiple coauthors, join them with commas and 'and'
if ( count( $out ) > 1 ) {
if ( count( $out ) > 1 && !is_author()) {
end( $out );
$key = key( $out );
reset( $out );
Expand Down

0 comments on commit 2fcd2a1

Please sign in to comment.