Title: Hot&#039;n&#039;Cold
Author: Duke
Published: <strong>2013 年 2 月 5 日</strong>
Last modified: 2016 年 9 月 12 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/hotncold.svg)

# Hot'n'Cold

 由 [Duke](https://profiles.wordpress.org/dukessa/) 開發

[下載](https://downloads.wordpress.org/plugin/hotncold.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/hotncold/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/hotncold/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/hotncold/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/hotncold/#developers)

 [技術支援](https://wordpress.org/support/plugin/hotncold/)

## 外掛說明

#### Hot’n’Cold shows a different colored badge for every post, depending if the post is “hot”, “medium” or “cold”, based on Jetpack post views

 * The plugin requires Jetpack to be installed, activated and connected to your 
   WordPress.com account.

The typical/full code that you need to add to your theme, wherever you want the 
badge to display is `<?php shambix_hotposts(200,100,50,true,true,false); ?>`

The code MUST be used inside the Loop.

You can customize the code with these parameters, in order:

 * n. of views for the post to be “hot” (default: 200)
 * n. of views for the post to be “medium” (default: 100)
 * n. of views for the post to be “cold” (default: 50)
 * if “hot”, display badge? (default: true)
 * if “medium”, display badge? (default: true)
 * if “cold”, display badge? (default: false)

We use a css file to style the badges, as they are fully made out of CSS3, no images,
however we don’t provide any specific layout (floating, alignment, etc), that way
you are free to customize them the way you want, by using the div class `hotncold`
in your own theme style.css

If you like the plugin or want to suggest a new features, feel free to drop a comment
at the official plugin post on [Shambix](http://www.shambix.com/en/portfolio/wordpress-plugin-hotncold).

Credits to the [Twitter Bootstrap Framework](http://twitter.github.com/bootstrap/components.html#labels-badges)
for the badges/labels’ CSS.

## 螢幕擷圖

[⌊Example for the badges being displayed in a category⌉⌊Example for the badges being
displayed in a category⌉[

Example for the badges being displayed in a category

## 安裝方式

 1. Upload the folder `hotncold` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Insert the code `<?php shambix_hotposts(200,100,50,true,true,false); ?>` in your
    theme and customize it for your needs

## 常見問題集

#### Look of the badges

The default badges are:

 * “hot”: comes in red and displays the text “HOT!”
 * “medium”: comes in green and displays the text “Popular”
 * “cold”: comes in blue and displays the text “Read Me!”

As of now, you can only edit the text by going directly in the plugin file hotncold.
php

#### Custom CSS

You can customize the badges from the hotncold.css file in the plugin folder, if
you want to add images instead of using CSS3. However, if you update the plugin 
those changes will be lost. If you simply want to make the badges bigger or change
font (stylistic changes), we advise you do that in your theme style.css instead,
using the div class `hotncold`. You may want to add `!important` to your CSS statements,
if after customizing the div class `hotncold` you see no change.

#### NOTICE

Please bare in mind that this is a free plugin, that the time to work on it is limited
and that we do our best anyway to give everybody a cool free plugin. So if something
doesn’t work as you expected please report it in the WordPress Support Forum, we’ll
do our best to help you out. Thanks for understanding.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Hot'n'Cold〉的開發相關工作。

參與者

 *   [ Duke ](https://profiles.wordpress.org/dukessa/)

[將〈Hot'n'Cold〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/hotncold)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/hotncold/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/hotncold/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/hotncold/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/hotncold/)。

## 變更記錄

#### 1.0

 * Plugin release

## 中繼資料

 *  版本 **1.0**
 *  最後更新 **10 年前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 3 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.5.2**
 *  語言
 * [English (US)](https://wordpress.org/plugins/hotncold/)
 * 標籤:
 * [badge](https://tw.wordpress.org/plugins/tags/badge/)[jetpack](https://tw.wordpress.org/plugins/tags/jetpack/)
   [popular posts](https://tw.wordpress.org/plugins/tags/popular-posts/)[popularity](https://tw.wordpress.org/plugins/tags/popularity/)
   [post views](https://tw.wordpress.org/plugins/tags/post-views/)[stats](https://tw.wordpress.org/plugins/tags/stats/)
   [tag](https://tw.wordpress.org/plugins/tags/tag/)
 *  [進階檢視](https://tw.wordpress.org/plugins/hotncold/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/hotncold/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/hotncold/reviews/)

## 參與者

 *   [ Duke ](https://profiles.wordpress.org/dukessa/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/hotncold/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://www.shambix.com/en/portfolio/wordpress-plugin-hotncold/)