這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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

評價

There are no reviews for this plugin.

貢獻者及開發者

“Intro Wrapper” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Intro Wrapper 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

Version 1.0

  • Public release