Postora Export for DOCX

By abdulrehmanseo

★ 5.0/5 (1 ratings)100+ active installationsVersion 2.0.4

Download WordPress posts and drafts as properly formatted Microsoft Word DOCX files.

Description

Postora Export for DOCX lets you export a WordPress post, including an unpublished draft, as a properly formatted Microsoft Word .docx file with one click.

The export is generated securely on your own server. No content is sent to an external service, and no third-party PHP library is required.

Features

  • Download draft, pending, scheduled, private, and published posts.
  • Export from the Posts list or the post editor.
  • Include the title, status, author, last-modified date, categories, and featured image.
  • Preserve headings, paragraphs, bold text, italic text, underline, links, lists, nested lists, blockquotes, code blocks, tables, captions, and local Media Library images.
  • Distribute table columns automatically according to the number of cells.
  • Keep exports private with post-specific nonces and WordPress capability checks.
  • Protect server resources with image-count and image-size limits.
  • Build genuine DOCX files with PHP’s built-in ZipArchive extension.
  • Process everything locally without tracking, remote requests, or external services.

The plugin exports the currently saved database version of the post. Save or update the post before downloading to include your latest editor changes.

Shortcodes are not executed by default. This avoids running unknown or expensive shortcode callbacks during an export. Developers can enable trusted shortcodes with the postora_docx_process_shortcodes filter.

Installation

  1. Upload the postora-export-for-docx folder to /wp-content/plugins/, or install the plugin ZIP through Plugins > Add New > Upload Plugin.
  2. Activate Postora Export for DOCX through the Plugins screen.
  3. Go to Posts and click “Download DOCX” beneath an eligible post.
  4. Alternatively, open a post and use the “Download DOCX” button in the editor sidebar.

The plugin requires the PHP Zip extension and checks for ZipArchive during activation.

FAQ

Does it work with drafts?

Yes. Draft export is one of the plugin’s primary use cases. Downloading a draft does not publish or modify it.

Does it work with custom post types?

The default interface supports the regular Posts post type. Developers can add pages or custom post types with the postora_docx_supported_post_types filter; the plugin then adds the relevant row action and editor meta box automatically.

Are images included in the export?

Yes. Featured images and inline images stored in the local WordPress uploads directory are embedded in the DOCX file. Remote images are not downloaded.

Are there image limits?

Yes. An export can include up to 50 unique images, with a maximum of 20 MB per image and 100 MB of image data in total. Repeated uses of the same image are deduplicated.

Does it require any extra PHP extensions?

It requires PHP’s ZipArchive extension. The plugin checks for this during activation and displays a clear error when it is unavailable. The DOM extension is optional because the plugin includes a fallback HTML parser.

Are shortcodes executed?

No, not by default. Developers can enable trusted shortcode processing with the postora_docx_process_shortcodes filter.

Is anything sent to external servers?

No. All processing happens on your WordPress server. The plugin makes no remote requests and includes no analytics or tracking.

Can export metadata be changed or disabled?

Yes. Developers can use the postora_docx_metadata_settings and postora_docx_metadata_lines filters to remove or customise status, author, modified-date, and category information.

Screenshots

Changelog

2.0.4

  • Prevent the global LeadCatch admin notice from appearing on Postora Dashboard, Activity Logs and Settings screens.
  • No styling or CSS changes.

2.0.3

  • Redesigned the Dashboard, Settings and Activity Logs screens with a modern card layout, status badges and toggle switches.
  • Restyled the LeadCatch admin notice and dashboard card.
  • Added the website link (https://shopifywpplugins.online/) to the plugin header, Plugins screen, dashboard and footer.
  • Added Dashboard and Settings shortcuts on the Plugins screen.
  • No change to the DOCX/PDF export engine.

2.0.2

  • Updated plugin version metadata to 2.0.2.
  • Clarified PHP compatibility: PHP 7.4 is the minimum requirement; PHP 8.3 or newer is recommended.
  • Added a dashboard system-compatibility panel showing the active PHP version and whether ZipArchive is available.

2.0.1

  • Added a LeadCatch promotional card to the Postora dashboard.
  • Added an administrator notice across wp-admin with a per-user 24-hour dismissal period.
  • Added a setting to enable or disable the cross-promotion.

2.0.0

  • Added an admin dashboard with export statistics and recent activity.
  • Added activity logs with user, post, format, status and date information.
  • Added settings for export formats, button locations, post types, PDF metadata and log retention.
  • Added print-ready PDF export using the browser print dialog (Save as PDF).
  • Preserved the existing DOCX generation engine.

1.1.0

  • Added secure DOCX export for draft, pending, scheduled, private, and published posts.
  • Added post-list and editor-sidebar download actions.
  • Added headings, inline formatting, nested lists, blockquotes, code blocks, tables, captions, featured images, and local inline-image support.
  • Added automatic table cell widths based on column count.
  • Added depth-aware indentation for nested lists.
  • Added canonical uploads-path validation to prevent local file traversal.
  • Added limits of 50 images, 20 MB per image, and 100 MB total image data.
  • Added image deduplication.
  • Added safe error messages and private debug logging.
  • Added ZIP-operation and download-stream checks.
  • Added emoji and supplementary Unicode support.
  • Added network-disabled DOM parsing with a fallback parser when DOM is unavailable.
  • Added strict handling for unpublished WordPress GMT zero dates.
  • Added an activation check for PHP ZipArchive.
  • Added filters for supported post types, metadata, rendered content, shortcodes, and optional JPEG metadata stripping.
  • Added export and cleanup action hooks for integrations and auditing.

1.0.0

  • Initial development release.