=== SmartDoc to Post Importer === Contributors: santokiankur,parthiv03 Donate link: https://profiles.wordpress.org/santokiankur/ Tags: docx, import, document, word, formatting Requires at least: 5.0 Tested up to: 7.0 Stable tag: 1.0.8 Requires PHP: 7.4 Plugin URI: https://wordpress.org/plugins/smartdoc-to-post-importer Author URI: https://profiles.wordpress.org/santokiankur/ License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Import Word documents into WordPress while preserving links, lists, formatting, images, tables, and more. == Description == SmartDoc to Post Importer is a WordPress plugin designed to make importing Microsoft Word documents (.docx and .doc) into your website seamless and reliable. Whether you're migrating blog content, uploading documentation, or transferring educational resources, this plugin ensures that the structure and style of your documents remain intact. The plugin uses advanced XML parsing to interpret the document's internal structure and convert it into native WordPress content. All formatting—headings, lists, tables, images, and even internal links—is preserved during the import process. Uploaded documents are processed locally on your server, ensuring privacy and compliance with data protection policies. Users can upload one or many Word files at once via a drag-and-drop interface in the admin dashboard. Each document gets its own preview card with an editable title, SEO fields and featured image, while shared settings such as post type, status, publish date and categories are applied to the whole batch. The plugin then imports every document as its own post in a single click. SmartDoc to Post Importer is ideal for content creators, technical writers, educational institutions, and businesses who want to manage Word-based content directly within WordPress without losing document fidelity. == Usage == 1. Go to 'SmartDoc to Post Importer' in the WordPress admin menu. 2. Click "Upload Word Documents" and select one or more .docx or .doc files (or drag them onto the upload area). 3. Review each document's preview card and edit its title, SEO fields and featured image. 4. Choose the shared settings (post type, status, publish date, categories) that apply to the whole batch. 5. Click "Import All to WordPress" to create every document as its own post. 6. Review the posts in the editor and publish when ready. = Key Features = * **Multi-Document Batch Import** - Upload and import many Word documents at once, each as its own post * **100% Formatting Preservation** - Maintains all text formatting including bold, italic, underline, and colors * **Complete Structure Support** - Preserves headings (H1-H6), paragraphs, and document hierarchy * **Advanced List Handling** - Converts both bulleted and numbered lists with proper nesting * **Link Preservation** - Maintains all hyperlinks with proper URLs and targets * **Image Import** - Automatically uploads and embeds images from Word documents * **Table Support** - Preserves complex table layouts and formatting * **SEO Optimization** - Automatically extracts meta titles and descriptions * **Multiple Post Types** - Import as posts, pages, or custom post types * **Category Assignment** - Automatically assign imported content to categories * **Draft Mode** - All imports start as drafts for review before publishing = Perfect For = * **Content Migration** - Moving existing Word documents to WordPress * **Blog Content** - Converting Word articles to blog posts * **Documentation** - Importing technical documentation and manuals * **Educational Content** - Converting course materials and resources * **Business Content** - Importing reports, proposals, and presentations = Technical Features = * **Advanced XML Parsing** - Processes Word's internal XML structure for accurate conversion * **Media Library Integration** - Automatically uploads images to WordPress media library * **SEO Plugin Compatibility** - Works with Yoast SEO, RankMath, and All in One SEO * **Security First** - All uploads are validated and sanitized * **Performance Optimized** - Efficient processing of large documents * **Error Handling** - Comprehensive error reporting and recovery = Supported Formats = * Microsoft Word 2007+ (.docx) * Microsoft Word 97-2003 (.doc) * Maximum file size: 10MB = Requirements = * WordPress 5.0 or higher * PHP 7.4 or higher * ZipArchive PHP extension * DOMDocument PHP extension == Installation == 1. Upload the plugin files to the `/wp-content/plugins/smartdoc-to-post-importer` directory, or install the plugin through the WordPress plugins screen directly. 2. Activate the plugin through the 'Plugins' screen in WordPress 3. Navigate to 'SmartDoc to Post Importer' in your WordPress admin menu 4. Upload your Word document and follow the import wizard = Manual Installation = 1. Download the plugin zip file 2. Extract the files to your `/wp-content/plugins/` directory 3. Activate the plugin through the WordPress admin == Frequently Asked Questions == = What file formats are supported? = SmartDoc to Post Importer supports Microsoft Word .docx (2007+) and .doc (97-2003) formats. We recommend using .docx for best results. = Is there a file size limit? = Yes, the maximum file size is 10MB. This limit ensures optimal performance and prevents server timeouts. = Will my formatting be preserved? = Yes! SmartDoc to Post Importer preserves all text formatting including bold, italic, underline, colors, headings, lists, links, images, and tables. = Can I import images from Word documents? = Absolutely! All images are automatically extracted from the Word document and uploaded to your WordPress media library. = Does it work with SEO plugins? = Yes, SmartDoc to Post Importer is compatible with popular SEO plugins including Yoast SEO, RankMath, and All in One SEO Pack. = Can I import to custom post types? = Yes. The shared "Post Type" dropdown lists every public post type registered on your site, so you can import into posts, pages, or any public custom post type. = What happens to my original Word document? = The original document is temporarily uploaded for processing and then automatically deleted for security. Your original file remains unchanged. = Can I preview before importing? = Yes! The plugin provides a full preview of how your content will look before you import it to WordPress. = Can I import more than one document at a time? = Yes. Select or drag several .docx/.doc files onto the upload area and each will appear as its own preview card. Set the title, SEO fields and featured image per document, choose the shared settings (post type, status, date, categories), then click "Import All to WordPress" to create every post in one go. = Is it safe to use? = Absolutely. All file uploads are validated, and content is sanitized before import. The plugin follows WordPress security best practices. == Screenshots == 1. Main upload interface with drag-and-drop support 2. Document preview showing preserved formatting 3. Import settings with post type and category options 4. Successfully imported content with all formatting intact 5. Admin dashboard showing import statistics == Changelog == = 1.0.8 = * Improvement: Renamed the "Editor Format" import option to simply "Editor". * Improvement: Added new screenshots to the plugin listing. = 1.0.7 = * Improvement: The content preview now opens in a large popup instead of expanding inline, making it easier to review a document before importing. = 1.0.6 = * New: Block editor (Gutenberg) support - imported documents can now be created as native Gutenberg blocks (paragraph, heading, list, image, table, quote) instead of a single Classic block. * New: "Editor Format" option on the import screen to choose between Block editor (Gutenberg) and Classic editor (HTML) output for each batch. * Improvement: Lists use the classic list markup so they render natively on older WordPress and migrate cleanly on newer versions. = 1.0.5 = * Improvement: Headings now import as clean tags (e.g. `