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

Truncate Text WordPress Plugin

描述

Truncate Text is a simple WordPress plugin that allows you to truncate the text of your posts and pages. This plugin can be used to create short versions of content, like usernames, crypto wallet addresses, etc.

Usage

-Use the [truncate-text] shortcode in your post or page content to truncate the text.
-Specify the number of characters you want to display using the limit attribute. For example: [truncate-text limit=”8″]Text to truncate[/truncate-text]. The defult is 6.
– Specify the encoding you would like to use by using the encoding attribute. For example: [truncate-text limit=”8″ encoding=”ISO-8859-1″]. The default is UTF-8.
-This plugin will also process other shortcodes in the content before truncating it. To use the truncate-shortcode feature, use [truncate-shortcode][another-shortcode][/truncate-shortcode].
– Use the same attributes when truncating shortcode.

Support

If you have any questions or issues with this plugin, please reach out to us through our support channel. We’ll be happy to help!

Contributing
We welcome contributions to this plugin. If you would like to contribute, please follow our guidelines for contributing.

螢幕截圖

安裝

-Log in to your WordPress site as an administrator.
-Go to the “Plugins” section in the WordPress dashboard.
-Click “Add New” and then click the “Upload Plugin” button.
-Choose the truncate-text.zip file from your computer and click “Install Now.”
-After the installation is complete, click the “Activate Plugin” button.

貢獻者及開發者

“Truncate Text WordPress Plugin” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Truncate Text WordPress Plugin 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0.0
-Initial release of the Truncate Text plugin.
-Includes the [truncate-text] shortcode and the [truncate-shortcode] shortcode.