Skip to:
Content
Pages
Categories
Search
Top
Bottom

Double Navagation


  • drmikelbrown
    Member

    @drmikelbrown

    Hello All,

    Please allow me to explain my situation as I believe that it will help with understand my problem. I had been developing a site with wp 3.2.1 and bp 1.2. I was about a day or so from taking my site live when bp1.5 was released. Talking with the site owner we decided to upgrade. Of course it when basically back to ground zero. The fact that I was also trying to make the update a ms did not improve the problem.
    Long story short we decided to roll the site back to bp 1.2. so that we could take the site live. Of course this has created other problems such as this double nav thing.

    I now have a weird thing going on with my navigation where it is appearing twice. Below is a screen capture.

    http://www.joycenter.org/images/sc/idc-double-nav.png

    I have been fighting with this for a couple weeks now. I have deleted the id nav in the child theme page.php and when I do this it removes all of the nav. I am running the default bp theme with a child theme.. I am using wp 3.2.1 and bp 1.2. please any help would be greatly appreciated. Thx.

Viewing 10 replies - 1 through 10 (of 10 total)

  • @mercime
    Keymaster

    @mercime

    If you’re using WP 3.2.1, then you should be using BP 1.2.9 version at minimum.
    As to the navigation links, open up header.php and remove

    and

    Then just hardcode the other links you need in header.php and save.


    drmikelbrown
    Member

    @drmikelbrown

    @mercime I tested what you suggested here. I discovered that if i just removed the two lines that stated here that the second nav is removed. This is perfect but if I add custom links I have two problems.

    1) I can only add the new custom links to the beginning of the of the unordered list.
    2) Of course the css selection does not work.

    How do I fix this below is the code:

    `


    `

    Please advise…


    drmikelbrown
    Member

    @drmikelbrown

    Uh, just realized that I can’t add the php code here but I am sure that you understand my problem.
    Thanks for your help….


    @mercime
    Keymaster

    @mercime

    @drmikebrown you just need to add backtick (`) the symbol within the parentheses, at very start and at the very end of the code.

    Since the BP 1.2 navigation links are hardcoded as well, you can insert your own hardcoded links before, in-between or after the existing links. Examples:
    `<li>Events
    <li>My Scores`


    drmikelbrown
    Member

    @drmikelbrown

    @mercime thanks for the tip. now I copy pasted your code, changes the links, changed the " to the quote mark and it works well but when I click the link the link on the nav bar is not selected on either two of my links. see image below ….

    http://joycenter.org/images/sc/selection-not-appearing.jpg

    please advise


    @mercime
    Keymaster

    @mercime

    I see the extra links – Advertise Here, Blog, and Connections. Your image points to the Blog link, which is the other one?

    Re Blog link:
    1. Did you create a page named “Blog” then go to Settings > Reading and select a static front page and then the Blog page for the blog page?
    2. Click on the link Blog, then view page source. Check what shows up as the link class (selected or current) beside the Blog link. Or if you have Firebug, inspect Blog link to see the link class.


    drmikelbrown
    Member

    @drmikelbrown

    @mercime the other is the Advertise Here link. The Connection Link is the members link – i just renamed the link.

    Re Blog link:
    1) yes that is how the blog is created..
    2) I am not very fluent with how to use fire bug. So here is a sc of what i see.
    http://joycenter.org/images/sc/idc-firebug.png As i previously stated I copied your code and made only the necessary changes.

    Thanks for all of you help.


    Anonymous
    Inactive

    Morality, like art, means drawing a line someplace!


    Anonymous
    Inactive

    Empty vessels make the greatest sound


    Anonymous
    Inactive

    Being entirely honest with oneself is a good exercise

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Double Navagation’ is closed to new replies.
Skip to toolbar