Skip to content

Instantly share code, notes, and snippets.

@pochi-web pochi-web/index.php
Last active Nov 10, 2017

What would you like to do?
<?php get_header();?>
<div id="header_layer">
<?php bloginfo('name' ); ?>
<p><?php bloginfo('description');?></p>
<nav id="header_nav">
<main id="category_main" <?php post_class();?>>
<?php if(have_posts()):?>
<?php while(have_posts()):the_post();?>
<section class="articles_index">
<h2><a href="<?php the_permalink(); ?>"><?php echo the_title();?></a></h2>
<time class="date"><?php the_time('Y年n月j日'); ?></time>
<div class="articles_index_thumbnail">
<a href="<?php the_permalink(); ?>">
<?php the_post_thumbnail(); ?>
<nav id="tag_navigation">
<?php if (the_category()) the_category('<ul id="tag_list"><li class="tag_name">','</li><li class="tag_name">','</li></ul>'); ?>
<?php endwhile;?>
<div style="width:100%; text-align:center;">;
<?php posts_nav_link( ' &#183; ', 'previous page', 'next page' ); ?>
<?php endif;?>
<?php get_sidebar(); ?>
<?php get_footer();?>

This comment has been minimized.

Copy link
Owner Author

commented Nov 3, 2017


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.