Skip to content

Wordpress

Our wordpress plugin seamlessly integrates your website workflow with the Peakhour service. Once set up, editing posts and pages will automatically flush the relevant content in our global CDN. The plugin is smart enough to pick up associated pages to the one you are editing and also allows manual flushing if necessary.

Requirements#

  • PHP 5.6 or greater
  • Wordpress 4 or greater

Download#

Click here to download the latest version (v0.3.1) of the plugin.

Installation#

  1. Log in to your wordpress admin
  2. Click on Plugins in the left menu
  3. Click on the ‘Add New’ button at the top of the page
  4. Search for ‘Peakhour’, we should be the first result!
  5. Click on ‘Install Now’
  6. Activate from your installed plugin page
  7. Click on Peakhour.io in the left menu

Then in a new tab/browser window#

  1. Log in to your Peakhour account at peakhour.io
  2. Click on ‘API Keys’ in the left menu
  3. Enter the name of your domain in the API key name and click ‘Create’
  4. Copy the generated API key and paste it into the ‘Peakhour API key’
  5. Go back to your wordpress window/tab and paste the API key into the ‘Peakhour API key’ field
  6. enter your domain name (do not enter www or http:// etc)
  7. Click on ‘Save Changes’ at the bottom of the page
  8. Click on the ‘Test connection’ button that will now appear in the ‘Connection Settings’ section

Changelog#

v0.3.2#

  • Verified PHP 5.4 support

v0.3.1#

  • Added client headers

v0.3#

  • Added Strip 'ver=' parameters off static resources.

v0.2#

  • Add manual flushing options
  • Add Ability to remove homepage from automatic flushing if your homepage doesn't display posts etc

v0.1#

  • Initial release