该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Intro Wrapper

描述

This plugin takes care of wrapping your intro text (everything before <!–more–> — also called “teaser content”) in a div element with the class “intro”.

This allows for easy styling of the intro text, e.g. with larger fonts, colors, etc.

屏幕截图

  • Resulting code
  • Example with twentytwelve and adjusted font size and color

安装

  1. Download and unzip plugin
  2. Upload the ‘intro-wrapper’ folder to the ‘/wp-content/plugins/’ directory,
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.

常见问题

Installation Instructions
  1. Download and unzip plugin
  2. Upload the ‘intro-wrapper’ folder to the ‘/wp-content/plugins/’ directory,
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.
I installed the plugin, but can’t see any difference

The difference is only in the outputted HTML. You must add styling of the intro class yourself.

Where do I add the styling?

Try style.css.

The styling i added was lost when I upgraded my theme

This has nothing to do with the plugin. You’re doing things the wrong way. Read this: https://codex.wordpress.org/Child_Themes

评价

此插件暂无评价。

贡献者及开发者

“Intro Wrapper” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Intro Wrapper”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

Version 1.0

  • Public release