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

Featured Image in Content

描述

Not all themes work the same way, and sometimes switching themes can lead to a lot of headaches. If you’ve previously used a theme that supports featured images and displays them on single post views, you probably want to ensure that these images are still shown if you switch to a theme that doesn’t show featured images here, without editing all of your old content.

This plugin automatically displays featured images at the top of the content area on single post views. It doesn’t check whether your theme displays them, so you’ll get double featured images if it does. It works via a filter, so if you ever switch themes again to one that does support featured images on single views, you can deactivate this plugin and things will go right back to normal. No information is saved in the database and no additional special image sizes are generated in this plugin.

Possible Core Material

This plugin may be material for WordPress core if it were to display featured images that exist when the current theme doesn’t support featured images. While this would reduce the potential for content loss, it would also have a significant affect on existing content.

螢幕截圖

  • Featured image in an image-format post with only a title and featured, displayed in Twenty Ten (which doesn't support featured images). Without the plugin, only the post title displays.

安裝

  1. Take the easy route and install through the WordPress plugin adder OR
  2. Download the .zip file and upload the unzipped folder to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Featured images that have been added will start showing up on single views immediately, at the top of the content.

常見問題

Where’s the settings page?

For simplicity’s sake, no settings page is included. While there are a few potential options, I don’t feel that they would be worth the extra bloat of a settings page. If you would like to make adjustments, I suggest implementing your own plugin based on this one (feel free to copy/paste, then rename it) – the code is very simple and can be easily adjusted to related needs.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Featured Image in Content” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Featured Image in Content 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0

  • Initial release.