Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/18/2009 02:59:39 PM (16 years ago)
Author:
apeatling
Message:

Fixed blog tab highlighting. Added blogs styles to archive and search results pages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/search.php

    r2170 r2205  
    2323                    <?php do_action( 'bp_before_blog_post' ) ?>
    2424
    25                     <div class="post">
     25                    <div class="post" id="post-<?php the_ID(); ?>">
    2626
    27                         <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e( 'Permanent Link to', 'buddypress' ) ?> <?php the_title(); ?>"><?php the_title(); ?></a></h3>
    28                         <small><?php the_time('l, F jS, Y') ?></small>
     27                        <div class="author-box">
     28                            <?php echo get_avatar( get_the_author_email(), '50' ); ?>
     29                            <p><?php printf( __( 'by %s', 'buddypress' ), bp_core_get_userlink( $post->post_author ) ) ?></p>
     30                        </div>
    2931
    30                         <p class="postmetadata"><?php _e( 'Posted in', 'buddypress' ) ?> <?php the_category(', ') ?> | <?php edit_post_link( __( 'Edit', 'buddypress' ), '', ' | '); ?>  <?php comments_popup_link( __( 'No Comments &#187;', 'buddypress' ), __( '1 Comment &#187;', 'buddypress' ), __( '% Comments &#187;', 'buddypress' ) ); ?></p>
     32                        <div class="post-content">
     33                            <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e( 'Permanent Link to', 'buddypress' ) ?> <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
    3134
    32                         <?php do_action( 'bp_blog_post' ) ?>
     35                            <p class="date"><?php the_time('F j, Y') ?> <em><?php _e( 'in', 'buddypress' ) ?> <?php the_category(', ') ?> <?php printf( __( 'by %s', 'buddypress' ), bp_core_get_userlink( $post->post_author ) ) ?></em></p>
     36
     37                            <div class="entry">
     38                                <?php the_content( __( 'Read the rest of this entry &raquo;', 'buddypress' ) ); ?>
     39                            </div>
     40
     41                            <p class="postmetadata"><span class="tags"><?php the_tags( __( 'Tags: ', 'buddypress' ), ', ', '<br />'); ?></span> <span class="comments"><?php comments_popup_link( __( 'No Comments &#187;', 'buddypress' ), __( '1 Comment &#187;', 'buddypress' ), __( '% Comments &#187;', 'buddypress' ) ); ?></span></p>
     42                        </div>
    3343
    3444                    </div>
Note: See TracChangeset for help on using the changeset viewer.