이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Results Count Remix

설명

Adds to search results and archive pages the total number of posts available as well as an indicator as to which batch of posts are currently being displayed, for example “11-20 of 124.” This plugin is a remix of Results Count by Matthew Taylor, and it is optimized for the Thesis theme framework.

Say you have a category named “Videos” with 432 posts; visiting the third page of that archive would show you posts 21-30 (assuming 10 posts per page); with this plugin, this information would be available to your users at a glance:

<p>21–30 of 432 entries categorized:</p>
<h1>Videos</h1>

Search results and the following archive types are taken into account by this plugin: day, month, year, author, category, and tag.

스크린샷

  • A tag archive with multiple results.

설치

After you have downloaded the file and extracted the results-count-remix/ directory from the archive…

  1. Upload the entire results-count-remix/ directory to the wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Place <?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.

Thesis Users

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');
}

FAQ

Why are search terms and archive names wrapped in H1 tags?

While this plugin will work with any theme, it has been specifically tweaked to work best with Thesis. Appropriate markup has been used accordingly.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Results Count Remix”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Results Count Remix”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.