
再加上 WordPress 將編輯器改成古登堡後,便讓梅干萌生了出走潮,而當時又有好友推坑,就這樣一路投向hugo的懷抱,但先前已在WordPress寫了不少的文章,總不可能全部重來,所以在當時爬許多的資料,終於成功的將WordPress中的文章全部匯出成hugo的架構與格式,再稍作整理,就順利的移到hugo啦!那天有朋友問到梅干怎麼將WordPress移到hugo,本想說先前已有寫過分享文,但找半天沒找到,才發現竟然忘了寫,現在就補寫一下,有想將WordPress移入hugo的朋友,現在也一塊來看看囉!
wordpress-to-hugo-exporter
Step1
這隻外掛, 放在gitHub中,進入後點右上的 Code 鈕,再點 Download ZIP 。

Step2
接著進到WordPress安裝外掛的頁面後,將剛所下載的外掛,選擇並將它安裝與啟用。

Step3
在啟用完畢後,在工具中,就會看到Export to Hugo選項,點一下就會批次將WordPress的文章與圖片全部匯出成Hugo架構與格式。

Step4
解開後,分別就會看到,此外掛會貼心的將檔案歸類。

Step5
點開來看一下,文章的格式就會變成hugo專用的md檔,接著再把資料稍作整理,匯入hugo中,就可開心的使用hugo囉!!
