I’m using the Headway theme and trying to display the number of search results on the search page. I inserted the code below (which you listed on your FAQ section to perform this task) into a custom code block but it’s not displaying the number.
<?php echo 'Relevanssi found ' . $wp_query->found_posts . ' hits'; ?>
I appreciate you may not be familiar with Headway so any help would be great.
- The topic ‘Display number of search results using the Headway Theme’ is closed to new replies.