DK PDF – WordPress PDF Generator

Mô tả

Transform your WordPress content into professional PDF documents

Generate stunning, brand-consistent PDF files from your WordPress posts, pages, custom post types, and WooCommerce products with just one click. Perfect for content creators, businesses, and developers who need reliable PDF generation.

Homepage | View Demo | Documentation | YouTube

Powerful features that deliver results

  • Multi-Content Generation: Create PDFs from posts, pages, custom post types, taxonomies, WooCommerce products, shop and categories
  • Selective Content Display: Choose exactly what appears in your PDFs – featured images, post dates, authors, categories, and more
  • Custom Fields Support: Add custom fields including Advanced Custom Fields, see documentation
  • Custom Font Manager: Upload and manage custom .ttf fonts to match your brand typography in generated PDFs: see documentation
  • Multi-Language Support: Core fonts management for Arabic, Hebrew, Indic, and CJK languages ensuring proper character rendering
  • Button Visibility by User Role: Control which WordPress user roles can see and generate PDFs, see documentation
  • WooCommerce Integration: Include product details like prices, SKUs, categories, and more
  • Header & Footer Control: Add logo, custom text, and branding elements to headers and footers
  • Custom CSS Support: Apply your own styling to match your brand perfectly
  • Smart Content Control: Use powerful shortcodes to hide sections, create column layouts, and add page breaks exactly where you need them
  • Template Overrides: Create custom templates in your theme for complete design and content control
  • WordPress Hooks: Extensive filter and action hooks for advanced customization

Perfect for every use case

  • Content Creators & Bloggers: Transform your best blog posts into downloadable PDFs for lead magnets or offline reading.
  • E-commerce Sites: Create product catalogs and detailed product sheets from your WooCommerce products.
  • Developers: Build custom PDF solutions for clients using template overrides and WordPress hooks.
  • Educational Sites: Convert course materials, lessons, and resources into portable PDF formats.

DK PDF Custom Services

Need custom functionality for the DK PDF Plugin? I provide professional customization services to extend and enhance your PDF generation capabilities.

Ảnh màn hình

  • Hiển thị nút download ngoài Front-end
  • Thiết lập nút PDF
  • Thiếp lập các cài đặt PDF
  • Thiết lập phần Header và Footer file PDF
  • Tuỳ chỉnh CSS
  • PDF Templates
  • Single post PDF
  • Category PDF
  • WooCommerce Product PDF
  • WooCommerce Shop PDF
  • Tắt tính năng tải file PDF.
  • Custom Fields support

Cài đặt

Cài đặt “DK PDF” có thể được thực hiện bằng cách tìm kiếm “DK PDF” trong “Plugin& gt; Thêm mới” trong bảng điều khiển WordPress của bạn hoặc bằng cách thực hiện các bước sau:

  1. Tải về plugin từ WordPress.org
  2. Tải lên tập tin cài đặt của plugin này bằng cách ‘Plugin > Thêm mới > Tải lên từ trang quản trị plugin.
  3. Kích hoạt plugin trong menu ‘Plugin’ WordPress

Đánh giá

16 Tháng 12, 2024
Contrary to older reviews, the developer has updated the plugin to support PHP8. I’ve tried nearly every PDF generator plugin out there, and most are either overly complicated, have cluttered UIs, bombard you with paid upgrade ads, or are just awful to set up and use—especially for something that should be straightforward with the abundance of PDF libraries available. This plugin is the one—clean, no-nonsense, developer-friendly (if you need to control the styling and output), and most importantly, backed by a super helpful developer. If only more developers created sensible, easy-to-use, and well-designed plugins like this one.
22 Tháng 1, 2023
No longer maintained, not compatible with PHP 8 Like the title says, this plugin is no longer maintained and it is not compatible with PHP 8. This is the error it outputs using PHP 8.0: Array and string offset access syntax with curly braces is no longer supported in /public_html/wp-content/plugins/dk-pdf/vendor/mpdf/mpdf/src/Mpdf.php on line 2209 Please, pretty please, somebody fix this !!!
24 Tháng 12, 2021
Update Hello Please update your plugin. Your plugin is the best, but your plugin does not support Persian and Arabic. After receiving the PDF file, a mark from the sites whose articles are in Persian ??????? Is displayed instead of letters in the received PDF. thanks a lot
Đọc tất cả 43 đánh giá

Người đóng góp & Lập trình viên

“DK PDF – WordPress PDF Generator” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

Nhật ký thay đổi

2.3.1

  • Fix – Server-Side Request Forgery by sanitizing external URLs from content, and configuring mPDF to restrict external resource fetching.

