fix search results styling and results count

This commit is contained in:
Jonas Heinrich 2020-04-17 17:00:17 +02:00
parent b72fd2f4b4
commit e34d02a42e
2 changed files with 6 additions and 2 deletions

View file

@ -47,7 +47,10 @@ get_header();
<div class="tx-indexedsearch-browsebox">
<p>
Anzeige der Ergebnisse <strong>1 bis 10</strong> von insgesamt <strong>12</strong>
<?php
global $wp_query;
echo "Anzeige der Ergebnisse <strong>1 bis 10</strong> von insgesamt <strong>" . $wp_query->found_posts. "</strong>";
?>
</p>
<!-- render the anchor-links to the sections inside the displayed result rows -->
@ -70,6 +73,7 @@ get_header();
<?php endwhile; ?>
<div class="tx-indexedsearch-browsebox">
<ul class="tx-indexedsearch-browsebox"><li class="tx-indexedsearch-browselist-currentPage"><strong><a href="#" onclick="document.getElementById('tx_indexedsearch_pointer').value='0';document.getElementById('tx_indexedsearch').submit();return false;">Seite 1</a></strong></li><li><a href="#" onclick="document.getElementById('tx_indexedsearch_pointer').value='1';document.getElementById('tx_indexedsearch').submit();return false;">Seite 2</a></li><li><a href="#" onclick="document.getElementById('tx_indexedsearch_pointer').value='1';document.getElementById('tx_indexedsearch').submit();return false;">Nächste &gt;</a></li></ul>
</div>