Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <?php
- $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), full );
- $image = (empty($image['0']))? '/wp-content/uploads/2011/09/img-3.png' : $image['0'];
- $link = get_bloginfo( 'template_url' )."/image.php?src=".$image."&w=121&h=120";
- ?>
- <div id="content">
- <section class="one-column" >
- <?php if (have_posts()) : ?>
- <?php while (have_posts()) : the_post(); ?>
- <article>
- <h1 class="blue auto"><?php the_title(); ?></h1>
- <div class="item">
- <div class="description">
- <img src="<?php echo $link; ?>" class="alignleft ">
- <?php the_content(); ?>
- </div>
- </div>
- </article>
- <?php endwhile; ?>
- <?php endif; ?>
- </section>
- <?php include(TEMPLATEPATH.'/bottom_slider.php'); ?>
- <?php include(TEMPLATEPATH.'/brands.php'); ?>
- </div><!-- #content-->
- </div><!-- #wrapper -->
- <?php get_footer(); ?>
Add Comment
Please, Sign In to add comment