• I managed to get search results working with this code:

    <?php while ( have_posts() ) : the_post(); ?>
    				<br>
    			<a href="<?php the_permalink(); ?>"><?php echo substr(strip_tags($post->post_content), 0, 46);?></a>
    			<br>

    but I want search results to be numbered and have pagination.

    How is that done?

    Thanks

  • The topic ‘How to show numbered search results and add pagination?’ is closed to new replies.