Support » Plugin: WP-TopBar » How to have multiple links in the header ?

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Bob

    (@rfgoetz)

    Oliver,

    You can try adding this to the “Message” on the “TopBar Text & Image” option page.

    You’ll need to mess with your css so that it lines up correctly.

    <ul class=''><li><strong>Groupe FINADORM</strong></li><li class='ftb_sep'>-</li><li><a id='ftb_finadorm' href='http://www.finadorm.com/' title='Finadorm' class='current'>Finadorm</a></li><li class='ftb_sep'>-</li><li><a id='ftb_chalets-fabre' href='http://www.chalets-fabre.com/' title='Chalets Fabre'>Chalets Fabre</a></li><li class='ftb_sep'>-</li><li><a id='ftb_fabre-sicob' href='http://www.fabre-sicob.com/' title='Fabre SICOB'>Fabre SICOB</a></li><li class='ftb_sep'>-</li><li><a id='ftb_mader' href='http://www.mader-couverture.com/' title='Mader'>Mader</a></li><li class='ftb_sep'>-</li><li class='ftb_menu'><a id='ftb_socofal' href='http://www.socofal.fr/' title='Socofal'>Socofal</a><div class='ftb_items'><a id='ftb_memonat' href='http://www.memonat.com/' title='MémoNat'>MémoNat</a> <a id='ftb_technilat' href='http://www.sommier-matelas.com/' title='Technilat'>Technilat</a></div></li><li class='ftb_sep'>-</li><li><a id='ftb_mathou' href='http://www.mathou.com/' title='Mathou'>Mathou</a></li><li class='ftb_sep'>-</li><li><a id='ftb_louisiane-fmi' href='http://www.louisiane-fmi.com/' title='Louisiane'>Louisiane</a></li></ul>

    Plugin Author Bob

    (@rfgoetz)

    Version 4.15 is up with an option to add PHP. You can then create your multiple links that way.

    Hi,

    Thanks a lot for your great answer and update! That was very helpful and even if i’m not a developer (i can’t deal with php and i had to simplify your code to be able to make it work) i got to some effective results.

    The one problem i have now is that i can’t make the links work: they all redirect to http://www.my-first-website.com/'http://www.the-website-i-want-to-link.com'/
    See what i mean ? All the links contain the link to the first website+’second website’. And of course, it’s a 404 error.

    Do you have any idea where the problem is coming from ?
    Thanks a lot one more time!

    Plugin Author Bob

    (@rfgoetz)

    I need to see how you’ve set that up.

    Can you reply with a copy/paste of the message and link text and link settings you have?

    Of course:

    I have this in the Message:

    <strong>Groupe ACI OUTREMER</strong>       
    <a href='http://www.hbc-capital.com'>HBC Capital</a>       
    <a href='http://www.villagedelapointe.com/'>Village de la Pointe</a>       
    <a href='http://www.domainedelavalette.com/'>Domaine de la Valette</a>       
    <a href='http://www.panier-outremer.com/'>Panier Outremer</a>

    I have nothing in the Link Text & Link spaces. The Link Target is set to blank and i have no image. I’m sorry it must be a quite simple mistake but i can’t solve it by myslelf..

    Thanks a lot!

    Plugin Author Bob

    (@rfgoetz)

    Try putting this in the Link Text:
    Groupe ACI OUTREMER

    Put your website address in the Link Address

    Set it to “Self”

    Keep the Message blank.

    Put this in the new PHP Suffix Section:

    echo "</br></br>
    <a href='http://www.hbc-capital.com'>HBC Capital  </a>
    <a href='http://www.villagedelapointe.com/'>Village de la Pointe  </a>
    <a href='http://www.domainedelavalette.com/'>Domaine de la Valette  </a>
    <a href='http://www.panier-outremer.com/'>Panier Outremer</a>";

    You’ll need to play with the html above to make it look like you want.

    Hi there,

    Thanks a lot again for your quick reply. I did everything as you said. The situation is that it works now … but only in the preview mode (in the extension settings).

    I have everything working well in the preview (links working etc) but no topbar at all on the real website. Do you have an idea why ?

    Plugin Author Bob

    (@rfgoetz)

    Can you export your TopBars (in sql format) and email them to me? My email address is in the readme.txt file.

    Also, what is your URL? I can see if there are an java/html errors.

    Hi there,

    I’m very sorry, i must be blind or something, i can not find any email address in the readme.txt file. Can you tell me where to search for it ?
    Thanks a lot

    Plugin Author Bob

    (@rfgoetz)

    My bad– it is in wp-topbar.php

    Hi,

    I’m sorry but still can’t find it.. I do not see any wp-topbar.php file.. Can you help me with that ? Thanks!

    Plugin Author Bob

    (@rfgoetz)

    Plugin Author Bob

    (@rfgoetz)

    Closing – no response in over a week.

    Yep, sorry, i give up. I got mailer daemon every time when i try to write to the adress i got.. Just too complicated. But good luck for the future

    I have come across another not so neat looking Top Bar that allows for the selection of a WordPress menu in the top bar. Here’s support post where you can get more and where I am asking @rfgoetz to look into it for us.

    http://wordpress.org/support/topic/additional-options-add-wp-menu-only-show-on-scroll?replies=1#post-4243271

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘How to have multiple links in the header ?’ is closed to new replies.