Created
October 14, 2011 20:52
-
-
Save nfreader/1288299 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 class="interior"> | |
<a href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/logo.png" id="intlogo"></a> | |
<div class="submenu"> | |
<?php wp_nav_menu( array('menu' => 'Interior Sub Menu' )); ?> | |
</div> | |
<div class="sidebar"> | |
</div> | |
<div class="posts-96"> | |
<div class="post"> | |
<div class="entry"> | |
<h4>Kitchens</h4> | |
<?php | |
//KITCHENS | |
$args = array( | |
'posts_per_page' => 20, | |
'post_type' => 'post', | |
'cat' => 3, | |
); | |
query_posts($args); | |
if (have_posts()) : ?> | |
<?php while (have_posts()) : the_post(); ?> | |
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"> | |
<?php | |
if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it. | |
the_post_thumbnail('thumbnail'); | |
} | |
else {the_title();} | |
?></a> | |
<?php endwhile; ?> | |
<?php endif; ?> | |
<?php wp_reset_query(); ?> | |
<h4>Baths</h4> | |
<?php | |
//BATHS | |
$args = array( | |
'posts_per_page' => 20, | |
'post_type' => 'post', | |
'cat' => 4, | |
); | |
query_posts($args); | |
if (have_posts()) : ?> | |
<?php while (have_posts()) : the_post(); ?> | |
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"> | |
<?php | |
if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it. | |
the_post_thumbnail('thumbnail'); | |
} | |
else {the_title();} | |
?></a> | |
<?php endwhile; ?> | |
<?php endif; ?> | |
<?php wp_reset_query(); ?> | |
<h4>Other</h4> | |
<?php | |
//OTHER | |
$args = array( | |
'posts_per_page' => 20, | |
'post_type' => 'post', | |
'cat' => 5, | |
); | |
query_posts($args); | |
if (have_posts()) : ?> | |
<?php while (have_posts()) : the_post(); ?> | |
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"> | |
<?php | |
if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it. | |
the_post_thumbnail('thumbnail'); | |
} | |
else {the_title();} | |
?></a> | |
<?php endwhile; ?> | |
<?php endif; ?> | |
<?php wp_reset_query(); ?> | |
</div> | |
</div> | |
</div> <!--End Posts --> | |
<div class="clear"></div> | |
<div class="social_bookmarks"><img src="<?php bloginfo('template_url'); ?>/images/share_this.png"> <a href="http://www.facebook.com/sharer.php?u=<?php the_permalink();?>&t=<?php the_title(); ?>"><img src="<?php bloginfo('template_url'); ?>/images/facebook.png"></a> <a href="http://twitter.com/home?status=<?php the_title(); ?> - <?php echo get_bloginfo('url') ?>?p=<?php the_ID(); ?>"><img src="<?php bloginfo('template_url'); ?>/images/twitter.png"></a> <a href="http://www.linkedin.com/shareArticle?mini=true&url=<?php echo get_bloginfo('url') ?>?p=<?php the_ID(); ?>&title=<?php the_title(); ?>"><img src="<?php bloginfo('template_url'); ?>/images/linkedin.png"></a> | |
</div> | |
</div> | |
<!--End Posts --> | |
</div> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment