“Not Found” w/Links
-
Hey there,
Im designing an exclusive wordpress theme modelled after ESPN’s design.
Ive finished designing it but after I look at it and when I click on categories, the “Next Page” link, or search for something I get a “Not Found”. The Archives work but I do not know why the other pages do not function correctly.The Code for the Search.php for example is as follows:
`<?php get_header(); ?>
<div id=”left”>
<?php
query_posts($query_string. ‘showposts=5’);
?>
<?php if(have_posts()) : ?><?php while(have_posts()) : the_post();?>
<div id=”post” title=”post-<?php the_ID(); ?>”>
<div id=”posttop”>
<table>
<tr>
<td width=”415″ align=”left” id=”posted”>Posted at <?php the_time(); ?> <?php the_date(); ?> </td>
<td width=”185″ align=”right”><?php the_author() ?></td>
</tr>
</table>
</div>
<div id=”postcontent”>
<div id=”postitself”>
<img id=”postimage” src=”<?php bloginfo(‘template_directory’); ?>/images/<?php
$values = get_post_custom_values(“thumbnail_img”); echo $values[0]; if(!$values[0]){echo “nothumbnail.jpg”;} ?>” width=”100″ height=”100″ align=”left” />
<h3>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h3>
<?php the_excerpt(__(‘(more…)’)); ?>
</div>
<div id=”b”></div>
<div id=”postinfo”>
Posted in <?php the_category(‘, ‘) ?> | <?php comments_popup_link(‘No Comments »’, ‘[1] Comment’, ‘[%] Comments;’); ?><?php link_pages(‘Pages: ‘, ”, ‘number’); ?>
<?php edit_post_link(‘ | Edit’, ”, ”); ?>
</div>
</div></div>
<?php endwhile; ?>
<div class=”navigation”>
<?php posts_nav_link(); ?>
</div>
<?php else : ?>
<div id=”post”>
<h2><?php _e(‘Not Found’); ?></h2>
</div>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>If any body could help me it would be greatly appreciated.
Thanks – Khaled
The topic ‘“Not Found” w/Links’ is closed to new replies.