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