/** START_EL */
    function start_el(&$output, $comment, $depth, $args, $id = 0)
    {
        $depth++;
        $GLOBALS['comment_depth'] = $depth;
        $GLOBALS['comment'] = $comment;
        $ocommentmail = get_comment_author_email();
        ?>
        
    <div class="media well">
        
        <a class="pull-left" href="<?php 
        comment_author_url();
        ?>
" target="_blank">
			<?php 
        echo origines_get_avatar($ocommentmail, $args['avatar_size']);
        ?>
		</a>
		
		<div class="media-body">
		
			<?php 
        if ($comment->comment_approved == '0') {
            ?>
				<em class="comment-awaiting-moderation"><?php 
            _e('Your comment is awaiting moderation.', 'origines');
            ?>
</em>
				<br />
			<?php 
        }
        ?>
			
			<h4 class="comment-heading media-heading pull-left"><?php 
        comment_author_link();
        ?>
</h4>
			
			<div class="muted comment-meta commentmetadata pull-right">
				<small><em><?php 
        /* translators: 1: date, 2: time */
        printf(__('%1$s - %2$s', 'origines'), get_comment_date(), get_comment_time());
        edit_comment_link(__('(Edit)', 'origines'), ' ');
        ?>
</em></small>
			</div><!-- .comment-meta .commentmetadata -->
			
			<div class="clearfix"></div>
		
			<div class="comment-body"><?php 
        comment_text();
        ?>
</div>
			
			<div class="reply">
				<?php 
        comment_reply_link(array_merge($args, array('depth' => $depth, 'max_depth' => $args['max_depth'])));
        ?>
			</div><!-- .reply -->
 			
    <?php 
    }
Example #2
0
			<div id="o-content" itemprop="MainContentofPage">

				<?php 
    if (get_the_author_meta('description')) {
        ?>
				
				<div id="o-author-info" class="well media">
					<a href="<?php 
        echo esc_url(get_author_posts_url(get_the_author_meta('ID')));
        ?>
" alt="<?php 
        the_author();
        ?>
" id="o-author-avatar-link" class="pull-left">
						<?php 
        origines_get_avatar(get_the_author_meta('user_email'), 96);
        ?>
					</a>
					<div id="o-author-description" class="media-body">
						<h4 id="o-author-info-title" class="media-heading">
							<?php 
        printf(__('About %s', 'origines'), get_the_author());
        ?>
						</h4> <!-- /#o-author-info-title -->
						<p><?php 
        the_author_meta('description');
        ?>
</p>
					</div> <!-- /#o-author-description -->
				</div> <!-- /#o-author-info -->