/** * Return custom Landing Page headline */ public static function display_landing_page_title($content, $id = null) { global $post; if (!isset($post)) { return $content; } if ($post->post_type != 'landing-page' || is_admin() || $id != $post->ID) { return $content; } return lp_main_headline($post, null, true); }
" data-media440="<?php echo $logo; ?> " data-media600="<?php echo $logo; ?> " title="<?php lp_main_headline(); ?> "> <img src="<?php echo $logo; ?> " alt="<?php lp_main_headline(); ?> "> </figure> </aside> <aside id="form-area"> <?php echo do_shortcode($conversion_area); ?> </aside> </header> <section id="river" role="main"> <?php if ($social_display === "1") { // Show Social Media Icons ?>
function lp_ab_testing_alter_title_area($content, $id = null) { global $post; if (!isset($post)) { return $content; } if ($post->post_type != 'landing-page' || is_admin() || $id != $post->ID) { return $content; } return lp_main_headline($post, null, true); }