This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Buffer App Library | |
*/ | |
session_start(); | |
require_once(get_template_directory().'/includes/libraries/bufferapp/bufferapp.php'); | |
/** | |
* Post to Buffer on Publish/Scheduled Publish | |
*/ | |
function buffer_schedule($post_id) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Adds Google Schema Data (Posts) | |
*/ | |
function enqueue_review_jsonld() { | |
if (is_singular('post')) : | |
global $post; | |
$post_thumbnail = get_the_post_thumbnail_url( $post); // the featured thumbnail of our review |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* init gulp plugins | |
*/ | |
var gulp = require('gulp'); | |
var plugins = require('gulp-load-plugins')(); | |
var map = require('map-stream'); | |
var events = require('events'); | |
var emitter = new events.EventEmitter(); | |
var path = require('path'); | |
var gutil = require('gulp-util'); |