Help! All posts are going to the same old post!
-
This recently started happening and I can’t figure out why! To see the error, go to http://cataxrevolution.com
Here is my home page code:
<?php get_header(); ?>
<div id=”content” class=”home”>
<div id=”main”>
<h3 id=”myWritings” class=”replace”>My Writings. My Thoughts.</h3>
<div class=”box1 clearfix”>
<?php query_posts(‘showposts=’.get_option(‘woo_home_posts’)); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?><div class=”post clearfix”>
<h3 id=”post-<?php the_ID(); ?>”>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h3 ><span class=”txt0″><?php edit_post_link(‘Edit’, ”, ”); ?> • <?php the_category(‘, ‘) ?> • <?php the_time(‘F j, y’) ?> • <?php comments_popup_link(‘No Comments ‘, ‘1 Comment ‘, ‘% Comments »’); ?> </span><?php the_excerpt() ?>
</div>
<?php endwhile; ?>
<?php else : ?><h3 class=’center’>No posts found.</h3>
<?php endif; ?>
<p class=”fr”>View Archives</p>
</div>
</div><!– / #main –>
<div id=”sidebar”>
<!–
<div id=”portfolio”><h3 id=”myPortfolio” class=”replace”>My Portfolio. Recent Works.</h3>
<ul class=”img-list clearfix”>
- <img src=”<?php bloginfo(‘template_url’) ?>/images/img-portfolio-1.jpg” alt=”” />
- <img src=”<?php bloginfo(‘template_url’) ?>/images/img-portfolio-2.jpg” alt=”” />
- <img src=”<?php bloginfo(‘template_url’) ?>/images/img-portfolio-3.jpg” alt=”” />
- <img src=”<?php bloginfo(‘template_url’) ?>/images/img-portfolio-4.jpg” alt=”” />
<div class=”clear”></div>
</div>
–><div id=”flickr”>
<h3 id=”myPhotos” class=”replace”>My photos. Now you know me.</h3>
<?php twitpic_pics($username = ‘DanWarp’, $num = ’10’, $linked = ‘true’); ?>
<div class=”clear”></div>
<p id=”browseFlickr”><span class=”replace”>Browse Flickr</span></p></div>
<h3 id=”myLifestream” class=”replace”>My lifestream. Stay updated with me.</h3>
<div class=”box1 clearfix”>
<?php if (function_exists(lifestream)) lifestream(get_option(‘woo_home_lifestream’)); ?>
</div>
<div id=”myfavblog” class=”fr”>
<h3 id=”myFavblog” class=”replace”>My favblog. Feeds from them.</h3>
<div class=”box1″>
<ul class=”list2″><!– You can put whatever you want in this box… this is just an example –>
<?php wp_list_bookmarks(‘title_li=&categorize=0’); ?></div>
</div>
</div><!– / #sidebar –>
</div><!– / #content –>
<?php get_footer(); ?>
and here is my single post code:
<?php get_header(); ?>
<div id=”content”>
<div id=”main”>
<div class=”box1 clearfix”>
<div class=”post clearfix”><?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<h2><?php the_title(); ?></h2>
<p class=”txt1″><?php edit_post_link(‘Edit’, ”, ”); ?> • <?php the_category(‘, ‘) ?> • <?php the_time(‘F j, y’) ?> </p><h4> <?php the_content(); ?></h4>
<?php endwhile; endif; ?>
</div>
</div>
<?php comments_template(); ?>
</div><!– / #main –>
<?php get_sidebar(); ?>
</div><!– / #content –>
<?php get_footer(); ?>
What the heck is going on?
The topic ‘Help! All posts are going to the same old post!’ is closed to new replies.