Navigation bars removed from posts

Discussion in 'WordPress' started by uca, Jun 30, 2011.

  1. #1
    Anybody that can tell me how to remove the navigation bars (for pages and posts) from post pages and not from homepage and actual pages?

    Thanks!
     
    uca, Jun 30, 2011 IP
  2. kinzu123

    kinzu123 Peon

    Messages:
    35
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Edit Code in navigation.php
    Detele all code.
    It will remove navigation bar from everywhere.
     
    kinzu123, Jul 2, 2011 IP
  3. dpsubi1

    dpsubi1 Notable Member

    Messages:
    9,318
    Likes Received:
    420
    Best Answers:
    0
    Trophy Points:
    280
    #3
    which theme you are using? the place you need to change depends upon the theme (how the code is placed). so if you provide the theme name and your website url, it will be easier to help.
    thanks
     
    dpsubi1, Jul 2, 2011 IP
  4. uca

    uca Well-Known Member

    Messages:
    2,242
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    155
    #4
    Heatmap. I'm trying to get familiar with conditional tags right now. In anycase, do you know where navigation.php or whatever is?
    I need it in home and pages only...

    Thanks for your time!
     
    uca, Jul 2, 2011 IP
  5. dpsubi1

    dpsubi1 Notable Member

    Messages:
    9,318
    Likes Received:
    420
    Best Answers:
    0
    Trophy Points:
    280
    #5
    Show us your theme or your site then only we can help better. If not we will be telling something and you will be searching somewhere. As mentioned earlier, it depends on how the theme was coded.
     
    dpsubi1, Jul 6, 2011 IP
  6. waziuz

    waziuz Active Member

    Messages:
    783
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    80
    #6
    I have used heatmap theme several years ago at the time when it first came out and that too on one of my websites which I sold off. So, cannot be sure about the exact positions. But it is quite simple for any wordpress theme. Delete the navigation bar .. it is demarcated by start <!-- The Nav Bar --> and end also nav bar hidden code. So, just delete the code in between those in single.php and page.php
     
    waziuz, Jul 6, 2011 IP
  7. uca

    uca Well-Known Member

    Messages:
    2,242
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    155
    #7
    Thanks for your time, guys.

    I ended up using conditional tags in php, so it's the navigation bar is there on the homepage, but not in posts. It works exactly as I wanted.

    Thanks again!
     
    uca, Jul 9, 2011 IP
  8. тнє Sufi

    тнє Sufi Peon

    Messages:
    391
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Nice to hear, it is working. You can use custom header as well :)
     
    тнє Sufi, Jul 10, 2011 IP