Adds both the number of displayed posts as well as the total number of returned posts to search and archive pages.
After you have downloaded the file and extracted the results-count-remix/ directory from the archive...
results-count-remix/ directory to the wp-content/plugins/ directory.<?php if (function_exists('results_count_remix')) results_count_remix(); ?> in your templates where you would like the information to appear. If you are using the Thesis theme, skip this step, and see below.Suggested templates to add the code to, if your theme has them: author.php, archive.php, date.php, category.php, tag.php, and search.php
You may also add the code to your theme's index.php file, in case it is used for any of your archives or for search results.
As this plugin has been packaged specifically for the Thesis theme, it's appropriate that Thesis users have special instructions. Instead of placing results_count_remix() in various files, Thesis users may do the following.
Open custom/custom_functions.php in your Thesis theme directory, and add this code:
if (function_exists('results_count_remix')) {
remove_action('thesis_hook_archive_info', 'thesis_default_archive_info');
add_action('thesis_hook_archive_info', 'results_count_remix');
}
Requires: 2.3 or higher
Compatible up to: 2.6.2
Last Updated: 2008-11-2
Downloads: 511
Got something to say? Need help?