Forums › Forums › Search & Filter Pro › REMOVE TEXT PAGINATION
- This topic has 5 replies, 2 voices, and was last updated 4 years, 11 months ago by Trevor.
-
Anonymous(Private) December 5, 2019 at 10:48 am #228421
Hi there,
how can I remove pagination text at the end of the results?Via CSS I’m try to make all results div to float left (with:300px), so I can have all results one beside another in smaller divs. But the text “Page 1 of 1” taht should appear at the end, appears on the last right column.
Maybe you should just put the text “Found 5 Results Page 1 of 1” (on top and on bottom) inside a <p class=results-found></p> so people can style it easely.
Any idea?
Many thanks
Trevor(Private) December 5, 2019 at 6:59 pm #228509If you are using our Shortcode results method, you can customise the results.php file, where the HTML structure, divs etc, can be found. See here for how:
https://searchandfilter.com/documentation/search-results/using-a-shortcode/#customising-the-results
The lines (#29&30) you may want to add a wrapper around at the top is this:
Found <?php echo $query->found_posts; ?> Results<br /> Page <?php echo $query->query['paged']; ?> of <?php echo $query->max_num_pages; ?><br />
Maybe like this:
<div class="top-found-post-pages"><p>Found <?php echo $query->found_posts; ?> Results</p> <p>Page <?php echo $query->query['paged']; ?> of <?php echo $query->max_num_pages; ?></p></div>
And at the bottom the line is by default #73
You can edit the file where you want and the HTML also.
IT IS RECOMMENDED TO USE A CHILD THEME.
You can easily make a child theme using a plugin from Orbisius. Follow the default settings and it should work. You can remove the child theme maker plugin after use.
-
AuthorPosts