Search results improvement
-
Hi,
First, I’m not techie, so sorry if something here seems stupid..
I have a website, it’s in Ukrainian, but I use English WordPress, and really hope that a little different letters don’t confuse you..
So, when I do search, it only gives me 5 results. As lond as I understand it corresponds to the number of posts per page. I increased it from 3 to 5. But making it 50 looks stupid, so I need a solution, which I hope to find here..
I’ve read that there is pagination, but cannot figure out how I can do that..
So, here is an example of search: https://myslovo.com/?s=%D0%BF%D0%BE
The theme is custom, the code of search.php is:
<?php get_header(); ?> <div class="sixteen columns"> <div class="alpha eleven columns"> <?php if (have_posts()) : while (have_posts()) : the_post(); get_template_part( 'loop', 'titles' ); endwhile; else : ?> <h2>Не знайдено визначень "<?php echo get_search_query(); ?>"</h2> <p>Будь ласка, повтор?ть ваш пошук.</p> <?php endif; ?> </div> <div class="omega five columns"> <?php get_sidebar(); ?> </div> </div> <?php get_footer(); ?>
if you need some other code please let me know
what I would like to get now, if it’s possible, is 10 search results per page with pagination, while leaving 5 posts per page (or even going back to 3).
please let me know if you have any questions/comments/replies
thank you
Best regards,
Alex
- The topic ‘Search results improvement’ is closed to new replies.