diff --git a/inc/template.php b/inc/template.php index 761288a..f1335c2 100644 --- a/inc/template.php +++ b/inc/template.php @@ -35,7 +35,7 @@ function get_author_ids( WP_Post $post ) : array { } return array_map( function ( WP_Term $term ) : int { - return intval( $term->name ); + return intval( $term->slug ); }, $authors ); }