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 | |
function inboundnow_mailchimp_extension_setup() | |
{ | |
/*PREPARE THIS EXTENSION FOR LICENSING */ | |
if ( class_exists( 'INBOUNDNOW_EXTEND' ) ) | |
{ | |
$license = new INBOUNDNOW_EXTEND( INBOUNDNOW_MAILCHIMP_FILE , INBOUNDNOW_MAILCHIMP_LABEL , INBOUNDNOW_MAILCHIMP_SLUG , INBOUNDNOW_MAILCHIMP_CURRENT_VERSION , INBOUNDNOW_MAILCHIMP_REMOTE_ITEM_NAME ) ; | |
} |
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 | |
add_filter('lp_define_global_settings','inboundnow_mailchimp_add_global_settings'); | |
add_filter('wpleads_define_global_settings','inboundnow_mailchimp_add_global_settings'); | |
add_filter('wp_cta_define_global_settings','inboundnow_mailchimp_add_global_settings'); | |
function inboundnow_mailchimp_add_global_settings($global_settings) | |
{ | |
switch (current_filter()) | |
{ |
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 | |
/* place in theme's functions.php file */ | |
/* disable json api if api key not correct */ | |
add_action('init','json_api_apikey_check' , 1 ); | |
function json_api_apikey_check() | |
{ | |
$api_key = 'hello'; | |
$base = get_option('json_api_base', 'api'); | |
$this_url = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; |
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 | |
/* replace core tokens if available */ | |
$template = str_replace( '{{cta-id}}' , $selected_cta['id'] , $template ); | |
$template = str_replace( '{{variation-id}}' , $vid , $template ); | |
$template = str_replace( '{{template-urlpath}}' , $selected_cta['templates'][$vid]['urlpath'] , $template ); | |
$template = str_replace( '{{wordpress-ajaxurl}}' , admin_url( 'admin-ajax.php' ) , $template ); | |
$template = str_replace( '{{cta-width}}' , $width , $template ); | |
$template = str_replace( '{{cta-height}}' , $height , $template ); |
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 | |
function unisphere_portfolio_preset_content( $content ) { | |
global $post, $unisphere_options; | |
if ( $post->post_content == '' && $post->post_type == 'portfolio' ) { | |
$default_content = $unisphere_options['portfolio_default_text']; | |
} else { | |
$default_content = $content; |
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
/* Landing Pages Theme Conflic Resolution */ | |
if ( isset($_GET['post']) ) { | |
remove_action( 'widgets_init', 'inboost_widgets_init' ); | |
} |
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
<a href='http://www.inboundnow.com' class='do-not-track'>Inbound Now</a> |
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
[cta id="404" vid='2'] |
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
<script> | |
jQuery(document).ready(function($) { | |
jQuery('#gotowp_personal_webinar_registration').addClass('wpl-track-me'); | |
jQuery('#gotowp_personal_webinar_registration input[name="submit"]').attr('name' , 'go'); | |
}); | |
</script> |
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 | |
remove_action( 'genesis_before_post_content', 'genesis_post_info' ); | |
/** Remove the entry meta in the entry header (requires HTML5 theme support) */ | |
remove_action( 'genesis_entry_header', 'genesis_post_info', 12 ); | |
/** uncomment line below if you are using any after post widgets */ | |
remove_action( 'genesis_after_post_content', 'genesis_after_post' ); | |
OlderNewer