Use gem install bunchcli
to install, then run bunch -h
for a list of commands.
How to parse Gutenberg content for headless WordPress | |
https://kinsta.com/blog/headless-wordpress-gutenberg/ | |
Adding wrapper to Gutenberg’s Table block | |
https://helloadmin.com/adding-wrapper-to-gutenbergs-table-block/ | |
Display specific Gutenberg blocks of a post outside of the post content in the theme | |
https://florianbrinkmann.com/en/display-specific-gutenberg-blocks-of-a-post-outside-of-the-post-content-in-the-theme-5620/ | |
Modifying the Markup of a Core Block |
My Elasticsearch cheatsheet with example usage via rest api (still a work-in-progress)
If you get totally stuck, here are some resources that may help you: Roots Discourse. Actually, you may want to head over and read this through really quick. It's nowhere near as long as this and may be good to have in the back of your mind when reading the rest of this document. Capistrano Website with manual Screencast on deploying WordPress with Capistrano.
Bedrock is created by the good awesome people behind Sage and is described as a "WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure." Read more at
https://roots.io/bedrock.
<?php namespace Generic; | |
use RuntimeException; | |
/** | |
* Class Autoloader. | |
* | |
* This is a custom autoloader to replace the functionality that we would | |
* normally get through the autoloader generated by Composer. | |
* |
Slack doesn't provide an easy way to extract custom emoji from a team. (Especially teams with thousands of custom emoji) This Gist walks you through a relatively simple approach to get your emoji out.
If you're an admin of your own team, you can get the list of emoji directly using this API: https://api.slack.com/methods/emoji.list. Once you have it, skip to Step 3
HOWEVER! This gist is intended for people who don't have admin access, nor access tokens for using that list.
Follow along...
<?php | |
/** | |
* Get field key for field name. | |
* Will return first matched acf field key for a give field name. | |
* | |
* ACF somehow requires a field key, where a sane developer would prefer a human readable field name. | |
* http://www.advancedcustomfields.com/resources/update_field/#field_key-vs%20field_name | |
* | |
* This function will return the field_key of a certain field. |
<?php | |
/** | |
* API Request Caching | |
* | |
* Use server-side caching to store API request's as JSON at a set | |
* interval, rather than each pageload. | |
* | |
* @arg Argument description and usage info | |
*/ |