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

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.

  <div id="fwc-characters"></div>
  or
  <input type="text" name="words" id="fwc-words"/>
  <input type="text" name="characters" id="fwc-characters"/>
  • 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

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

  2. Activate the plugin in your WordPress admin area.

常見問題集

What document types are supported?
  • .docx

    • .doc

    • .pdf

    • .txt

使用者評論

2018 年 6 月 6 日
I have a PDF document which I copied over to a Word document. The Word document then told me it was 11 000 words. However when I uploaded that Word document to this plugin it said the document contained 9 500 words, and when I uploaded the original PDF document the plugin said it contained 1 000 (!) words. I have also tried this with other documents with similar results.
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WordPress File Word Counter〉的開發相關工作。

參與者

將〈WordPress File Word Counter〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0.0 – 01.31.2018

  • Initial stable release.