Skip to content

Commit

Permalink
Merge pull request #25 from humanmade/support-alternative-dropins-for…
Browse files Browse the repository at this point in the history
…-users

Get user properties directly for author pages
  • Loading branch information
goldenapples authored May 21, 2020
2 parents 7a9ce40 + 5856a6c commit 3a7b934
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/template-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ function get_gtm_data_layer() {

$data['subtype'] = 'author';
$data['author'] = [
'slug' => $user->get( 'user_nicename' ),
'name' => $user->get( 'display_name' ),
'slug' => $user->user_nicename,
'name' => $user->display_name,
];
}
}
Expand Down

0 comments on commit 3a7b934

Please sign in to comment.