{"id":21678440,"url":"https://github.com/petervanderdoes/export-wordpress-to-hugo","last_synced_at":"2026-04-10T01:35:48.027Z","repository":{"id":143037507,"uuid":"60936039","full_name":"petervanderdoes/Export-WordPress-to-Hugo","owner":"petervanderdoes","description":"Export your WordPress data to be used in Hugo, the static web site generator.","archived":false,"fork":false,"pushed_at":"2016-06-12T23:13:49.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2025-01-25T10:41:13.420Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/petervanderdoes.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-12T01:45:48.000Z","updated_at":"2016-06-12T23:13:51.000Z","dependencies_parsed_at":"2023-07-09T12:16:04.225Z","dependency_job_id":null,"html_url":"https://github.com/petervanderdoes/Export-WordPress-to-Hugo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petervanderdoes%2FExport-WordPress-to-Hugo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petervanderdoes%2FExport-WordPress-to-Hugo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petervanderdoes%2FExport-WordPress-to-Hugo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petervanderdoes%2FExport-WordPress-to-Hugo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/petervanderdoes","download_url":"https://codeload.github.com/petervanderdoes/Export-WordPress-to-Hugo/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244591502,"owners_count":20477708,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-25T14:34:25.079Z","updated_at":"2025-12-31T00:06:00.163Z","avatar_url":"https://github.com/petervanderdoes.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# update\n\n2015.12.05 add a pr to the base line:\n\n1. fix a markdown format display issue\n2. fix the unicode tilte issue that will has wrong url and not be routed.\n\n# WordPress to Hugo Exporter\n\nHugo a static site generator written in GoLang: [http://hugo.spf13.com/](http://hugo.spf13.com/)\n\nThis repo is based on [https://github.com/benbalter/wordpress-to-jekyll-exporter](https://github.com/benbalter/wordpress-to-jekyll-exporter)\n\n### Changes\n\n- mainly for the front matter section\n- renamed jekyll to hugo\n\n## Hugo Features\n\nOne-click WordPress plugin that converts all posts, pages, taxonomies, metadata, and settings to Markdown and YAML which can be dropped into Hugo.\n\n## Features\n\n* Converts all posts, pages, and settings from WordPress for use in Hugo\n* Export what your users see, not what the database stores (runs post content through `the_content` filter prior to export, allowing third-party plugins to modify the output)\n* Converts all `post_content` to Markdown Extra (using Markdownify)\n* Converts all `post_meta` and fields within the `wp_posts` table to YAML front matter for parsing by Hugo\n* Generates a `config.yaml` with all settings in the `wp_options` table\n* Outputs a single zip file with `config.yaml`, pages, and `post` folder containing `.md` files for each post in the proper Hugo naming convention\n* No settings. Just a single click.\n\n## Usage\n\n1. Place plugin in `/wp-content/plugins/` folder\n2. Make sure `extension=zip.so` line is uncommented in your `php.ini`\n3. Activate plugin in WordPress dashboard\n4. Select `Export to Hugo` from the `Tools` menu\n\n## Command-line Usage\n\nIf you're having trouble with your web server timing out before the export is complete, or if you just like terminal better, you may enjoy the command-line tool.\n\nIt works just like the plugin, but produces the zipfile at `/tmp/wp-hugo.zip`:\n\n    php hugo-export-cli.php\n\nAlternatively, if you have [WP-CLI](http://wp-cli.org) installed, you can run:\n\n```\nwp hugo-export \u003e export.zip\n```\n\nThe WP-CLI version will provide greater compatibility for alternate WordPress environments, such as when `wp-content` isn't in the usual location.\n\n## License\n\nThe project is licensed under the GPLv3 or later\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetervanderdoes%2Fexport-wordpress-to-hugo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetervanderdoes%2Fexport-wordpress-to-hugo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetervanderdoes%2Fexport-wordpress-to-hugo/lists"}