Changeset 5737 for trunk/bp-themes/bp-default/archive.php
- Timestamp:
- 02/12/2012 08:09:34 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/archive.php
r4528 r5737 4 4 <div class="padder"> 5 5 6 <?php do_action( 'bp_before_archive' ) ?>6 <?php do_action( 'bp_before_archive' ); ?> 7 7 8 8 <div class="page" id="blog-archives" role="main"> … … 16 16 <?php while (have_posts()) : the_post(); ?> 17 17 18 <?php do_action( 'bp_before_blog_post' ) ?>18 <?php do_action( 'bp_before_blog_post' ); ?> 19 19 20 20 <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> … … 22 22 <div class="author-box"> 23 23 <?php echo get_avatar( get_the_author_meta( 'user_email' ), '50' ); ?> 24 <p><?php printf( _x( 'by %s', 'Post written by...', 'buddypress' ), bp_core_get_userlink( $post->post_author ) ) ?></p>24 <p><?php printf( _x( 'by %s', 'Post written by...', 'buddypress' ), bp_core_get_userlink( $post->post_author ) ); ?></p> 25 25 </div> 26 26 27 27 <div class="post-content"> 28 <h2 class="posttitle"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e( 'Permanent Link to', 'buddypress' )?> <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>28 <h2 class="posttitle"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php _e( 'Permanent Link to', 'buddypress' ); ?> <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> 29 29 30 30 <p class="date"><?php printf( __( '%1$s <span>in %2$s</span>', 'buddypress' ), get_the_date(), get_the_category_list( ', ' ) ); ?></p> … … 40 40 </div> 41 41 42 <?php do_action( 'bp_after_blog_post' ) ?>42 <?php do_action( 'bp_after_blog_post' ); ?> 43 43 44 44 <?php endwhile; ?> … … 48 48 <?php else : ?> 49 49 50 <h2 class="center"><?php _e( 'Not Found', 'buddypress' ) ?></h2>51 <?php get_search_form() ?>50 <h2 class="center"><?php _e( 'Not Found', 'buddypress' ); ?></h2> 51 <?php get_search_form(); ?> 52 52 53 53 <?php endif; ?> … … 55 55 </div> 56 56 57 <?php do_action( 'bp_after_archive' ) ?>57 <?php do_action( 'bp_after_archive' ); ?> 58 58 59 59 </div><!-- .padder --> 60 60 </div><!-- #content --> 61 61 62 <?php get_sidebar() ?>62 <?php get_sidebar(); ?> 63 63 64 64 <?php get_footer(); ?>
Note: See TracChangeset
for help on using the changeset viewer.