implement FS#71
This commit is contained in:
parent
54d1f78f33
commit
ab7f12911c
|
@ -4,7 +4,12 @@
|
||||||
|
|
||||||
<div class="post-page-head"></div>
|
<div class="post-page-head"></div>
|
||||||
<div class="post-page">
|
<div class="post-page">
|
||||||
<h2 class="pagetitle">Transcript Search for ‘<?php the_search_query() ?>’</h2>
|
<?php
|
||||||
|
$tmp_search = new WP_Query('s=' . wp_specialchars($_GET['s']) . '&show_posts=-1&posts_per_page=-1');
|
||||||
|
$count = $tmp_search->post_count;
|
||||||
|
?>
|
||||||
|
<h2 class="pagetitle">Transcript search for ‘<?php the_search_query() ?>’</h2>
|
||||||
|
Found <?php echo $count; ?> result<?php if ($count !== 1) { echo "s"; } ?>.
|
||||||
</div>
|
</div>
|
||||||
<div class="post-page-foot"></div>
|
<div class="post-page-foot"></div>
|
||||||
|
|
||||||
|
|
|
@ -4,8 +4,13 @@
|
||||||
|
|
||||||
<div class="post-page-head"></div>
|
<div class="post-page-head"></div>
|
||||||
<div class="post-page">
|
<div class="post-page">
|
||||||
<h2 class="pagetitle">Search Results for ‘<?php the_search_query() ?>’</h2>
|
<?php
|
||||||
</div>
|
$tmp_search = new WP_Query('s=' . wp_specialchars($_GET['s']) . '&show_posts=-1&posts_per_page=-1');
|
||||||
|
$count = $tmp_search->post_count;
|
||||||
|
?>
|
||||||
|
<h2 class="pagetitle">Search for ‘<?php the_search_query() ?>’</h2>
|
||||||
|
Found <?php echo $count; ?> result<?php if ($count !== 1) { echo "s"; } ?>.
|
||||||
|
</div>
|
||||||
<div class="post-page-foot"></div>
|
<div class="post-page-foot"></div>
|
||||||
|
|
||||||
<?php if (have_posts()) : ?>
|
<?php if (have_posts()) : ?>
|
||||||
|
|
Loading…
Reference in New Issue