跳到内容

Word to html

v1.1

wibergsweb · 2019年7月5日 上架

Display some html from one or more word files from your local webserver or an external webserver.

正在使用
10+
评分
暂无
累计下载
5,692
最近更新
2019年7月19日
需要 WordPress 3.0.1+已测试到 5.2.31PHP 5.2.4+

贡献者

Word to html makes it easy to fetch content from newer word-file(s) (.docx) and convert the document to html on a page with a single shortcode.

Display some html from one or more word files from your local webserver or an external webserver. Multiple word files support on your local webserver. It’s not intented to be used as full format converting tool as it does create clean html (not a loads of inline styles), but could be convient to read content from word-files just by putting them in a folder on your webserver.

The plugin does fetch this kind of information from your .docx – document:

  • Headings (support for english and swedish)
  • Paragraphs including bold, underline and italic. When having paragraph defined as a column then a new paragraph is created.
  • Hyperlinks
  • Tables
  • Images (jpg, png, jpeg)
  • Unordered lists (bulleted) or ordered lists (numbered). It’s also possible to combine these type of lists.

The plugin does only create the html without any specific inline styling. The reason for this is that word-documents and html-documents have a totally different structure and you should be using css when styling html – documents. Inline styles would also apply styling to your wordpress-theme that wouldn’t fit your current design.

If fetching information from more then one docx – document on your local webserver, content from all files are mixed into different sections of html (one file per section). This could be useful if you want to create tabs of some sort based on information from several word-documents.

If you like the plugin, please consider donating or write a review.

Example of usage

shortcodes in post(s)/page(s)

  • [wordtohtml_create path=”lan” source_files=”skane.docx;smaland.docx;”]
  • [wordtohtml_create path=”wordfiles” source_files=”*.docx”]
  • [wordtohtml_create path=”wordfiles” source_files=”word1;word2″ debug_mode=”yes”]
  • [wordtohtml_create path=”wordfiles” source_files=”word1;word2″ debug_mode=”yes”]
  • [wordtohtml_create debug_mode=”no” convert_encoding_from=”Windows-1252″ convert_encoding_to=”UTF-8″]
  • [wordtohtml_create debug_mode=”no” convert_encoding_to=”UTF-8″]
  • [wordtohtml_create source_files=”http://wibergsweb.se/konstak.docx” path=”wordfiles” debug_mode=”yes” html_id=”turnover” html_class=”wow” add_ext_auto=”yes” skip_articletag=”no”]

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums