This file contains hidden or 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 | |
| /** | |
| * Adds geotargeting js capabilities to javascript | |
| */ | |
| add_action( 'wp_enqueue_scripts' , 'inbound_add_geotargeting_js' ); | |
| function inbound_add_geotargeting_js () { | |
| wp_enqueue_script( 'geoplugin' , 'http://www.geoplugin.net/javascript.gp'); | |
| } |
This file contains hidden or 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 | |
| /** | |
| * Removes tracking class 'wpl-track-me' from woocommerce cart display form' | |
| */ | |
| add_action('wp_footer' , 'remove_cart_tracking_class'); | |
| function remove_cart_tracking_class() { | |
| ?> | |
| <script type='text/javascript'> | |
| jQuery( document ).ready(function() { |
This file contains hidden or 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 get_header(); ?> | |
| <?php $left_or_right = lp_get_value($post, 'default', 'sidebar'); ?> | |
| <div id="main" class="container"> | |
| <?php if($left_or_right === "left") { ?> | |
| <!-- SIDEBAR START --> | |
| <section id="sidebar" class="grid one-third"> | |
| <?php lp_conversion_area(); /* Print out form content */ ?> | |
| </section> |
This file contains hidden or 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 Page Meta Values */ | |
| $sidebar = lp_get_value($post, 'default', 'sidebar'); | |
| $display_nav = lp_get_value($post, 'default', 'display-nav'); | |
| $new_setting = lp_get_value($post, 'default', 'new_setting'); | |
| lp_conversion_area(); /* Print out form area content */ | |
This file contains hidden or 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_extension_data','lp_rebuild_old_data_configurations_to_suit_new_convention'); | |
| function lp_rebuild_old_data_configurations_to_suit_new_convention($lp_data) | |
| { | |
| $lp_data['default']['settings']['new_setting'] = array( | |
| 'label' => "New setting", | |
| 'description' => "Description of new setting here. Will be placed in tooltip" | |
| 'id' => 'new_setting', |
This file contains hidden or 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' ); | |
This file contains hidden or 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 hidden or 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 hidden or 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> |