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 | |
query_posts(''); // 特定のカテゴリーを除外 | |
if (have_posts()) : | |
while (have_posts()) : | |
the_post(); | |
?> | |
<h1><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h1> | |
<div class="meta"><?php the_time('Y/ m/ d') ?> by <?php the_author() ?> in <?php the_category(', '); ?></div> | |
<div class="detail"> | |
<?php the_content(); ?> | |
</div> | |
<?php | |
endwhile; endif; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment