=== PDF zusammenfügen | PDFzus ===
Contributors: yxchen1994
Tags: pdf, merge pdf, frontend, documents, download
Requires at least: 6.5
Tested up to: 6.9
Stable tag: 0.1.3
Requires PHP: 8.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Merge multiple PDF files on your WordPress site, reorder them, optionally add a cover page, and download the merged file.

== Description ==

PDF zusammenfügen | PDFzus adds a focused frontend workflow for combining PDF files directly on your WordPress site.

Visitors can:

- Upload multiple PDF files
- Reorder files before merging
- Add an optional cover page based on the site title or a custom title
- Download the merged PDF immediately

This plugin processes files on the WordPress server where the plugin is installed. It does not require an external PDF processing API.

Included user-facing features:

- Shortcode: `[pdfzus_pdf_merge]`
- Dynamic Gutenberg block with the same options
- Temporary file cleanup after download and through scheduled cleanup
- Basic help and support links in the plugin settings page

Official website:

- Website: [https://pdfzus.de/](https://pdfzus.de/)
- Privacy Policy: [https://pdfzus.de/privacy-policy](https://pdfzus.de/privacy-policy)
- Terms of Service: [https://pdfzus.de/terms-of-service](https://pdfzus.de/terms-of-service)

== Installation ==

1. Upload the plugin zip in WordPress and activate it.
2. Open a page or post.
3. Insert the `PDF zusammenfügen | PDFzus` block, or add the shortcode `[pdfzus_pdf_merge]`.
4. Publish the page.

== Frequently Asked Questions ==

= Does this plugin send uploaded files to pdfzus.de? =

No. The merge runs on the server where your WordPress site is installed. The website is provided as the official product and support page only.

= Can I add a cover page? =

Yes. You can choose no cover page, use the site title as the cover page title, or enter a custom cover page title.

= Is there a block version? =

Yes. The plugin includes a dynamic Gutenberg block and a shortcode.

= Where are temporary files stored? =

They are stored in the WordPress uploads directory for a short time, deleted after download, and cleaned up again by a scheduled task.

== Screenshots ==

1. Frontend upload form for selecting multiple PDF files.
2. Reordering, cover page selection, and merge workflow.

== Changelog ==

= 0.1.3 =

* Updated the public plugin name to PDF zusammenfügen | PDFzus.

= 0.1.2 =

* Added direct file access protection to plugin files.
* Moved remaining file operations to the WordPress filesystem API.
* Verified the frontend request nonce before processing request data.

= 0.1.1 =

* Updated readme and plugin metadata to English.
* Removed unnecessary translation loading for WordPress.org.
* Updated bundled PDF libraries.

= 0.1.0 =

* Initial release.
