A wordpress plugin to convert wordpress posts and product and pages to hugo cms

WordPress to Hugo Exporter

This plugin allows you to export your WordPress posts, pages, and products as Hugo-compatible Markdown files, enabling you to easily migrate content to the Hugo static site generator.
Features

Supports exporting posts, pages, and products (requires WooCommerce plugin installation)
Preserves metadata such as categories, tags, and featured images
Generates Hugo-compatible Front Matter format
Automatically creates appropriate directory structures
Displays progress and result statistics during the export process

Installation

Download the plugin zip file from GitHub
Navigate to "Plugins" > "Add New" in your WordPress admin panel
Click the "Upload Plugin" button
Select the downloaded zip file and upload it
Activate the plugin

Usage

Go to "Tools" > "Hugo Export" in your WordPress admin panel
Choose the content types to export (posts, pages, products, or all)
Click the "Start Export" button
Wait for the export to complete and view the result statistics
Exported Markdown files will be saved in the wp-content/md/ directory

auth: https://hugocms.net

1 Like

we also have python script :slight_smile: