| 开发者 | brajabandhu |
|---|---|
| 更新时间 | 2026年10月11日 17:48 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
chronition-print-pdf folder to /wp-content/plugins/ and activate it from the Plugins screen.
The server-side PDF engine needs the PHP dom and mbstring extensions, which almost every host provides. Without them, visitors use their browser's "Save as PDF" instead.Yes. English and European languages download as a PDF file made on your server. Posts written in complex scripts (Odia, Hindi, Bengali, Tamil, Arabic, Chinese and others) open the print view instead, where the visitor chooses "Save as PDF". Browsers shape these scripts correctly; server PDF libraries cannot.
PDFs can embed TTF, OTF and WOFF fonts. Many themes only ship WOFF2 fonts, which cannot be embedded. You can turn on Settings → Print & PDF → Advanced → Theme fonts to download TrueType copies from Google Fonts (see "External services" below). Otherwise the closest serif or sans-serif font is used. The print view always uses your theme's fonts.
Use the "Hide Print & PDF on this item" box in the editor sidebar, add the ID under Exclude IDs, or turn off the post type. The front page is hidden by default.
Generated PDFs and downloaded fonts are cached in wp-content/uploads/cwpp-cache/, which is protected from direct access. The cache is rebuilt automatically when a post, your theme or the settings change. You can clear it under Advanced. Everything is removed when you delete the plugin.
No. Nothing is added to your pages or documents except the buttons and the content you choose.
cwpp_pdf_rendered), before a document is served and when a PDF is sent, plus filters for the cache key and extra settings tabs.CWPP_Renderer::pdf_from_html() turns any document HTML into a PDF with the plugin's settings, table of contents page numbers and watermark.cwpp_buttons_html filter.chronition-print-pdf, styles and scripts output through WordPress APIs, file operations through WP_Filesystem, stricter escaping.[cwpp_buttons].