• 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(); ?>
    
    		<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=”https://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="https://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="https://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?

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘single.php isn't working right’ is closed to new replies.