I copied index.php to search.php as described here http://forum.bytesforall.com/showthread.php?t=610
and it works fine. But I am left confused with two questions:
1. how to sort the search results (by a custom field)?
2. how to specify/override the number of search results returned?
the contents of my search.php is basically:
<?php /* get all options: */
include (TEMPLATEPATH . '/functions/bfa_get_options.php');
<?php /* If there are any posts: */
if (have_posts()) : $bfa_ata['postcount'] = 0; /* Postcount needed for option "XX first posts full posts, rest excerpts" */ ?>
//MY CODE IS HERE
<?php /* END of the LOOP */
<?php /* END of: If there are any posts */
else : /* If there are no posts: */ ?>
<?php /* This outputs the "Not Found" content, if neither posts, pages nor attachments are available for the requested page.
This can be edited at Atahualpa Theme Options -> Style & edit the Center column */
<?php endif; /* END of: If there are no posts */ ?>
<?php get_footer(); ?>
Any help with this would be great. Running Atahualpa v.3.5.3 thanks....