forked from annecamille/rede_saude_cultura
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fullwidth.php
44 lines (27 loc) · 928 Bytes
/
fullwidth.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
<?php
/*
* Template Name: Full Width Content
*
* A custom page template without sidebar.
*
* @package BuddyBoss
*/
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(); ?>
<h1 class="pagetitle"><?php the_title(); ?></h1>
<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')); ?>
</div>
</div>
<?php endwhile; endif; ?>
</div><!-- .page -->
<?php do_action( 'bp_after_blog_page' ) ?>
</div><!-- .padder -->
</div><!-- #content -->
<?php get_footer(); ?>