create landing page template with no navigation
-
I need to create a page to be used as a landing page. I do not want the menu to show up. I created a new page template and copied the code from my default template
<?php
/*
Template Name: Landing Page
*/
?>
<?php get_header(); ?><?php nectar_page_header($post->ID); ?>
<div class=”container-wrap”>
<div class=”container main-content”>
<div class=”row”>
<?php if(have_posts()) : while(have_posts()) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile; endif; ?>
</div><!–/row–>
</div><!–/container–>
</div>
<?php get_footer(); ?>I need to know what code I insert to disable the menu.
I found this code but don’t know where to insert it:.header {display:none;}
#navmenu {display:none;}my site is teamrzrck.com and I use a the theme called Salient
- The topic ‘create landing page template with no navigation’ is closed to new replies.