-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
executable file
·49 lines (30 loc) · 1.68 KB
/
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 get_header() ?>
<div id="content">
<div class="padder double-border">
<?php do_action( 'bp_before_blog_page' ) ?>
<div class="page" id="blog-page" role="main">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="post-content">
<?php /* ?><h2 class="posttitle"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e( 'Permanent Link to', 'buddypress' ) ?> <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2><?php */ ?>
<?php
if(has_post_thumbnail()):
the_post_thumbnail('medium');
endif;
?>
<p class="date"><?php /* printf( __( '%1$s <span>in %2$s</span>', 'buddypress' ), get_the_date(), get_the_category_list( ', ' ) );*/ ?></p>
<div class="entry">
<?php the_content( __( 'Read the rest of this entry →', 'buddypress' ) ); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-link"><p>' . __( 'Pages: ', 'buddypress' ), 'after' => '</p></div>', 'next_or_number' => 'number' ) ); ?>
</div>
<?php /* ?><p class="postmetadata"><?php the_tags( '<span class="tags">' . __( 'Tags: ', 'buddypress' ), ', ', '</span>' ); ?> <span class="comments"><?php comments_popup_link( __( 'No Comments »', 'buddypress' ), __( '1 Comment »', 'buddypress' ), __( '% Comments »', 'buddypress' ) ); ?></span></p><?php */ ?>
</div>
</div>
<?php comments_template(); ?>
<?php endwhile; endif; ?>
</div><!-- .page -->
<?php do_action( 'bp_after_blog_page' ) ?>
</div><!-- .padder -->
</div><!-- #content -->
<?php get_sidebar() ?>
<?php get_footer();?>