该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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

评价

此插件暂无评价。

贡献者及开发者

“WP Book” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“WP Book”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

v1.0

  • Initial release