forked from hakkens/davehakkens
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page-with-sidebar.php
55 lines (41 loc) · 1.39 KB
/
page-with-sidebar.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
<?php
/*
Template Name: Normal page with sidebar
Description: Community page with sidebar
*/
get_header();
get_template_part( 'navbar' );
?>
<div id="submenu">
<a href="https://davehakkens.nl/community/dashboard"><div id="menuitems" class="menuitemnews">activity</div></a>
<a href="https://davehakkens.nl/community/forums"><div id="menuitems" class="menuitemforums">forums</div></a>
<a href="https://davehakkens.nl/community/members"><div id="menuitems" class="menuitemarmy">army</div></a>
<a href="https://davehakkens.nl/community/help-out"><div id="menuitems" class="menuitemhelp">help</div></a>
<a href="https://davehakkens.nl/community/army"><div id="menuitems" class="menuitemjoinus">join us</div></a>
</div>
<div id="topbar">
<?php
if( function_exists( 'yoast_breadcrumb' ) ) {
yoast_breadcrumb( '<p id="breadcrumbs">','</p>' );
}
?>
</div>
<div id="content">
<div class="buddypress"><h1><?php the_title(); ?></h1></div>
<div class="post">
<?php
if( have_posts() ) : while ( have_posts() ) : the_post();
$post_meta = get_post_meta( $post->ID );
?>
<div class="post-content">
<?php the_content(); ?>
</div>
<?php endwhile; endif; ?>
</div>
<div class="sidebar-banner"> </div>
<div class="alt-forum-sidebar">
<?php dynamic_sidebar( 'forum-sidebar' ); ?>
</div>
</div>
<?php get_footer(); ?>
<?php edit_post_link(); ?>