Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * For use by all BuddyPress Components.
- */
- get_header();
- // Get theme options
- global $wordstrap_theme_options;
- ?>
- <div class="row-fluid">
- <?php get_sidebar('left'); ?>
- <div class="<?php echo WS_SPANCOL_CENTER; ?>">
- <div class="well">
- <?php
- if ($wordstrap_theme_options['hide_wsbreadcrumb'] != 1) :
- get_template_part('partials/part_breadcrumb');
- endif;
- ?>
- <?php while (have_posts()) : the_post(); ?>
- <article class="ws-article <?php if (is_page()) echo 'ws-page'; ?>" id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <header class="entry-header">
- <h1 class="entry-title"><?php the_title(); ?></h1>
- </header><!-- .entry-header -->
- <div class="entry-content clearfix ws-ispage">
- <?php the_content(); ?>
- <?php
- // Linked pages
- wp_link_pages(array(
- 'next_or_number' => 'number',
- 'nextpagelink' => __('Next page', 'wordstrap'),
- 'previouspagelink' => __('Previous page', 'wordstrap'),
- 'pagelink' => '%',
- 'link_before' => '<span class="btn">',
- 'link_after' => '</span>',
- 'before' => '<div class="clearfix"></div><br />'. __('Pages:','wordstrap') .' <div class="ws-pages btn-toolbar">',
- 'after' => '</div>'
- ));
- ?>
- </div><!-- .entry-content -->
- <?php if ($wordstrap_theme_options['article_social'] == 1) :
- echo ws_social_share();
- endif; ?>
- </article><!-- #post-<?php the_ID(); ?> -->
- <div id="ws-comment-list">
- <?php comments_template( '', true ); ?>
- </div>
- <?php endwhile; ?>
- </div>
- </div><!-- .<?php echo WS_SPANCOL_CENTER; ?> -->
- <?php get_sidebar(); ?>
- </div><!-- .row-fluid -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement