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

Drop Caps

外掛說明

The drop caps plugin is fairly self-explanatory. It adds mark-up to your posts and pages which allows you to create wicked drop caps like those shown on my blog or in the screenshots.

New in version 2: You can now add drop caps to comments and excerpts as well as post content.

Updating to 2.1: The plugin now adds a span as opposed to a strong tag. Make sure to change your stylesheet.

The plugin now has loads of settings. You can choose which pages to put drop caps on. You can exclude specific posts and categories and you can also choose wether to use the default styling.

The plugin marks-up the first paragraph starting with a capital letter. It makes the first letter into a drop cap and gives the paragraph a class of “first-child” allowing you to style the first paragraph in a different way.

Update Log

  • 1.2 – Fixed a bug where drop caps wouldn’t appear after images or in paragraphs with attributes.
  • 2.0 – Added loads of settings such as which pages to display drop caps on.
  • 2.1 – Fixed a bug where drop caps wouldnt appear after quotes and multiple HTML tags. Changed the markup to use span tags as opposed to strong tags. Posts can be excluded by name as well as ID.

螢幕擷圖

  • This is the new and improved settings menu. You can customise the drop caps plugin to suit your blog.
  • This is how the default drop cap will look on your posts.
  • This is how the default drop cap will look on your comments.

安裝方式

Upload this plugin in the normal way

  1. Upload the drop-caps folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to the settings menu and edit the drop caps settings.

使用者評論

閱讀全部 3 則使用者評論

參與者及開發者

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

參與者

將〈Drop Caps〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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