Help With Turning Page into Landing Page
-
Hello, I am trying to turn one page on my wordpress website into just a Landing Page with no header, footer, or page titles. I have a landing page builder that is just awful so I really like the one I built but have no idea how to make it into landing page. If someone could show me what to put and where, that would be great. It is post=1358 and the page template is:
<?php get_header(); ?> <?php get_template_part('navigation') <$main_slider = esc_attr(get_post_meta($post -> ID, "hazel_main_slider", true)); if (is_front_page()) { get_template_part('slider'); } else if ($main_slider == '1') { get_template_part('slider'); } ?> <?php if (have_posts()) : while (have_posts()) : the_post(); $page_title = $post -> post_name; $divid = sanitize_html_class($post -> ID); if (get_post_meta($post -> ID, "hazel_alt_title", true)) { $title = get_post_meta($post -> ID, "hazel_alt_title", true); } else { $title = get_the_title(); } $background_color = esc_attr(get_post_meta($post -> ID, "hazel_page_background_color", true)); $active_menu = esc_attr(get_post_meta($post -> ID, "hazel_active_menu_item", true)); ?> <div class="page-section" id="<?php echo $divid; ?>" style="background: <?php echo $background_color; ?>"> <?php if (!is_front_page()) { ?> <div class="page-header padding-top-70 padding-bottom-50"> <div class="container"> <div class="row"> <div class="col-md-12 align-center wow fadeIn"> <h1><?php echo $title; ?></h1> </div> </div> </div> </div> <?php } ?> <div class="page-content <?php if (!is_front_page()) { ?>padding-top-80<?php } ?>"> <div class="container"> <div class="row"> <div class="col-md-12 blog-list inner-content"> <?php the_content(); ?> </div> </div> </div> </div> </div> <?php global $smof_data; if ($smof_data['onepage'] == 0) { ?> <script> jQuery('.menu-item').each(function() { if ( jQuery(this).hasClass('<?php echo $active_menu; ?>') ) { jQuery(this).addClass('active'); } }); </script> <?php } endwhile; endif; wp_reset_query(); ?> <?php get_footer(); ?>
Thanks for any help!
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Help With Turning Page into Landing Page’ is closed to new replies.