Advertisement
Guest User

buddypress.php

a guest
Sep 13th, 2013
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.94 KB | None | 0 0
  1. <?php
  2. /**
  3.  * For use by all BuddyPress Components.
  4.  */
  5.  
  6. get_header();
  7.  
  8. // Get theme options
  9. global $wordstrap_theme_options;
  10. ?>
  11. <div class="row-fluid">
  12.  
  13.     <?php get_sidebar('left'); ?>
  14.  
  15.     <div class="<?php echo WS_SPANCOL_CENTER; ?>">
  16.         <div class="well">
  17.  
  18.             <?php
  19.             if ($wordstrap_theme_options['hide_wsbreadcrumb'] != 1) :
  20.                 get_template_part('partials/part_breadcrumb');
  21.             endif;
  22.             ?>
  23.  
  24.             <?php while (have_posts()) : the_post(); ?>
  25.  
  26.  
  27. <article class="ws-article <?php if (is_page()) echo 'ws-page'; ?>" id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  28.  
  29. <header class="entry-header">
  30.  
  31.     <h1 class="entry-title"><?php the_title(); ?></h1>
  32.  
  33. </header><!-- .entry-header -->
  34.  
  35. <div class="entry-content clearfix ws-ispage">
  36.  
  37.         <?php the_content(); ?>
  38.  
  39.     <?php
  40.  
  41.         // Linked pages
  42.         wp_link_pages(array(
  43.             'next_or_number'    => 'number',
  44.             'nextpagelink'      => __('Next page', 'wordstrap'),
  45.             'previouspagelink'  => __('Previous page', 'wordstrap'),
  46.             'pagelink'          => '%',
  47.             'link_before'       => '<span class="btn">',
  48.             'link_after'        => '</span>',
  49.             'before'            => '<div class="clearfix"></div><br />'. __('Pages:','wordstrap') .' <div class="ws-pages btn-toolbar">',
  50.             'after'             => '</div>'
  51.         ));
  52.         ?>
  53.  
  54. </div><!-- .entry-content -->
  55.  
  56.  
  57. <?php if ($wordstrap_theme_options['article_social'] == 1) :
  58.         echo ws_social_share();
  59.     endif; ?>
  60.  
  61. </article><!-- #post-<?php the_ID(); ?> -->
  62.  
  63.                 <div id="ws-comment-list">
  64.  
  65.                     <?php comments_template( '', true ); ?>
  66.  
  67.                 </div>
  68.  
  69.             <?php endwhile; ?>
  70.         </div>
  71.     </div><!-- .<?php echo WS_SPANCOL_CENTER; ?> -->
  72.  
  73.     <?php get_sidebar(); ?>
  74.  
  75. </div><!-- .row-fluid -->
  76.  
  77. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement