Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // add More results link if more than one page of results
- if ( have_posts() ) :
- echo '<div class="more-results">';
- printf( '<a class="flex-next" href="%s">More <span class="search-result-title">' . $post_type . '</span> results <i class="icon-arrow-right"></i></a>', trailingslashit( home_url() ) . 'page/2/?s=' . $s . '&post_type=' . $post_type );
- echo '</div>';
- endif;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement