Created
November 30, 2012 15:15
-
-
Save crackcomm/4176335 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* The template for displaying all pages. | |
* | |
* This is the template that displays all pages by default. | |
* Please note that this is the WordPress construct of pages | |
* and that other 'pages' on your WordPress site will use a | |
* different template. | |
* | |
* @package WordPress | |
* @subpackage RGB Store | |
* @since RGB Store 1.0 | |
*/ | |
get_header(); ?> | |
<div id="maincontent"> | |
<div id="main"> | |
<div id="mainleft"> | |
<?php if ( function_exists('wpsc_is_viewable_taxonomy') && wpsc_is_viewable_taxonomy() ) { ?> | |
<div class="pad_content"> | |
<?php } else { ?> | |
<div class="c_inner"> | |
<div class="c_inner_t"> | |
<div class="c_inner_b"> | |
<div class="pad_content_inner"> | |
<?php } ?> | |
<?php if ( function_exists('yoast_breadcrumb') && !is_front_page() ) { | |
yoast_breadcrumb('<div id="breadcrumbs">','</div>'); | |
} ?> | |
<?php include_once (TEMPLATEPATH . '/title.php');?> | |
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> | |
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> | |
<div class="entry-content"> | |
<?php the_content(); ?> | |
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'templatesquare' ), 'after' => '</div>' ) ); ?> | |
<?php edit_post_link( __( 'Edit', 'templatesquare' ), '<span class="edit-link">', '</span>' ); ?> | |
</div><!-- .entry-content --> | |
</div><!-- #post-## --> | |
<?php comments_template( '', true ); ?> | |
<?php endwhile; ?> | |
<?php if ( function_exists('wpsc_is_viewable_taxonomy') && wpsc_is_viewable_taxonomy() ) { ?> | |
</div><!-- end pad_content_inner --> | |
<?php } else { ?> | |
</div><!-- end pad_content_inner --> | |
</div> | |
</div> | |
</div> | |
<?php } ?> | |
</div><!-- end mainleft --> | |
<div id="side"> | |
<?php get_sidebar('page');?> | |
</div><!-- end side --> | |
<div class="clear"></div><!-- clear float --> | |
</div><!-- end main --> | |
</div><!-- end maincontent --> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment