| 1 | <?php get_header() ?> |
|---|
| 2 | |
|---|
| 3 | <div id="content"> |
|---|
| 4 | <div class="padder"> |
|---|
| 5 | <?php do_action( 'template_notices' ) ?> |
|---|
| 6 | |
|---|
| 7 | <?php do_action( 'bp_before_blog_page' ) ?> |
|---|
| 8 | |
|---|
| 9 | <div class="page" id="blog-page"> |
|---|
| 10 | |
|---|
| 11 | <?php if (have_posts()) : while (have_posts()) : the_post(); ?> |
|---|
| 12 | |
|---|
| 13 | <h2 class="pagetitle"><?php the_title(); ?></h2> |
|---|
| 14 | |
|---|
| 15 | <div class="post" id="post-<?php the_ID(); ?>"> |
|---|
| 16 | |
|---|
| 17 | <div class="entry"> |
|---|
| 18 | |
|---|
| 19 | <?php the_content( __( '<p class="serif">Read the rest of this page →</p>', 'buddypress' ) ); ?> |
|---|
| 20 | |
|---|
| 21 | <?php wp_link_pages( array( 'before' => __( '<p><strong>Pages:</strong> ', 'buddypress' ), 'after' => '</p>', 'next_or_number' => 'number')); ?> |
|---|
| 22 | <?php edit_post_link( __( 'Edit this entry.', 'buddypress' ), '<p>', '</p>'); ?> |
|---|
| 23 | |
|---|
| 24 | </div> |
|---|
| 25 | |
|---|
| 26 | </div> |
|---|
| 27 | |
|---|
| 28 | <?php endwhile; endif; ?> |
|---|
| 29 | |
|---|
| 30 | </div><!-- .page --> |
|---|
| 31 | |
|---|
| 32 | <?php do_action( 'bp_after_blog_page' ) ?> |
|---|
| 33 | |
|---|
| 34 | </div><!-- .padder --> |
|---|
| 35 | </div><!-- #content --> |
|---|
| 36 | |
|---|
| 37 | <?php locate_template( array( 'sidebar.php' ), true ) ?> |
|---|
| 38 | |
|---|
| 39 | <?php get_footer(); ?> |
|---|