Skip to content

Instantly share code, notes, and snippets.

View tjtaylo's full-sized avatar

Travis Taylor tjtaylo

View GitHub Profile
INFO global: Vagrant version: 2.2.0
INFO global: Ruby version: 2.4.4
INFO global: RubyGems version: 2.6.14.1
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/embedded/gems/2.2.0/gems/vagrant-2.2.0/bin/vagrant"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_LOG="debug"
WARN global: resolv replacement has not been enabled!
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.2.0/gems/vagrant-2.2.0/plugins/commands/box/plugin.rb
<?php
// variables
$name = 'Products';
$singular_name = 'Product';
$menu_position = 6;
$func_name = 'cpt_' . strtolower($singular_name);
if( !function_exists( $func_name ) ) {
$func_name = function() use ($name, $singular_name) {
(function ($){
$.fn.testimonials = function(options) {
var list_wrapper = this;
var children = this.children();
var list = [];
var display_count = options.display;
var current_index = 0;
var timer = options.timer;
var animate = options.animate;