Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @@@@ theme page.php @@@@
- <?php get_header(); ?>
- <?php global $woo_options; ?>
- <div id="content" class="page col-full">
- <div id="main" class="col-left">
- <?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('<div id="breadcrumb"><p>','</p></div>'); } ?>
- <?php if (have_posts()) : $count = 0; ?>
- <?php while (have_posts()) : the_post(); $count++; ?>
- <div class="post">
- <h1 class="title"><?php the_title(); ?></h1>
- <div class="entry">
- <?php the_content(); ?>
- <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'woothemes' ), 'after' => '</div>' ) ); ?>
- </div><!-- /.entry -->
- <?php edit_post_link( __('{ Edit }', 'woothemes'), '<span class="small">', '</span>' ); ?>
- </div><!-- /.post -->
- <?php $comm = $woo_options['woo_comments']; if ( ($comm == "page" || $comm == "both") ) : ?>
- <?php comments_template(); ?>
- <?php endif; ?>
- <?php endwhile; else: ?>
- <div class="post">
- <p><?php _e('Sorry, no posts matched your criteria.', 'woothemes') ?></p>
- </div><!-- /.post -->
- <?php endif; ?>
- </div><!-- /#main -->
- <?php get_sidebar(); ?>
- </div><!-- /#content -->
- <?php get_footer(); ?>
- @@@@@@@@@@@@@@@@@@@@@@
- @@@@@@ Buddypress page.php @@@
- <?php get_header() ?>
- <div id="content">
- <div class="padder">
- <?php do_action( 'bp_before_blog_page' ) ?>
- <div class="page" id="blog-page" role="main">
- <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
- <h2 class="pagetitle"><?php the_title(); ?></h2>
- <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <div class="entry">
- <?php the_content( __( '<p class="serif">Read the rest of this page →</p>', 'buddypress' ) ); ?>
- <?php wp_link_pages( array( 'before' => '<div class="page-link"><p>' . __( 'Pages: ', 'buddypress' ), 'after' => '</p></div>', 'next_or_number' => 'number' ) ); ?>
- <?php edit_post_link( __( 'Edit this page.', 'buddypress' ), '<p class="edit-link">', '</p>'); ?>
- </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(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement