wptest work(2)

1. Refine templates as simple as possible.: Consider the template hierarchy.

1.1. Edit “page.php” and “single.php” : exclude date, author and comments.

1.2. Prepare “footer-japantourguide.php”.

<?php wp_footer(); ?>  : makes the main_navi sticky.

2. How to display current taxonomy name:

<?php
$term = get_term_by( ‘slug’, get_query_var( ‘term’ ), get_query_var( ‘taxonomy’ ) );
//echo $term->name; // will show the name
//echo $term->slug; // will show the slug?>
<div <?php post_class(‘contents’); ?>> <h3><?php echo $term->name;?></h3> </div>