-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #129 from dshanske/closingdiv
Add template and bump version
- Loading branch information
Showing
7 changed files
with
69 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<div class="hcard-display h-card vcard p-author"> | ||
<div class="hcard-header"> | ||
<?php if ( ! $avatar ) { ?> | ||
<a class="u-url url fn u-uid" href="<?php echo esc_url( $url ); ?>" rel="author"> | ||
<p class="hcard-name p-name n"><?php echo $name; ?></p> | ||
</a> | ||
<?php } else { ?> | ||
<a class="u-url url fn u-uid" href="<?php echo esc_url( $url ); ?>" rel="author"><?php echo $avatar; ?></a> | ||
<p class="hcard-name p-name n"><?php echo $name; ?></p> | ||
<?php } | ||
if ( $args['email'] ) { ?> | ||
<p class="u-email"> | ||
<a rel="me" href="mailto:<?php echo $email; ?>"><?php echo $email; ?></a> | ||
</p> | ||
<?php } ?> | ||
</div> <!-- end hcard-header --> | ||
<div class="hcard-body"> | ||
<ul class="hcard-properties"> | ||
<?php if ( $args['location'] && ( $user->has_prop( 'locality' ) || $user->has_prop( 'region' ) || $user->has_prop( 'country-name' ) ) ) { ?> | ||
<li class="h-adr adr"> | ||
<?php if ( $user->has_prop( 'locality' ) ) { ?> | ||
<span class="p-locality locality"><?php echo $user->get( 'locality' ); ?></span> | ||
<?php } | ||
if ( $user->has_prop( 'region' ) ) { ?> | ||
<span class="p-region region"><?php echo $user->get( 'region' ); ?></span> | ||
<?php } | ||
if ( $user->has_prop( 'country-name' ) ) { ?> | ||
<span class="p-country-name country-name"><?php echo $user->get( 'country-name' ); ?></span> | ||
<?php } ?> | ||
</li> | ||
<?php } | ||
if ( $user->has_prop( 'tel' ) && $user->get( 'tel' ) ) { ?> | ||
<li> | ||
<a class="p-tel tel" href="tel:<?php echo $user->get( 'tel' ); ?>"><?php echo $user->get( 'tel' ); ?></a> | ||
</li> | ||
<?php } ?> | ||
</ul> <!-- end hcard-properties --> | ||
<?php if ( $args['me'] ) { ?> | ||
<?php self::rel_me_list( $user->ID, is_front_page() ); ?> | ||
<?php } | ||
if ( $args['notes'] && $user->has_prop( 'description' ) ) { ?> | ||
<p class="p-note note"><?php echo $user->get( 'description' ); ?></p> | ||
<?php } ?> | ||
</div> <!-- end hcard-body --> | ||
</div><!-- end hcard-display --> | ||
<?php |