Skip to content

hackshackers/hh-hugo-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Josh Kadis
Mar 10, 2017
91de59c · Mar 10, 2017

History

61 Commits
Dec 21, 2016
Dec 23, 2016
Dec 28, 2016
Feb 6, 2017
Feb 6, 2017
Dec 29, 2016
Dec 21, 2016
Mar 10, 2017
Dec 23, 2016
Dec 23, 2016
Feb 6, 2017
Dec 21, 2016
Dec 17, 2016

Repository files navigation

Hacks/Hackers migration

Migrates WordPress content from the old (pre-2017) WordPress site to the new Hugo site via WP-CLI.

Setup

Place command directory somewhere that WP-CLI can reach it. Then use wp package install or the --require parameter to load the command.

Usage

wp hh-hugo migrate_post         Migrate a single item from WP `post` post type to Hugo `blog` section
wp hh-hugo migrate_all_posts    Migrate all items from WP `post` post type to Hugo `blog` section
wp hh-hugo migrate_group        Migrate a single group
wp hh-hugo migrate_all_groups   Migrate all groups
wp hh-hugo delete_content_dirs  Delete hugo-content and hugo-images directories
wp hh-hugo markdown             Print post_content transformed to Markdown

About

WP-CLI command to migrate from WordPress to Hugo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published