Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
query_posts(''); // 特定のカテゴリーを除外
if (have_posts()) :
while (have_posts()) :
<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(); ?>
endwhile; endif;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment