Skip to content

Instantly share code, notes, and snippets.

View DerekCaelin's full-sized avatar

Derek Caelin DerekCaelin

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@DerekCaelin
DerekCaelin / pods-template-filter.php
Last active December 21, 2018 16:58 — forked from Shelob9/pods-template-filter.php
This is an example of how to append Pods Templates to content in a custom post type. For an automated version of this see: https://github.com/pods-framework/pods-frontier-auto-template
<?php
/*
Plugin Name: Pod Template
PluginURI: https://gist.github.com/Shelob9/7540721
Author: Josh Pollock
AuthorURI: http://JoshPress.net
Modified by: Derek Caelin
*/
function slug_pods_content_filter($content) {
if ( get_post_type() == 'tool' ) {
@DerekCaelin
DerekCaelin / .block
Last active May 18, 2017 18:55
fresh block
license: mit
@DerekCaelin
DerekCaelin / gist:fb13d85e4bcd503217cc5793c27dfc08
Last active November 30, 2022 18:13
Google Form to Trello Board via Email
/*
If you want entries on a Google form to auto-create a Trello card,
you can follow the steps below.
There are two ways to connect a Google form to a Trello board. One of them
involves using the Trello API. This version instead works by sending an email to a
Trello board's private email address and then it creates cards based off the content
of the email.
Trello will make a card with a title that matches the "subject" line of the