Skip to content

Instantly share code, notes, and snippets.

@rothschild86
rothschild86 / style.css
Last active August 21, 2016 04:38
Genesis Parallax Pro tweaks via Jetpack custom css as seen on http://hollywoodeliteroofing.trustedlocalpro.com/
/*
Welcome to Custom CSS!
To learn how this works, see http://wp.me/PEmnE-Bt
*/
/*full width beaver*/
.fl-builder-full .site-inner {
max-width: none;
margin-top: 0;
}
@rothschild86
rothschild86 / cf-hubspot.php
Created May 12, 2016 01:46
Caldera Forms to HubSpot CRM integration
<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.
//required plugins: code snippets, caldera forms, caldera forms run action
add_action('consult_req_submitted', 'consult_req_submitted_sync_hubspot');
function consult_req_submitted_sync_hubspot( $data ){
$hubspot_api_key = 'ffffffff-27a0-4591-9b68-27d4bb31ed76';
$hubspot_list_id = '1'; //optional
@rothschild86
rothschild86 / cf-mailpoet.php
Last active March 14, 2017 10:38
Caldera Forms to MailPoet integration
<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.
//required plugins: code snippets, caldera forms, caldera forms run action, MailPoet
add_action('consult_req_submitted', 'consult_req_submitted_sync');
function consult_req_submitted_sync( $data ){
$caldera_name = $data[ 'your_name' ]; //this is the caldera field slug
$caldera_email = $data[ 'email' ]; //this is the caldera field slug
@rothschild86
rothschild86 / cf-mymail.php
Last active May 12, 2016 18:15
Caldera Forms to MyMail integration
<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.
//required plugins: code snippets, caldera forms, caldera forms run action, mymail
add_action('consult_req_submitted', 'consult_req_submitted_sync_mymail'); //as defined in caldera forms run action
function consult_req_submitted_sync_mymail( $data ){
$caldera_name = $data[ 'your_name' ]; //this is the caldera field slug
$caldera_email = $data[ 'email' ]; //this is the caldera field slug