Created
June 11, 2012 18:13
-
-
Save takatoshi/2911700 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
<div id="content"> | |
<?php if (have_posts()) : ?> | |
<?php if (is_search()) : ?> | |
<?php endif; ?> | |
<?php while (have_posts()) : the_post(); ?> | |
<article class="article"> | |
<header> | |
<h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1> | |
<ul class="articleinfo"> | |
<li class="date"><?php echo get_the_date(); ?></li> | |
<li class="tag"><?php echo get_the_tag_list(null, ', ', null); ?></li> | |
</ul> | |
</header> | |
<div class="pic_holder" ><?php the_post_thumbnail(array(220, 220)); ?></div> | |
<?php the_content('続きを読む'); ?> | |
</article><!-- /.article --> | |
<?php endwhile; ?> | |
<?php if (!is_single()) : ?> | |
<?php endif; ?> | |
<?php else: ?> | |
<?php if (is_search()) : ?> | |
<?php elseif(is_404()) : ?> | |
<?php endif; ?> | |
<?php endif; ?> | |
</div><!-- /#content --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment