forked from hakkens/davehakkens
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page-community-intro.php
83 lines (57 loc) · 3.78 KB
/
page-community-intro.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?php
/*
Template Name: Community page intro
Description: Community page intro
*/
get_header();
get_template_part( 'navbar' );
?>
<div id="background">
<div id="topbar">
<?php
if( function_exists( 'yoast_breadcrumb' ) ) {
yoast_breadcrumb( '<p id="breadcrumbs">','</p>' );
}
?>
</div>
<div id="wide">
<div class="buddypress"><h1><?php the_title(); ?></h1>
</div>
<div class="communitypage">
<div class="thumbnail"><a href="https://davehakkens.nl/community/dashboard"><img class="introthumbnail" src="<?php bloginfo( 'template_url' ); ?>/img/community_news_color.png" width="400" height="400" /></a> <h1>activity</h1> <p>Latest forum activity </p></div>
<div class="thumbnail"><a href="https://davehakkens.nl/community/forums/"><img class="introthumbnail" src="<?php bloginfo( 'template_url' ); ?>/img/community_forum_color.png" width="400" height="400" /></a> <h1>forums</h1> <p>Start a conversation </p></div>
<div class="thumbnail"><a href="https://davehakkens.nl/community/members/"><img class="introthumbnail" src="<?php bloginfo( 'template_url' ); ?>/img/community_army_color.png" width="400" height="400" /></a> <h1>army</h1><p>Connect with eachother</p></div>
<div class="thumbnail"><a href="https://davehakkens.nl/community/help-out"><img class="introthumbnail" src="<?php bloginfo( 'template_url' ); ?>/img/community_helpus_color.png" width="400" height="400" /></a> <h1>help out</h1><p>Participate in our projects</p></div>
<div class="thumbnail"><a href="https://davehakkens.nl/community/army"><img class="introthumbnail" src="<?php bloginfo( 'template_url' ); ?>/img/community_join_color.png" width="400" height="400" /></a> <h1>join</h1> <p>Become a part of it</p></div>
</div>
</div>
</div>
<div id="content">
<div class="wide">
<h2 style="text-align: center;">It takes an army to tackle global problems</h2>
<p style="text-align: center;">We are people from all over the world and unite here to work towards a better future. Together we become mega smart, a powerful voice and able to push global ideas forward. An internet army. Don't worry we are friendly. We haven’t figured it all out yet and learn everyday. But we know that together we can achieve great things. Meet the 15 latest logins below, or <a href="https://davehakkens.nl/community/members">digg</a> into all the troopers </p>
<div class="active-members">
<?php the_widget( 'BP_Core_Recently_Active_Widget', $args ); ?>
</div>
<h2 style="text-align: center;">Participate in our projects</h2>
<div class="ourprojects"><a href="https://davehakkens.nl/community/forums"><img class="alignleft size-full wp-image-73547" src="https://davehakkens.nl/wp-content/uploads/2016/11/icon_color_18.gif" alt="icon_color_18" width="722" height="833" /></a></div>
<div class="ourprojects"><a href="https://davehakkens.nl/community/forums"><img class="alignleft size-full wp-image-73548" src="https://davehakkens.nl/wp-content/uploads/2016/11/icon_color_14.gif" alt="icon_color_14" width="701" height="833" /></a></div>
<div class="ourprojects"><a href="https://davehakkens.nl/community/forums"><img class="alignleft size-full wp-image-73549" src="https://davehakkens.nl/wp-content/uploads/2016/11/icon_color_16.gif" alt="icon_color_16" width="816" height="833" /></a></div>
<div class="your-own"><p style="text-align: center;"><a href="https://davehakkens.nl/community/forums/forum/general/your-own-project/ ">or, start your own</a></p></div>
<?php
if( have_posts() ) : while ( have_posts() ) : the_post();
$post_meta = get_post_meta( $post->ID );
?>
</div>
<?php endwhile; endif; ?>
<div class="sidebar-banner"> </div>
<div class="alt-forum-sidebar">
<?php dynamic_sidebar( 'forum-sidebar' ); ?>
</div>
</div>
<?php get_footer(); ?>
<?php edit_post_link(); ?>