I am having a search results issue. When searching on the page it only displays 20 out of 400 professionals. It is a wordpress site, and the php queries are below.
$subpagecontent = array();
if (isset($_GET['token'])) {// doctors search result
classes
$subpagecontent['first'] = 'subpage-content-left';
$subpagecontent['second'] = 'subpage-content-right';
} else {
//doctors serach form classes
$subpagecontent['first'] = 'subpage-content-top';
$subpagecontent['second'] = 'subpage-content-bottom';
}
;// if the token is present the search is on
?>
<div id="subpage-content">
<div class="content-wrapper">
<div id="<?php echo $subpagecontent['first'] ;?>">
<h1 id="subpage-title"><?php echo
get_post_meta($post->ID, 'Heading', true); ?><span id="fad-
subtitle"><?php echo get_post_meta($post->ID, 'Subheading',
true); ?></span></h1>
<div class="subpage-text">
<?php
if(isset($_GET['action']) &&
!empty($_GET['action'])) {
echo get_post_meta($post->ID,
'search_results_copy', true);
} else {
if (have_posts()) : while (have_posts()) :
the_post();
the_content();
endwhile; endif;
}
?>
</div>
<?php
if(!isset($_GET['token'])){
?>
<div class="quick-link-anchor-top">
<a href="#quicklinks"><span
class="sidebar-title">QUICK LINKS</span></a>
<div class="dotted-wrapper">
<img src="<?php
bloginfo('template_directory'); ?>/img/quick-links-
dots.png" class="quick-links-dots" />
</div>
</div><?php
}