该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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订阅开发日志