manifest / integrations / wp-gatsby-tghp
WP Gatsby TGHP
Additional optimisations on top of WP Gatsby for a WordPress site to as a source for TGHP Gatsby sites.
★ 0stars
53composer installs
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/tghp/wp-gatsby-tghp/archive/refs/heads/main.zipAlso on Packagist as tghp/wp-gatsby-tghp:
composer require tghp/wp-gatsby-tghpFrom the readme
wp-gatsby-tghp - TGHP Extensions to wp-gatsby
Common extensions for TGHP projects to the wp-gatsby plugin. While wp-gatsby optimizes your WordPress site to work as a
data source for Gatsby, wp-gatsby-tghp adds additional layers to further optimize for our projects.
OK, what does it actually do?
1. Support further internal events to trigger wp-gatsby Actions
Actions in wp-gatsby are used to track when something has changed in WordPress so that Gatsby can tell
what needs to be rebuilt. This plugin adds a few more actions to support our internal needs:
1. Posts assigned to terms
2. Metabox (metabox.io only) field values changed on posts/terms/settings-pages
3. SimpleCustomOrder post order changed
4. Yoast SEO field values changed
2. Add manual build trigger
Add a handy button to the dashboard to trigger a build right now.
3. Track Gatsby Cloud events
Webhooks must be added to Gatsby cloud, but once added, the plugin records what happens in Gatsby cloud.
Mainly useful for tracking when successful/failed builds happen. These events are fed back to the user
via a widget on the dashboard.
The webhook URL you need to add should be an outgoing notification via:
{WPURL}/wp-json/wpgatsb