[WordPress] 外掛分享: WordPress File Word Counter

首頁外掛目錄 › WordPress File Word Counter
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
20+
安裝啟用
★★★☆☆
3.5/5 分(2 則評價)
2954 天前
最後更新
問題解決
WordPress 4.0+ v1.0.2 上架:2018-02-01

內容簡介

介紹

該外掛可幫助您計算 Doc、Docx、PDF 和文字檔案中的字數和字符數。

使用者可以上傳檔案到檔案上傳區塊,並加入外掛捷徑 [file_word_count]。

外掛會傳回該檔案中的字數和字符數,並且該檔案也會上傳到媒體庫。

您必須新增一個 HTML 元素來顯示字數或字符數的值,並且添加以下 id 分別為總字數和字符數:fwc-words,fwc-characters。

例如:

<div id="fwc-characters"></div>
或者
<input type="text" name="words" id="fwc-words"/>
<input type="text" name="characters" id="fwc-characters"/>

您也可以在 php 檔案中呼叫它,使用 echo do_shortcode(‘[file_word_count]’);

加入討論
自動安裝

自動安裝是最簡單的選擇,因為 WordPress 會自行處理檔案傳輸,您無需離開網頁瀏覽器。要在 WordPress 中自動安裝 WordPress File Word Counter,請登錄 WordPress 儀表板,瀏覽到「外掛程式」選單,然後點擊「新增」。

在搜尋欄中輸入 WordPress File Word Counter,然後點擊「搜尋外掛程式」。一旦找到我們的外掛程式,您可以檢視詳細資訊,例如評分和描述。當然,最重要的是,您可以通過點擊「立即安裝」來安裝它。

手動安裝

解壓縮檔案,並將該資料夾上傳到您的外掛程式資料夾 (/wp-content/plugins/),如果有舊版本,則覆蓋。

在 WordPress 管理區域啟用該外掛程式。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WordPress File Word Counter」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Introduction
This plugin helps in getting number of words and characters in doc, docx, pdf and text files.

User can upload files on the file uploader block where plugin shortcode [file_word_count] is included.

The the plugin returns number of words and characters in that file and that file is also uploaded to media library.

You need to add an HTML element to display the value of words or characters and add following ids for total words and characters respectively : fwc-words , fwc-characters
e.g.

or

You can also call it in php file using echo do_shortcode(‘[file_word_count]’);

Get Involved
Automatic Installation
Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser. To do an automatic install of WordPress File Word Counter, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.
In the search field type WordPress File Word Counter and click Search Plugins. Once you’ve found our plugin you can view details about it such as the the rating and description. Most importantly, of course, you can install it by simply clicking Install Now?.
Manual Installation

Unzip the files and upload the folder into your plugins folder (/wp-content/plugins/) overwriting older versions if they exist.

Activate the plugin in your WordPress admin area.

延伸相關外掛

文章
Filter
Mastodon