Esempio n. 1
0
			<p><?php 
        echo bb_show_context($q, $bb_post->post_text);
        ?>
</p>
		</li>
<?php 
    }
    ?>
	</ol>
</div>
<?php 
}
?>

<?php 
bb_search_pages(array('before' => '<div class="nav">', 'after' => '</div>'));
?>
 

<?php 
if ($q && !$recent && !$relevant) {
    ?>
<p><?php 
    printf(__('Your search %s did not return any results. Here are some suggestions:'), '&#8220;<em>' . esc_html($q) . '</em>&#8221;');
    ?>
</p>
<ul id="search-suggestions">
	<li><?php 
    _e('Make sure all words are spelled correctly');
    ?>
</li>
Esempio n. 2
0
    _e('Make sure all words are spelled correctly');
    ?>
</li>
    <li><?php 
    _e('Try different keywords');
    ?>
</li>
    <li><?php 
    _e('Try more general keywords');
    ?>
</li>
</ul>
<?php 
} else {
    ?>
	<?php 
    bb_search_pages();
    ?>
	<br />
<?php 
}
?>

<br />
<p><?php 
printf(__('You may also try your <a href="%s">search at Google</a>.'), 'http://google.com/search?q=site:' . bb_get_uri(null, null, BB_URI_CONTEXT_TEXT) . urlencode(' ' . $q));
?>
</p>

<?php 
bb_get_footer();