<p align="center">
  <img src="./images/banner.png" alt="WP Trigger Netlify Build" width="600">
</p>

# WP Trigger Netlify Build

This plugin was built to make it easier for developers to use WordPress as a headless CMS. It makes it a breeze to trigger builds in [Netlify](https://www.netlify.com/) whenever content is created or updated.

## Installation

You can download the .zip file from [the github repo](https://github.com/iamtimsmith/wp-trigger-netlify-build.git) or clone the repository into the plugins folder using the following code.

```
git clone https://github.com/iamtimsmith/wp-trigger-netlify-build.git
```

Next you have to install and activate the plugin within the wordpress admin. Once activated, grab the webhook url from Netlify and enter it into the plugin settings page. Next you can grab the status image url and link url to drop into the settings which will provide the netlify status banner in the WordPress dashboard.

## Screenshots

<p align="left">
  <img src="./images/screenshot1.png" alt="Settings page in WordPress admin" width="350">
</p>
<p align="left">
  <img src="./images/screenshot2.png" alt="Dashboard with Netlify status" width="350">
</p>

## Contributors

<img src="./images/iamtimsmith.png" alt="@iamtimsmith" height="60">
<img src="./images/mvaneijgen.png" alt="@mvaneijgen" height="60">