Forums Forums Search & Filter Pro No pagination and results found

Viewing 4 posts - 1 through 4 (of 4 total)
  • Anonymous
    #170020

    how to exclude the number of results found and the pagination at the top of the results, using the setting with shortcode?

    Trevor
    #170023

    I assume you mean that you are using the Shortcode Display Results method. Did you follow the Customising the Results documentation (so you have your own copy of the results.php file)?

    If you did not, please do so. Edit the child theme copy of the results.php file to remove these lines (29-44):

    	Found <?php echo $query->found_posts; ?> Results<br />
    	Page <?php echo $query->query['paged']; ?> of <?php echo $query->max_num_pages; ?><br />
    	
    	<div class="pagination">
    		
    		<div class="nav-previous"><?php next_posts_link( 'Older posts', $query->max_num_pages ); ?></div>
    		<div class="nav-next"><?php previous_posts_link( 'Newer posts' ); ?></div>
    		<?php
    			/* example code for using the wp_pagenavi plugin */
    			if (function_exists('wp_pagenavi'))
    			{
    				echo "<br />";
    				wp_pagenavi( array( 'query' => $query ) );
    			}
    		?>
    	</div>
    
    Anonymous
    #170094

    Okay, and how do I remove the submission of posting dates?

    Trevor
    #170102

    Look for this code and remove it:

    <p><small><?php the_date(); ?></small></p>

Viewing 4 posts - 1 through 4 (of 4 total)