=== Convert Articles to PDF ===
Contributors: maryamnoor00
Tags: pdf, convert to pdf, dompdf, wordpress to pdf, post to pdf
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.2
Stable tag: 1.0.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html


Easily convert your WordPress posts into high-quality downloadable PDF documents using DOMPDF.

== Description ==

**Convert to PDF** is a simple yet powerful plugin that allows WordPress site owners to generate downloadable PDF versions of their blog posts. Whether you're creating guides, printable articles, or PDF resources, this plugin handles it with ease.

- Uses the **Dompdf** PHP library (no JavaScript).
- Works with any WordPress theme.
- Supports featured images and custom styling.
- Users can configure orientation, page size, and PDF design via settings.

Great for bloggers, documentation sites, and businesses who need professional-looking PDFs from their content.

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`.
2. Activate the plugin through the "Plugins" screen in WordPress.
3. Go to **Tools → Convert to PDF** to configure settings.
4. Enable the PDF download button.
5. Visit any blog post and click **Download as PDF**.

== Frequently Asked Questions ==

= Can I change where the button appears? =  
Yes, you can choose whether the button appears **before** or **after** post content.

= Does it work with Elementor or Gutenberg? =  
Yes, the plugin captures post content, regardless of builder.

= Are images supported? =  
Yes, featured images and inline images are rendered using Dompdf.

= Can I add my own CSS? =  
Yes, you can write custom CSS for both PDF layout and the frontend download button.

== Screenshots ==

1. Settings panel with controls for enabling the button, positioning it before/after content, and toggling featured image.
2. Custom styling field for the PDF output and frontend download button.
3. Download as PDF button visible on frontend post (with styling applied).


== Changelog ==

= 1.0.4 =
* Initial release
* Added settings panel
* Featured image & PDF customization
* DOMPDF integration

== Upgrade Notice ==

= 1.0.0 =
Initial release – Converts blog posts to PDF with clean design and user settings.

