Newbie needs wordpress help!

10 replies
  • WEB DESIGN
  • |
Hi all,

Thanks in advance for reading/replying.

I have set up a wordpress website with multiple pages, I'd like to add a landing page for a product without a navigation bar on top of the page, is there a plugin that can remove the nav bar on just one page?

ps. I suck at coding
#newbie #wordpress
  • Profile picture of the author olavlind
    Check this out: http://forum.bytesforall.com/showthread.php?t=11334

    and this: http://www.byobwebsite.com/forum/cus...rom-home-page/

    and this: Disable Nav Bar for a single page?

    And another thing...google is a great thing, you should try it some time :rolleyes:

    ~Olav
    {{ DiscussionBoard.errors[7656157].message }}
    • Profile picture of the author Viper420
      Hi olavlind,

      Thanks for the reply, I tried googling it but couldn't find a plugin to fix the problem, I guess I have to try coding now.

      Thanks for the links!
      {{ DiscussionBoard.errors[7656220].message }}
    • Profile picture of the author UtterlyWeb
      Don't use a plugin, unless you absolutely have to. This can be easily fixed through CSS (display:none). If you paste your site's URL here, you'll get your code solution.
      {{ DiscussionBoard.errors[7656228].message }}
  • Profile picture of the author LA Grouch
    You could also create a new Page Template and just delete the navigation. Look in the WordPress Codex.
    Signature
    WordPress Pro Services --> Installation, Customization, Troubleshooting, Training
    {{ DiscussionBoard.errors[7657840].message }}
  • Profile picture of the author Michael71
    I would also recommend a new page template and

    a: use a differnent css (or inline css to hide the navigation)

    b: delete the code for the navigation
    Signature

    HTML/CSS/jQuery/ZURB Foundation/Twitter Bootstrap/Wordpress/Frontend Performance Optimizing
    ---
    Need HTML/CSS help? Skype: microcosmic - Test Your Responsive Design - InternetCookies.eu

    {{ DiscussionBoard.errors[7671308].message }}
    • Profile picture of the author blogfreakz
      Originally Posted by Michael71 View Post

      I would also recommend a new page template and

      a: use a differnent css (or inline css to hide the navigation)

      b: delete the code for the navigation
      agree with the you..
      try to look this code and remove it.. good luck!
      Code:
      <div id="nav_menu"> <!--Main navigation menu--> <ul> <li><a <?php if(is_front_page()) echo 'class="current" '; ?>href="<?php bloginfo('url'); ?>" title="Home">Home</a></li> <li><a <?php if(is_home()) echo 'class="current" '; ?>href="<?php bloginfo('url'); ?>/blog/" title="Blog">Blog</a></li> <li><a <?php if(is_page('about')) echo 'class="current" '; ?>href="<?php bloginfo('url'); ?>/?page_id=2" title="About <?php bloginfo('name'); ?>">About</a></li> <li><a <?php if(is_archive() || is_page('archives')) echo 'class="current" '; ?>href="<?php bloginfo('url'); ?>/archives/" title="Visit the archives">Archives</a></li> <li><a href="<?php bloginfo('url'); ?>/feed/" title="RSS Feed">Feed</a></li> <!--<li><a href="<?php bloginfo('url'); ?>/sitemap/" title="Sitemap">Sitemap</a></li>--> </ul> </div><!--close nav_menu id-->
      {{ DiscussionBoard.errors[7673492].message }}
  • Profile picture of the author Michael71
    If you use a new page template it is very easy to hide the nav_menu.

    Code:
    <div id="nav_menu" style="display:none;"> 
    <!--Main navigation menu--> 
    <ul> 
    <li>
    <a <?php if(is_front_page()) echo 'class="current" '; ?>href="<?php bloginfo('url'); ?>" title="Home">Home</a>
    </li>
     <li>
     <a <?php if(is_home()) echo 'class="current" '; ?>href="<?php bloginfo('url'); ?>/blog/" title="Blog">Blog</a>
     </li> 
     <li>
     <a <?php if(is_page('about')) echo 'class="current" '; ?>href="<?php bloginfo('url'); ?>/?page_id=2" title="About <?php bloginfo('name'); ?>">About</a>
     </li> 
     <li>
     <a <?php if(is_archive() || is_page('archives')) echo 'class="current" '; ?>href="<?php bloginfo('url'); ?>/archives/" title="Visit the archives">Archives</a>
     </li> 
     <li>
     <a href="<?php bloginfo('url'); ?>/feed/" title="RSS Feed">Feed</a>
     </li> 
     <!--<li>
     <a href="<?php bloginfo('url'); ?>/sitemap/" title="Sitemap">Sitemap</a>
     </li>--> 
     </ul> 
     </div>
     <!--close nav_menu id-->
    Just added style="display:none;" and that's it.

    But it is depending on the theme itself. Getting only a part of the code thrown at me does maybe not help to remove the complete nav_menu.
    Signature

    HTML/CSS/jQuery/ZURB Foundation/Twitter Bootstrap/Wordpress/Frontend Performance Optimizing
    ---
    Need HTML/CSS help? Skype: microcosmic - Test Your Responsive Design - InternetCookies.eu

    {{ DiscussionBoard.errors[7674298].message }}
  • Profile picture of the author Elfen Lied
    [DELETED]
    {{ DiscussionBoard.errors[7674670].message }}
  • Profile picture of the author Michael71
    Excluding pages from the navigation is something completely different ;-)

    However... good you found what you need.
    Signature

    HTML/CSS/jQuery/ZURB Foundation/Twitter Bootstrap/Wordpress/Frontend Performance Optimizing
    ---
    Need HTML/CSS help? Skype: microcosmic - Test Your Responsive Design - InternetCookies.eu

    {{ DiscussionBoard.errors[7675205].message }}
  • Profile picture of the author Viper420
    Thanks so much guys, I really appreciate it !
    {{ DiscussionBoard.errors[7717442].message }}

Trending Topics