A WordPress plugin for static site generation and deployment.
Looking for the older style plugin? It's been renamed and improved as Static HTML Output.
WP2Static is an open source project, maintained by many generous developers over the years, including, but not limited to these contributors on GitHub. Source code for this core repository and all addons shall always remain publicly available.
Read about WP2Static's developers, contributors, supporters.
develop branch is considered unstable with latest code changes (current build status: ).
develop branch should always have a
-dev WordPress plugin version, ie
master branch should always reflect a stable release, such as
7.1.1, which should have a matching tag.
Please don't be intimidated to contribute code to this project. I welcome code in any way you're comfortable to contribute it (email, forum, diff). If you're new to GitHub and this kind of thing, the below guide may help you.
git clone https://github.com/<your-account>/wp2static.git
git checkout -b feature-myfeature
git push origin feature-myfeature
git remote add upstream https://github.com/leonstafford/wp2static
git fetch upstream
git checkout develop
git merge upstream/develop
Fork project WP2static home page
git clone https://github.com/ebavs/wp2static.git #clone repository (please,change ebavs by yours, this is only an example)
Then add WP2Static remote
git remote add upstream https://github.com/leonstafford/wp2static #add remote
git checkout -b feature-newdocumentation #create new branch to do changes
git commit -am "my new commits #send new changes
git push origin feature-myfeature #push to your repository
Then Pull Request in WP2Static
git fetch upstream #download commits from wp2static repo
git checkout develop #change to local develop branch
git merge upstream/develop #merge with wpstatic develop branch
This is currently done by @leonstafford and involves these steps:
wp2static.phpversion to non-dev, ie
masterbranch and tag to GitHub