-
Notifications
You must be signed in to change notification settings - Fork 12
/
onecolumn-page.php
49 lines (31 loc) · 1.15 KB
/
onecolumn-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
39
40
41
42
43
44
45
46
47
48
49
<?php
/*
* Template Name: One column, no sidebar
*
* A custom page template without sidebar.
*
* @package BuddyPress
* @subpackage BP_Default
* @since BuddyPress (1.5)
*/
get_header(); ?>
<div id="content">
<div class="padder one-column">
<?php do_action( 'bp_before_blog_page' ); ?>
<div class="page" id="blog-page" role="main">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h2 class="pagetitle"><?php the_title(); ?></h2>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="entry">
<?php the_content( __( '<p class="serif">Read the rest of this page →</p>', 'bp-classic' ) ); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-link"><p>' . __( 'Pages: ', 'bp-classic' ), 'after' => '</p></div>', 'next_or_number' => 'number' ) ); ?>
<?php edit_post_link( __( 'Edit this page.', 'bp-classic' ), '<p class="edit-link">', '</p>'); ?>
</div>
</div>
<?php comments_template(); ?>
<?php endwhile; endif; ?>
</div><!-- .page -->
<?php do_action( 'bp_after_blog_page' ); ?>
</div><!-- .padder -->
</div><!-- #content -->
<?php get_footer(); ?>