Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ceba767

Browse files
authoredMay 14, 2022
Merge pull request #177 from Latas2001/patch-1
Update h-card.php
2 parents 2dea963 + 2f9e610 commit ceba767

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed
 

‎templates/h-card.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<div class="hcard-display h-card vcard p-author">
22
<div class="hcard-header">
33
<?php if ( ! $avatar ) { ?>
4-
<a class="u-url url fn u-uid" href="<?php echo esc_url( $url ); ?>" rel="author">
4+
<a class="u-url url fn u-uid" href="<?php echo esc_url( $url ); ?>"rel="author">
55
<p class="hcard-name p-name n"><?php echo $name; ?></p>
66
</a>
77
<?php } else { ?>
8-
<a class="u-url url fn u-uid" href="<?php echo esc_url( $url ); ?>" rel="author"><?php echo $avatar; ?></a>
8+
<a class="u-url url fn u-uid" href=" <?php echo esc_url( $url ); ?>" rel= "author"><?php echo $avatar; ?></a>
99
<p class="hcard-name p-name n"><?php echo $name; ?></p>
1010
<?php }
1111
if ( $args['email'] ) { ?>
@@ -42,5 +42,6 @@
4242
<p class="p-note note"><?php echo $user->get( 'description' ); ?></p>
4343
<?php } ?>
4444
</div> <!-- end hcard-body -->
45-
</div><!-- end hcard-display -->
45+
</div>
46+
<!-- end hcard-display -->
4647
<?php

0 commit comments

Comments
 (0)
Please sign in to comment.