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

WP Book

描述

Wp Book is a WordPress Plugin that allows you to create PDF book for your posts, pages custom posts on different conditions and filters.

Check out the WPBook Overview Video below.

Features

The following conditions and filters are supported.

Post Filters options

  • Post type
  • Number of posts
  • Post order
  • Post order by

PDF Layout options

  • Post type
  • Number of posts
  • Post order
  • Post order by

Sorting

  • Support manual sorting drag and drop

Credits

Thanks to mPDF PHP library, create pdf using PHP.
Thanks to jQueryUI JavaScript library, which the Plugin uses.
Thanks to select2 JavaScript library, which the Plugin uses.

螢幕截圖

  • Home page for WP Book.

  • File created successfully.

  • PDF sample

  • Post type filters

  • Page format options

  • Header and Footer

  • Predefined templates

安裝

The simplest way to install the plugin is to use the built-in automatic plugin installer. Go to plugins -> Add New and then enter wp-book to automatically install it.

If for some reason the above method doesn’t work then you can download the plugin as a zip file, extract it and then use your favorite FTP client and then upload the contents of the zip file to the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from Plugins page.

Goto Settings > WP Book

常見問題

After installing the Plugin, I just see a blank page.

This can happen if you have huge number of posts and your server is very underpowered. Check your PHP error log to see if there are any errors and correct them. The most common problems are script timeout or running out of memory. Change your PHP.ini file and increase the script timeout and/or amount of memory used by PHP process.

In particular try to change the following settings

  • max_execution_time = 600 – Maximum execution time of each script, in seconds
  • max_input_time = 30 – Maximum amount of time each script may spend parsing request data
  • memory_limit = 256M – Maximum amount of memory a script may consume
Temporary files directory “/wp-book/vendor/mpdf/mpdf/src/Config/../../tmp” is not writable issue.

This can happen when the plugin’s tmp directory does not have write permission. You need to setup 777 permission for tmp directory.

Its located /wp-content/plugins/wp-book/vendor/mpdf/mpdf/tmp

評價

There are no reviews for this plugin.

貢獻者及開發者

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

貢獻者

將 WP Book 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

v1.0

  • Initial release