-
Notifications
You must be signed in to change notification settings - Fork 0
/
page_members.php
58 lines (53 loc) · 1.71 KB
/
page_members.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
50
51
52
53
54
55
56
57
58
<?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme and one of the
* two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* For example, it puts together the home page when no home.php file exists.
*
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage Wp_Bootstrap
* @since Wp Bootstrap 1.0
*/
/* Template Name: Members Page*/
// Gets page_members.php
get_header();
?>
<div class="container">
<!-- Example row of columns -->
<div class="row well containerShadow">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-9 well well-sm" id="registerContent">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<h1><a href="<?php the_permalink(); ?>">
<?php the_title(); ?>
</a></h1>
<?php edit_post_link(); ?>
<hr>
<?php the_content(); ?>
<hr>
</div>
<?php endwhile; else: ?>
<p>
<?php _e('Sorry, this page does not exist.'); ?>
</p>
<?php endif; ?>
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-3">
<!-- sidebar-7 also known as MembersRight -->
<?php if ( is_active_sidebar( 'sidebar-7' ) ) : ?>
<div id="sidebar-7" class="sidebar-container" role="complementary">
<div class="widget-area">
<?php dynamic_sidebar( 'sidebar-7' ); ?>
</div><!-- .widget-area -->
</div><!-- #secondary -->
<?php endif; ?>
</div>
</div>
</div>
<?php
// Gets footer.php
get_footer();
?>