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
/** | |
* @author Gabe Rose (gabe.s.rose@gmail.com) | |
* Plugin Description: | |
* This is a simple slider plugin designed to be used in WordPress Visual Composer to make easily customizable sliders. | |
* @TODO: Reduce specifity so it can actually be used separate builds. | |
*/ | |
var index = 1, | |
maxIndex = 3, | |
newIndex, |
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
<?php | |
/* When a form is submitted, create two custom posts */ | |
function after_gform_submit($entry, $form) { | |
$isInteraction = false; | |
$interaction_type_id; | |
$supporter_email_id; | |
foreach($form["fields"] as $field) { | |
if ( $field["label"] == "Interaction Type" ) { |
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
jQuery(function($) { | |
var page = 1, | |
loading = true, | |
$window = $(window), | |
$content = $('body.page-template-page-browse-php #content'); | |
var load_posts = function() { | |
console.log('load_posts():: INIT'); | |
$.ajax({ | |
type : "GET", |
NewerOlder