when i search from a single post its simply
redirect me to the home page
(which has no wordpress elements)
also after i enter a search term the url of the
page stayes with the adress of the original single
post i searched from page plus the ending ?s=term
by the way.. this is the search.php script i got
<ul class="list-category">
<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
<div class="categorypost">
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<div class="entry">
<?php the_excerpt(); ?>
<p class="postmetadata">
<img src="<?php bloginfo('template_url'); ?>/images/mini-category.jpg" alt="????? ????" style="vertical-align: text-bottom"> <?php the_category(', ') ?><?php edit_post_link('?????', ' | ', ''); ?><br>
<img src="<?php bloginfo('template_url'); ?>/images/tags.jpg" alt="????? ????" style="vertical-align: text-bottom"> <?php the_tags( '' . __('', '') . ' ', ', ', ''); ?><br>
<?php if (pings_open()) : ?><span id="trackback-link"><img src="<?php bloginfo('template_url'); ?>/images/link-arrow.jpg" alt="?????" style="vertical-align: text-bottom"> <a href="<?php trackback_url() ?>" rel="trackback"><?php the_title('', ''); ?></a></span><?php endif; ?>
</p>
</div>
</div>
<?php endwhile; ?>
<?php endif; ?>
</ul>
is it looking for some specific page to display results in?
and why does it work when i search from home page but not
from othere pages…