Forums › Forums › Search & Filter Pro › Show all search results on one page
Tagged: posts per page
- This topic has 1 reply, 1 voice, and was last updated 6 years, 4 months ago by Anonymous.
Viewing 2 posts - 1 through 2 (of 2 total)
-
Anonymous(Private) July 14, 2018 at 12:20 am #182552
I’m trying to get more than ten results to show when I do a search. Even though I set (for testing purposes) the reading settings to show 100 posts, I only get ten results where I know I should be getting 14. The test site is here: http://hardyferns.org/hfftest/fern-database/ — if you search for “evergreen” (should be 14) you only see 10. Here’s the code for the custom results page, any help would be greatly appreciated:
<div id="primary" class="content-area"> <main id="main" class="site-main"> <div class="flexcontainer"> <div class="plant-content listall"> <?php if ( have_posts() ) : ?> <h1 class="page-title">Search Results</h1> <ul> <?php while ( have_posts() ) : the_post(); ?> <li><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'hff' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_field('botanical_name'); ?> (<?php the_field('common_name'); ?>)</a></li> <?php endwhile; ?> </ul> <?php else : ?> <article id="post-0" class="post no-results not-found" role="article"> <header class="entry-header"> <h1 class="entry-title"><?php _e( 'No Ferns Found', 'themename' ); ?></h1> </header><!-- .entry-header --> <div class="entry-content"> <div class="text-wrap"> <p>Sorry, but nothing matched your search criteria. If you are unsure of the spelling, try using the "Search by Name" field and typing in only a partial name, for example "ble" instead of "blechnum" or "wood" instead of "woodwardia".</p> </div> </div><!-- .entry-content --> </article><!-- #post-0 --> <?php endif; ?> </div><!-- .plant-content --> <div class="plantsearch"> <?php get_sidebar('ferns'); ?> </div> </div> </main><!-- #main --> </div><!-- #primary -->
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)