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

Featured Post Widget

外掛說明

The Featured Post Widget is a fully customizable widget, that displays a single post. You can decide, whether or not the post thumbnail is displayed, whether the post title is above or beneath the thumbnail and a couple of more things. And of course, you can style the widget individually.

螢幕擷圖

  • The plugin's work on our testingsite
  • The widget's settings section

安裝方式

  1. Upload the post-feature-widget 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

常見問題集

How do I get the image more responsive ?

If the widget container is smaller than the image size, the image will automatically be adjusted to the widget size. In other words, just choose some width for the image that is larger than your widget area and it will always have the right size.

I styled the widget container myself and i 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.

使用者評論

閱讀全部 5 則使用者評論

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

4.2.1

  • Automatic hyphation deletable

4.2

  • WP 4.5 ready
  • New framework

4.1.2

  • bugfix

4.1.1

  • more accurate style sheet
  • infinite loop in some special cases fixed

4.1

  • WP 4.3 ready
  • New framework

4.0

  • WP 4.1 ready
  • New framework

3.9.3

  • Mistake in image class fixed

3.9.2

  • Interference with WordPress Page Widgets eliminated

3.9.1

  • small bugfix

3.9

  • DSS compressible
  • bugfix

3.8.1

  • Small bugfix

3.8

  • Code correction

3.7

  • All ‘Devided by Zero’ errors should be eliminated

3.6

  • Improvement of image recognition, more flexible

3.5

  • code streamlined and options added

3.4.1

  • small bugfix

3.4

  • all possible errors that could cause the image to not resize are fixed
  • some small features added (possibility to give a post ID, order of the headline, date, excerpt etc.)

3.3

  • small bugfixes and changes in the plugin framework
  • loads of new features added such as aligning the thumbnail and the text, displaying the date etc.

3.2

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

3.1

  • Better functionality getting the excerpt
  • Fetches the first image also, when working with galleries

3.0

  • Some streamlining done, more fool proof.

2.1

  • Minor bugfix, showing the excerpt.

2.0

  • The widget now supports a customizable ‘read more’ link.

1.9

  • Trying to get expandable textareas work.

1.8.2

  • Bugfix with backup post; plugin works now also with slugs.

1.8.1

  • Small bugfix with the backup post.

1.8

  • A second post can now be defined as a backup, that will show up, if the widget is showing on a single post page, showing the feaured post. Just to avoid doublettes.

1.7

  • Small changes in the handling that provide more accurate working.

1.6

  • Dutch translation added.

1.5

  • German translation added.

1.0

  • Initial release