[wordpress插件] Drop Caps落帽

wordpress 插件 文章 2020-04-22 08:00 611 0 全屏看文

AI助手支持GPT4.0

评分
74
描述

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.

版本2的新功能:您现在可以在评论和摘录以及帖子内容中添加首字下沉。

Updating to 2.1: The plugin now adds a span as opposed to a strong tag.

更新至2.1:插件现在添加了 span ,而不是 strong 标记。

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.
    • 1.2 –修复了以下错误:图片或带有属性的段落中不会出现首字下沉的提示。

    • 2.0 – Added loads of settings such as which pages to display drop caps on.
    • 2.0 –添加了许多设置,例如在哪些页面上显示首字下沉。

    • 2.1 – Fixed a bug where drop caps wouldn?t appear after quotes and multiple HTML tags.

    • 2.1 –修复了在引号和多个HTML标记后不显示首字下沉的错误。

      Changed the markup to use span tags as opposed to strong tags.

      将标记更改为使用 span 标签,而不是 strong 标签。

      Posts can be excluded by name as well as ID.

    • 帖子可以按名称和ID排除。

安装步骤

Upload this plugin in the normal way

以常规方式上传此插件

    1. Upload the drop-caps folder to the /wp-content/plugins/ directory
    2. drop-caps 文件夹上载到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. Go to the settings menu and edit the drop caps settings.
    6. 转到设置菜单并编辑首字下沉设置。

下载地址
https://downloads.wordpress.org/plugin/drop-caps.zip
-EOF-

AI助手支持GPT4.0