Browse Source

:construction_worker:

windhamdavid 7 years ago
parent
commit
b0f9ed4073
3 changed files with 17 additions and 1 deletions
  1. 0 1
      attachment.php
  2. 0 0
      front-page.php
  3. 17 0
      page-studio.php

+ 0 - 1
attachment.php

@@ -22,7 +22,6 @@
 						</p>
 						<?php } ?>
 					<?php the_content(); ?>
-					<?php comments_template( '', true ); ?>
 					<div class="clear">&nbsp;</div>
 					<div id="nav-below" class="navigation">
 						<div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '&larr;', 'Previous post link', 'daw' ) . '</span> %title' ); ?></div>

File diff suppressed because it is too large
+ 0 - 0
front-page.php


+ 17 - 0
page-studio.php

@@ -301,6 +301,23 @@
 			</div>
 			<?php endwhile; ?>
 		</div>
+		<div class="row">							
+			<?php query_posts('category_name=studio&offset=9&showposts=3'); ?>
+			<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
+			<div class="col-sm-4">
+				<div class="studio-thumbnail">
+					<?php $img_url = wp_get_attachment_image_src(get_post_thumbnail_id(),'studio'); ?>
+					<a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( '%s', 'daw' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><img class="studio-thumb" src="<?php echo $img_url[0];?>" width="100%" alt="<?php the_title(); ?>"/></a>
+				</div>
+				<article class="studio">
+					<div class="entry-content">		
+						<h4 class="tight"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( '%s', 'daw' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h4>
+						<?php dw_good_excerpt(110); ?>
+					</div>
+				</article>
+			</div>
+			<?php endwhile; ?>
+		</div>
 	</div>
 	
 <?php get_footer('studio'); ?>

Some files were not shown because too many files changed in this diff