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

Featured Category Widget

外掛說明

The Featured Category Widget is mainly designed because there were people for whom the Featured Post Widget was not enough. They wanted to put a category of their blog in the highlight.
If there is a post thumbnail, it will be displayed above the headline of the post. If there is no thumbnail, the first picture of the post is taken. You can set the size for the thumbnail or just take the standard from your options. Decide yourself, whether you want to show the excerpt, saved with your post or just the first three sentences or the first twenty words of the post. Style the widget individually, ready.

The Featured Category was tested up to WP 4.5. It should work with versions down to 2.9 but was never tested on those.

螢幕擷圖

  • The plugin’s work on our testing page
  • The widget’s settings section

安裝方式

  1. Upload the category-feature folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place and customize your widgets
  4. Ready

常見問題集

I styled the widget container myself and it looks bad. What do I do?

The styling of the widget requires some knowledge of css. If you are not familiar with that, try adding

padding: 10px;
margin-bottom: 10px;

to the style section.

My widget should have rounded corners, how do I do that?

Add something like

-webkit-border-top-left-radius: 5px;
-webkit-border-top-right-radius: 5px;
-moz-border-radius-topleft: 5px;
-moz-border-radius-topright: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;

to the widget style. This is not supported by all browsers yet, but should work in almost all of them.

My widget should have a shadow, how do I do that?

Add something like

-moz-box-shadow: 10px 10px 5px #888888;
-webkit-box-shadow: 10px 10px 5px #888888;
box-shadow: 10px 10px 5px #888888;

to the widget style to get a nice shadow down right of the container. This is not supported by all browsers yet, but should work in almost all of them.

使用者評論

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

參與者及開發者

以下人員參與了開源軟體〈Featured Category Widget〉的開發相關工作。

參與者

〈Featured Category Widget〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Featured Category Widget〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

2.5

  • WP 4.5 ready
  • New framework

2.4.1

  • forgotten var_dump() taken out

2.4

  • WP 4.3 ready
  • New framework

2.3.1

  • bug with visiblity fixed

2.3

  • WP 4.1 ready
  • New framework

2.2.2

  • Mistake in image class fixed

2.2.1

  • Interference with WordPress Page Widgets eliminated

2.2

  • Bug fixed with featured images

2.1

  • Posts now sortable in alphabetical order
  • DSS compressable

2.0.1

  • Made compliant with WP 3.9.1 and small bugfix

2.0

  • New feature to have post of the main loop in the widget on single pages

1.9

  • All ‘Devided by Zero’ errors should be eliminated

1.8

  • Improvement in image recognition, more flexible

1.7.1

  • image border added and some streamlining done

1.7

  • streamlined code
  • alignment of the thumbnail now possible
  • you can show the post date
  • more responsive

1.6

  • adjustments in the framework
  • some more customizing was asked

1.5

  • you can now link the widget title to the displayed category

1.4

  • possibility to change size of thumbnail added; small bug fixed

1.3

  • small bugfix in auto excerpt

1.2

  • code overhaul
  • hooks into the Ads Easy Plugin if Google AdSense Tags are in use

1.1

  • possibility to choose random posts

1.0

  • initial release