why does this meta info show up above my posts
-
This meta data is showing up from my archive page. there are no syntax errors showing up in dreamweaver and I double checked the tutorial code that I used.
class=”post-13 post type-post status-publish format-standard hentry category-dance-classes” id=”post-13″
post shows up here fine……heres the code in the archive page:
`<?php if (have_posts() ) : ?><?php if (is_category()) { ?>
<h2 id=”archiveTitle”>Archive for the ‘<?php single_cat_title(); ?>’ Category</h2>
<?php } elseif( is_tag()) { ?>
<h2 id=”archiveTitle”>Posts Tagged ‘ <?php single_tag_title(); ?>’</h2><?php } elseif (is_day()) { ?>
<h2 id=”archiveTitle”>Archive for <?php the_time(‘F jS, Y’); ?> </h2><?php } elseif (is_month()) { ?>
<h2 id=”archiveTitle”>Archive for <?php the_time(‘F Y’); ?> </h2><?php } elseif (is_year()) { ?>
<h2 id=”archiveTitle”>Archive for <?php the_time(‘Y’); ?> </h2><?php } elseif (is_author()) { ?>
<h2 id=”archiveTitle”>Author Archive</h2><?php } elseif (isset($_GET[‘paged’]) && !empty($_GET[‘paged’])) { ?>
<h2 id=”archiveTitle”>Archives</h2>
<?php } ?>
<?php while (have_posts()) : the_post(); ?>
<?php post_class() ?> id=”post-<?php the_ID(); ?>”<div class=”entry”>
<h3 ><a href=”<?php the_permalink() ?>”><?php the_title(); ?> </a></h3>
<?php the_excerpt(); ?></div>
<em class=”postedon”> Posted on: <?php the_time(‘F jS, Y’) ?></em>
<em class=”postedby”>by <?php the_author() ?></em>
<div class=”postmetadata”>
<?php the_tags(‘Tags: ‘, ‘,’, ‘<br />’); ?>
Posted in <?php the_category(‘, ‘)?> |
<?php comments_popup_link(‘No Comments »’, ‘ 1 Comment »’, ‘% Comments »’); ?><?php endwhile; ?>
<?php else : ?>
<h2>Not Found</h2>
<?php endif ; ?>`
- The topic ‘why does this meta info show up above my posts’ is closed to new replies.