Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 89 lines (58 sloc) 3.865 kb
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
1 <?php
2 /**
3 * Template Name: Biography
4 *
5 * A page template for listing the page author's avatar, biographical info, and other links set in their profile.
6 * Should make it easy to create an about page or biography for single-author blogs.
7 *
8 * @package Hybrid
9 * @subpackage Template
a27065a More massive updates and cleanup.
greenshady authored
10 * @link http://themehybrid.com/themes/hybrid/page-templates/biography
11 * @deprecated 0.9.0 This template will eventually be moved to the Hybrid page templates pack.
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
12 */
13
eceb041 Crazy amounts of updates to bring this up to date with Hybrid Core.
greenshady authored
14 get_header(); // Loads the header.php template. ?>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
15
16 <div id="content" class="hfeed content">
17
eceb041 Crazy amounts of updates to bring this up to date with Hybrid Core.
greenshady authored
18 <?php do_atomic( 'before_content' ); // hybrid_before_content ?>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
19
20 <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
21
22 <div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
23
eceb041 Crazy amounts of updates to bring this up to date with Hybrid Core.
greenshady authored
24 <?php do_atomic( 'before_entry' ); // hybrid_before_entry ?>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
25
26 <div class="entry-content">
27
28 <div id="hcard-<?php the_author_meta( 'user_nicename' ); ?>" class="author-profile vcard">
29
30 <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>" title="<?php the_author_meta( 'display_name' ); ?>">
31 <?php echo get_avatar( get_the_author_meta( 'user_email' ), '100', '', get_the_author_meta( 'display_name' ) ); ?>
32 </a>
33
34 <p class="author-bio">
35 <?php the_author_meta( 'description' ); ?>
36 </p><!-- .author-bio -->
37
38 <ul class="xoxo clear">
39
40 <?php if ( get_the_author_meta( 'nickname' ) ) : ?>
6d68626 @justintadlock Switch all calls of hybrid_get_textdomain() to 'hybrid'.
authored
41 <li><strong><?php _e( 'Nickname:', 'hybrid' ); ?></strong> <span class="nickname"><?php the_author_meta( 'nickname' ); ?></span></li>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
42 <?php endif; ?>
43
44 <?php if ( get_the_author_meta( 'user_url' ) ) : ?>
6d68626 @justintadlock Switch all calls of hybrid_get_textdomain() to 'hybrid'.
authored
45 <li><strong><?php _e( 'Website:', 'hybrid' ); ?></strong> <a class="url" href="<?php the_author_meta( 'user_url' ); ?>" title="<?php the_author_meta( 'user_url' ); ?>"><?php the_author_meta( 'user_url' ); ?></a></li>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
46 <?php endif; ?>
47
48 <?php if ( get_the_author_meta( 'aim' ) ) : ?>
6d68626 @justintadlock Switch all calls of hybrid_get_textdomain() to 'hybrid'.
authored
49 <li><strong><?php _e( 'AIM:', 'hybrid' ); ?></strong> <a class="url" href="aim:goim?screenname=<?php the_author_meta( 'aim' ); ?>" title="<?php printf( __( 'IM with %1$s', 'hybrid' ), get_the_author_meta( 'aim' ) ); ?>"><?php the_author_meta( 'aim' ); ?></a></li>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
50 <?php endif; ?>
51
52 <?php if ( get_the_author_meta( 'jabber' ) ) : ?>
6d68626 @justintadlock Switch all calls of hybrid_get_textdomain() to 'hybrid'.
authored
53 <li><strong><?php _e( 'Jabber:', 'hybrid' ); ?></strong> <a class="url" href="xmpp:<?php the_author_meta( 'jabber' ); ?>@jabberservice.com" title="<?php printf( __( 'IM with %1$s', 'hybrid' ), get_the_author_meta( 'jabber' ) ); ?>"><?php the_author_meta( 'jabber' ); ?></a></li>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
54 <?php endif; ?>
55
56 <?php if ( get_the_author_meta( 'yim' ) ) : ?>
6d68626 @justintadlock Switch all calls of hybrid_get_textdomain() to 'hybrid'.
authored
57 <li><strong><?php _e( 'Yahoo:', 'hybrid' ); ?></strong> <a class="url" href="ymsgr:sendIM?<?php the_author_meta( 'yim' ); ?>" title="<?php printf( __( 'IM with %1$s', 'hybrid' ), get_the_author_meta( 'yim' ) ); ?>"><?php the_author_meta( 'yim' ); ?></a></li>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
58 <?php endif; ?>
59
60 </ul><!-- .xoxo -->
61
62 </div><!-- .author-profile .vcard -->
63
64 <?php the_content(); ?>
6d68626 @justintadlock Switch all calls of hybrid_get_textdomain() to 'hybrid'.
authored
65 <?php wp_link_pages( array( 'before' => '<p class="page-links pages">' . __( 'Pages:', 'hybrid' ), 'after' => '</p>' ) ); ?>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
66
67 </div><!-- .entry-content -->
68
eceb041 Crazy amounts of updates to bring this up to date with Hybrid Core.
greenshady authored
69 <?php do_atomic( 'after_entry' ); // hybrid_after_entry ?>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
70
71 </div><!-- .hentry -->
72
eceb041 Crazy amounts of updates to bring this up to date with Hybrid Core.
greenshady authored
73 <?php do_atomic( 'after_singular' ); // hybrid_after_singular ?>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
74
a27065a More massive updates and cleanup.
greenshady authored
75 <?php comments_template( '/comments.php', true ); // Loads the comments.php template ?>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
76
77 <?php endwhile; ?>
78
79 <?php else: ?>
80
eceb041 Crazy amounts of updates to bring this up to date with Hybrid Core.
greenshady authored
81 <?php get_template_part( 'loop-error' ); // Loads the loop-error.php template. ?>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
82
83 <?php endif; ?>
84
eceb041 Crazy amounts of updates to bring this up to date with Hybrid Core.
greenshady authored
85 <?php do_atomic( 'after_content' ); // hybrid_after_content ?>
6ef4166 Moving the /themes/hybrid project online. We'll lose all of our revi…
greenshady authored
86
87 </div><!-- .content .hfeed -->
88
eceb041 Crazy amounts of updates to bring this up to date with Hybrid Core.
greenshady authored
89 <?php get_footer(); // Loads the footer.php template. ?>
Something went wrong with that request. Please try again.