https://github.com/devandreacarratta/wptogohugo
Export your WordPress Posts to Hugo!
https://github.com/devandreacarratta/wptogohugo
csharp hugo php wordpress
Last synced: 6 months ago
JSON representation
Export your WordPress Posts to Hugo!
- Host: GitHub
- URL: https://github.com/devandreacarratta/wptogohugo
- Owner: devandreacarratta
- License: mit
- Created: 2020-04-12T07:32:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T10:11:49.000Z (almost 3 years ago)
- Last Synced: 2023-03-06T07:17:40.035Z (over 2 years ago)
- Topics: csharp, hugo, php, wordpress
- Language: C#
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WPToGOHugo
Export your WordPress Posts to Hugo! Unfortunatly, my blog was created with Divi and Divi Code Snippet plugin (et_pb_dmb_code_snippet) so I can write a custom export. The Code Snippet plugin save your data in base64 for example.
## How WPToGOHugo works
- Open the Solution **WPToGOHugo.Console.sln**
- In the project **WPToGOHugo.TestConsole** use the class DownloadPHPPage and call the method Run()
- Get the PHP Page and copy in your wordpress web site as **post2json.php** (base root folder - the same of wp-config.php file)
- Try in your browser https://YourSite.EXT/post2json.php (*)
- Back to WPToGOHugo.TestConsole
- Set the URL (*) as first argument
- Run the tool
- Open the Build folder and inside "Output" you can see your wordpress's post in the new format!