Created
February 28, 2013 11:16
-
-
Save aristath/5056038 to your computer and use it in GitHub Desktop.
This file contains 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 get_header(); ?> | |
<div id="content" class="two_column"> | |
<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> | |
<?php _e('By '); the_author_posts_link(); ?> | |
<a href="/members/<?php the_author_link(); ?>">Visit the seller's profile</a> | |
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> | |
<div class="entry"> | |
<div style="float:left; max-width:350px; "> | |
<?php mp_product_image(true, 'single', null); ?> | |
</div> | |
<div style="float:left; width:425px; "> | |
<?php the_content(); ?> | |
</div> | |
<div style="float:left; width:425px; padding-top:10px;"> | |
<?php echo do_shortcode('[custom_fields_block]'); ?> | |
</div> | |
<div style="float:right; padding-left:320px; height:40px; width:120px; font-weight:bold; font-size: 14px;"> | |
<?php mp_product_price(); ?> | |
<div style="float:right; padding-right: 15px; width:240px; height:40px; "> | |
<?php mp_buy_button(true, 'single'); ?> | |
</div> | |
</div> | |
</div> | |
</div> | |
<?php endwhile; endif; ?> | |
</div><!-- .page --> | |
<?php do_action( 'bp_after_blog_page' ); ?> | |
</div><!-- .padder --> | |
</div><!-- #content --> | |
<?php locate_template( array( 'sidebar-default.php' ), true ) ?> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment