Hello all,
This seems like a trivial problem, but I just can't figure it out. Whenever I do a search on my website (for example: http://www.rishi-kumar.com/?s=wordpress), the search results are fine, but the text accompanying them is formatted incorrectly.
It's saying: "RK-homeYou searched for "wordpress" at. There were 3 results found."
When I want it to say: "You searched for "wordpress" at RK-home. There were 3 results found."
I'm pretty sure the main cause of this problem is in this segment of my search.php theme file.
<?php _e('Search','hemingwayex') ?></h2>
<div class="featured">
<?php printf(__('You searched for “ %s ” at %s. ','hemingwayex'), wp_specialchars($s, 1), bloginfo('name')) ?>
<?php
$str = '';
if (!$results) $str = "no results, better luck next time.";
elseif (1 == $results) $str = "one result found. It must be your lucky day.";
else $str = $results . " results found.";
printf(__('There were %s','hemingwayex'), $str) ?>