Remove Certain pages from the "navbar" on WP theme?

17 replies
  • WEB DESIGN
  • |
Hello warriors,

Is there a way I can "hide" these pages on my site

privacy policy page
contact us page
additional Links page(rather not have visitors see "links" to exit my site)

Why? So that the visitor will only see and focus on pages that
I have created that are central specific to my site

The reason I still want the 3 pages above to be "there" but just not readily visible, is because I want googles spiders to see and be able to crawl those 3 pages, but I don't want visitors to be visually distracted...I'm in the school of belief that google likes to see

"privacy policy" and a "contact us" pages and even a links page

So is there a simple way to make those "not readily visible" to visitors but very visible to be crawled? maybe to place the code for those 3 pages in the lower part of my home page? or another way? but will that "play with"
the way the theme is crawled? I'm sure it's an easy thing to do, if I had a brain....

thanks is you can provide any thoughts
and my theme is zindi II

Danni~ if you help me, you'll be doing your country a great service by helping the "mentally incapacitated"
#navbar #pages #remove #theme
  • Profile picture of the author IM Business
    You can do this with a plugin:
    WordPress › Exclude Pages « WordPress Plugins

    Just be sure to hard code your removed links somewhere for the SEs to find them.
    {{ DiscussionBoard.errors[3554485].message }}
  • Profile picture of the author Diane S
    On any theme, you could do it this way: create all your important info as PAGES, all the stuff you don't want the public to see as POSTS, then set your reading setting to one of our pages. Or visa verse, depending on the theme's nav bar. If the nav bar feeds PAGES, then make the contact and privacy policy as posts.

    Use google xml sitemap as this is not visible to your visitors, only to the bots.
    Signature
    KimW still needs our help DONATE DIRECTLY
    My First Kindle Book: Ten Days in the Land of Smile
    {{ DiscussionBoard.errors[3554500].message }}
    • Profile picture of the author Dano1981
      thank you IMbus,

      but I couldn't find anything related to whether that would cause an issue being crawled? so not sure

      Originally Posted by IM Business View Post

      You can do this with a plugin:
      WordPress › Exclude Pages « WordPress Plugins

      Just be sure to hard code your removed links somewhere for the SEs to find them.
      thank you diane,

      my reading setting don't show a "home page" unfortunately, I had some issue with that some days ago...

      I just noticed the "set as private" option for the other pages and so I tried that. It does hide the page, but I wonder if Google sees that the setting is hidden? it still smes to show in the sitemap, so that's a positive, just can't imagine that google with such a simple default setting in Wp themes (I see it all the time listed as "visibilty" I forgot it was there!) that google couldn't easily figure that out, and hold it against you?

      (you can see it just go into "pages" and it's over by the "publish" "update" options that that page, unless the sitemap shows it "now" but maybe latent and will remove it in time?

      danni~

      Originally Posted by Diane S View Post

      On any theme, you could do it this way: create all your important info as PAGES, all the stuff you don't want the public to see as POSTS, then set your reading setting to one of our pages. Or visa verse, depending on the theme's nav bar. If the nav bar feeds PAGES, then make the contact and privacy policy as posts.

      Use google xml sitemap as this is not visible to your visitors, only to the bots.
      {{ DiscussionBoard.errors[3554815].message }}
  • Profile picture of the author IM Business
    What I mean is this: if you remove all links to a page, you are making it an orphan. (no incoming links) The SE will likely de-index it at some point since it is no longer linked anywhere.

    If you just make the page private, visitors can't see it. If you are seeing it, it's because you are logged in. Try logging out and you won't see the page anymore.
    {{ DiscussionBoard.errors[3554858].message }}
    • Profile picture of the author Dano1981
      I see what you mean, when logged out, yet it's till there when I log out it allows me to see it, and shows it in the sitemap, but when I logout it's not accessible

      when I log out, I can still view the sitemap and it shows it's still there, but it's not viewable...

      wish I knew how googles "sees" (rhetorically speaking) it!

      Danni~
      {{ DiscussionBoard.errors[3555001].message }}
  • Profile picture of the author alistair
    I would go into Apperance > Menus and create a custom menu and put those pages in the footer menu.
    {{ DiscussionBoard.errors[3555208].message }}
    • Profile picture of the author IM Business
      Originally Posted by alistair View Post

      I would go into Apperance > Menus and create a custom menu and put those pages in the footer menu.
      Good point, I forgot about the new custom menus. The theme must be compatible though.

      Google will only see what a non-register visitor sees. (Same as you being logged out.)
      {{ DiscussionBoard.errors[3555402].message }}
  • Profile picture of the author anguthywali
    thanks guys nice infomation keep learning and keep teaching best of luck
    Signature

    for Free Adobe Photoshop step by step Training visit Photoshop CS5 tutorials

    {{ DiscussionBoard.errors[3555450].message }}
    • Profile picture of the author Dano1981
      thank you very much

      alistar and IMb

      I was able to make a custom menu
      and I see it seems to be a "paralell" of the regular pages
      in terms of their "url" so that's great!

      BuT! (using the "contact-us" page as the example)

      now the "nav bar" still has the "contact-us" page, what's the proper way to "visibly" remove it from the navbar, but not to remove it entirely, so that it will remain a viable link in the sidebar custom menu?

      My theme said;

      The current theme does not natively support menus, but you can use the "Custom Menu" widget to add any menus you create here to the theme's sidebar.

      maybe that defeats the purpose and will not allow me to "eliminate it" from the navbar? and if I can remove it from the navbar, can I ask how?

      because it seems if I "delete the page" of course the widget will have no "origin" in which to link to....?

      Danni~
      {{ DiscussionBoard.errors[3555639].message }}
      • Profile picture of the author kjhosein
        Originally Posted by Diane S View Post

        Use google xml sitemap as this is not visible to your visitors, only to the bots.
        Technically, sitemap.xml is visible to your visitors. You may not be linking to it from within your site, but if Google or other search engines can 'see' it, then so can your visitors.

        If it's in the root of your site, then if you visit domain.com/sitemap.xml, you can view it. BTW, how it looks here depends on how your browser decides to render the XML.

        Originally Posted by Dano1981 View Post

        wish I knew how google "sees" it!
        Actually, you can! Use an HTTP viewer tool, like this one. This is a pretty useful tool to debug issues you may be having with your page and/or site, or perhaps to see if your 30x redirects are working.
        Signature
        <!--PM me for a quicker reply. Thx!-->
        {{ DiscussionBoard.errors[3555798].message }}
        • Profile picture of the author Dano1981
          thank you again IMb and thaks hjosien

          I was starting to take a look at that link

          I did notice that even though I can see the xmlsite map as a "visitor" if I tried to "select" the "website/contact-us" it give a 404 error, that is if I'm logged out just as IMb stated....

          I can see in the themes editor this is the entire "navbar.css" code (I'll paste below..I'm thinking I didn't realise it was so short, is there something I can do to the code, that simply visibly removes the bar from the header ?

          I just went to the header, and saw the term "nav" was used 4 times in these capacities;

          (this is it's use in the HEADER)
          ?>/navbar.css" type="text/css" media="screen" />
          <div id="navbar">
          <div class="navmenu">
          <ul id="nav">
          I thought maybe I could just disable it somehow in the navbar.css or from within the header, this way the pages would still be "alive" so that the sidebar widget picks the original url and still works with that custom menu?

          did that make sense?

          NAVBAR.CSS

          /*Navbar */
          #nav, #nav ul { list-style: none; line-height: 1; }
          #nav a, #nav a:hover {text-decoration: none; border:none; font-size:11px; }
          #nav li { display:block; float:left; list-style:none; margin-left:5px; }
          #nav li a, #nav li a:visited {color:#fff; display:block; font-weight:bold;line-height:7px;padding:10px;}
          #nav li a:active, li.current_page_item a, #home li.on, #nav li a:hover { background:#58b3f9; color: #fff; text-decoration:none;padding:10px; display:block; }


          /* Dropdown Menus */

          #nav li ul { position: absolute; left: -999em; height: auto; width: 200px;background: #58b3f9;}
          #nav li li { letter-spacing: 0.1em; margin-top: 5px; width: 200px;padding-bottom: 2px; padding: 0px; margin:0px; }
          #nav li li a, #nav li li a:visited {background:none; font-weight:normal; font-size:0.9em; color:#fff; display:block;}
          #nav li li a:hover, #nav li li a:active {background:none; color: #fff; display:block; }
          #nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { left: auto;}
          a.main:hover{ background:none; }
          I'm really sorry to be such a pain guys!
          {{ DiscussionBoard.errors[3555840].message }}
  • Profile picture of the author IM Business
    Well I'm not sure about your theme, this is why I it needs to be compatible with custom menus, and sounds like its not compatible but you may have a work around.

    See if you can go into widgets and remove the nav bar you want to work on. Then, make a custom menu to replace it, and in the custom menu remove the link(s) you want to not show.

    If the nav is not a widget that you can remove, you can either change the theme yourself (php code), use a different theme, or just use the plugin I mentioned several posts up. The plugin is likely the easiest fix, since you won't have to hard code any changes with it.
    {{ DiscussionBoard.errors[3555732].message }}
  • Profile picture of the author IM Business
    Well, you can use the css to change the text to the same color as the background which effectively hides it.
    {{ DiscussionBoard.errors[3555852].message }}
    • Profile picture of the author Dano1981
      thanks IMb

      the background for the navbar is a gradient, so that might not work
      You're so nice to try to help IMb

      if i can't figure it out, I appreciate your assistance nevertheless

      Danni~
      {{ DiscussionBoard.errors[3555887].message }}
      • Profile picture of the author Dano1981
        well I got it to "go away:

        I played with the text size, took it to "0" but the bar does look a little funny the nav bar with nothing on it, actually a "neon blue" color where "home" was, I removed the color, then put it back! it looked even stranger without the blue color...I think it's because I'm used to seeing words there...

        and of course it's still there if you hover over it, so I think that resolves it!!

        thank you again IMb for being so sweet

        Danni~
        {{ DiscussionBoard.errors[3556046].message }}
  • Profile picture of the author haymanpl
    There's a free wordpress plugin called exclude pages by Simon Wheatley
    THis plugin will enable you to uncheck the box on each page oor post that you don't want listed in your nav bar

    You may also customise your wordpress nav bar by clicking on menu in your wordpress dashboard and either editing the menu tabs or deleting what you don't want in the nav bar
    {{ DiscussionBoard.errors[3556993].message }}
    • Profile picture of the author RyanAndrews
      I'd have them appear in the expected place, say the footer, but hide them using CSS style="display:none;"

      Despite the scare stories about hidden content, a small amount of hidden content for usability reasons is fine, and I've never had problems with it.
      Signature
      {{ DiscussionBoard.errors[3557463].message }}

Trending Topics