2.3.0

  • Enhancement – Add custom font manager for uploading and managing custom .ttf fonts in PDF generation.
  • Enhancement – Add core fonts management, recommended for Arabic, Hebrew, Indic and CJK languages support.

2.2.1

  • Enhancement – Display custom fields in WooCommerce product PDF.
  • Fix – Fatal error when generating PDFs for posts with non-publish status.
  • Fix – Respect ‘shortcode only’ position setting on WooCommerce and WordPress archive pages.

2.2.0

  • Enhancement – Add button visibility by role.
  • Enhancement – Add max. number of items to display in the PDF.
  • Fix – Fatal error with composer package versions.
  • Fix – Wrong header and footer title for categories and shop.

2.1.0

  • Enhancement – Add custom fields support.
  • Fix – Display pdf button in wc taxonomies to apply.

2.0.2

  • Fix – Wrong post content in single templates.

2.0.1

  • Fix – Broken shortcodes after 2.0.0 upgrade.

2.0.0

  • Enhancement – New template system and content display including archive and single templates.
  • Enhancement – Support for WooCommerce products including single, shop and archive pages.

1.9.10

  • Enhancement – Add new template sets system.
  • Enhancement – Add new dkpdf_content_template filter to select template conditionally.
  • Enhancement – Add output PDF html for debugging purposes.
  • Enhancement – Increase init settings action priority to allow more custom post types to apply.

1.9.9

  • Fix – Plugin templates not displaying CSS correctly.

1.9.8

  • Fix – Add custom namespace to avoid issues with third party composer packages.
  • Fix – Disable deprecated dynamic property message.

1.9.7

  • Enhancement – Update plugin requirements and mpdf library to PHP 8+
  • Fix – Reflected Cross-Site Scripting security issue

1.9.6

  • Cập nhật thư viện mPDF lên phiên bản mới nhất.
  • Bộ lọc mới dkpdf_mpdf_font_dir, dkpdf_mpdf_font_data, dkpdf_mpdf_temp_dir. Cảm ơn joostvanbockel.

1.9.3

  • Hoàn nguyên về 1.9.1, đã xảy ra sự cố trong phiên bản 1.9.2

1.9.2

1.9.1

  • Đã thêm PDF Protection trong Cài đặt thiết lập PDF
  • Shortcodes cho cột mới: [dkpdf-columns] and [dkpdf-columnbreak]
  • Bộ lọc mới: dkpdf_pdf_filename
  • Sửa lỗi các admin_enqueue_scripts được hiển thị trên tất cả các trang (cảm ơn đến Aristeides Stathopoulos @aristath)

1.9

  • Đã thêm thuộc tính thẻ shortcode vào dkpdf-remove shortcode
  • Hỗ trợ biểu tượng FontAwesome
  • Đã thêm tiêu đề bài đăng dưới dạng tên tệp PDF khi được tải xuống từ trình duyệt

1.8

  • Bộ lọc mới dkpdf_pdf_format
  • Bộ lọc mới dkpdf_header_title
  • Tùy chọn để xóa nút PDF mặc định khi thêm nút PDF theo cách thủ công (cảm ơn đến Renato Alves)

1.7

  • Bộ lọc mới (xem tài liệu hướng dẫn các bộ lọc )
  • Sửa lỗi các vấn đề #21 #23 #24 trên Github

1.6

  • Đã thử nghiệm trên bản 4.4.2
  • Đã thêm tính tương thích của DK PDF Generator (css + shortcodes)

1.5

  • Đã thêm CSS tùy chỉnh PDF trong cài đặt
  • Các trường cài đặt được xác nhận kiếm tra.

1.4

  • Đã thêm shortcode [dkpdf-pagebreak] để thêm ngắt trang
  • Đã thêm bộ lọc dkpdf_header_pagination và dkpdf_footer_pagination
  • Đã thêm trang tiện ích vào menu quản trị

1.3

  • Menu quản trị PDF DK mới để có khả năng sử dụng tốt hơn
  • Đã thêm tab Thiết lập PDF để điều chỉnh hướng trang, kích thước phông chữ và lề của PDF
  • Đã thêm shortcode [dkpdf-remove] để xóa các phần nội dung trong PDF được tạo

1.2

  • Liên kết cài đặt trong trang danh sách plugin
  • Điều chỉnh mẫu tiêu đề để hiển thị biểu tượng tốt hơn

1.1

  • Loại bỏ shortcode dkpdf-nút trong tệp PDF được tạo

1.0

  • Phát hành lần đầu