[Resolved] No results, removing query_posts gives error
Hi – I just installed the Relevanssi plugin and I’m getting “no results found” for any search.
My search.php has this line:
<?php $posts = query_posts($query_string . ‘&order=asc&orderby=title’); if (have_posts()) : ?>
But when I remove that whole line, I get an error:
Parse error: syntax error, unexpected T_ELSE in /home/content/l/k/l/lklawless4/html/veggietable/blog/wp-content/themes/lifestyle/search.php on line 104
Any ideas on how to fix this?
- The topic ‘[Resolved] No results, removing query_posts gives error’ is closed to new replies.