Posts: 45
Name: Noe Garcia
Location: The great state of TEXAS we'll kick yer ***!
|
I think my single page is jacked up I'm testing a theme I made to change my site and when I click the posts link to go to the single post nothing shows and it looks like it the title says page not found
<?php get_header(); ?>
Code:
<div id="content">
<?php query_posts($query_string . '&cat=-3'); ?>
<?php if(have_posts()):?>
<?php while(have_posts()):the_post();?>
<!-- loop starts// contains the loop-->
<div class="date-info">
<div class="date"><?php the_time('d'); ?></div>
<div class="day"><?php the_time('M'); ?></div>
</div>
<div class="post-info">
<div class="post-title">
<h2 class="post-title"><a href="<?php the_permalink();?>"title="<?php the_title();?>"><?php the_title();?></a></h2>
</div>
<div class="post-meta">
Posted By <?php the_author();?> / In <?php the_category(',')?> / With <?php comments_popup_link('No Comments','1 Comments','% Comments');?>
</div>
<div class="post">
<?php the_content();?>
<?wp_link_pages();?>
<?php edit_post_link('Edit','<p>','</p>');?>
<h3>Was this post helpful?</h3>Get Updates, subscribe to the <img src="/wp-content/themes/templafied/images/smallrss.png" />RSS Feed<br /><br />
<h3>Please bookmark and share</h3>
<ul>
<li><a href=”http://stumbleupon.com/submit?url=<?php the_permalink(); ?>&title=<?php the_title(); ?>”><img src="/wp-content/themes/templafied/images/stumbleupon.png" alt="stumble" /></a></li>
<li><a href="http://digg.com/submit?phase=2&url= <?php the_permalink();?>&title=<?php the_title();?>"><img src="/wp-content/themes/templafied/images/digg.png" alt="digg" /></a></li>
<li><a href="http://del.icio.us/post?v=4&noui&jump=close&url=<?php the_permalink();?>&title=<?php the_title();?>"><img src="/wp-content/themes/templafied/images/delicious.png" alt="delicious" /></a>
</ul>
</div>
</div>
<!--Loop Ends -->
<?php endwhile;?>
<?php endif;?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
is something wrong with my single.php file?
http://www.templafied.com
if you click one of the posts in the loop or in the sidebar nothing shows up
__________________
Please login or register to view this content. Registration is FREE |personal portfolio and blog
Last edited by NoeG; 01-05-2011 at 09:14 PM..
Reason: added a link
|