• shaye

    (@shaye)


    hello
    i have a theme that whenever i create a page, it automatically adds a new button to the header menu/navigation bar.
    now i want to create a button there that when someone press on it, it will open a new window for him with my forum.
    how can i do that?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter shaye

    (@shaye)

    anyone?

    SpankMarvin

    (@spankmarvin)

    Can you show us the content of whichever file houses the navigation code, probably the header.php file?

    Also, best typo ever.

    mores

    (@mores)

    hmm … is that navigation bra “touch” sensitive ?

    ??

    Okay, back to topic: you must edit your header.php.
    You’ll find something like

    <ul><?php wp_list_pages(someparametersetc) ?></ul>

    Change to

    <ul><?php wp_list_pages(someparametersetc) ?><li><a href="linktoforum">Forum</a></li></ul>

    This will insert a Menu item called “Forum” to the end of your navi.
    If you want to have it somewhere else, you can use this plugin:
    https://www.ads-software.com/extend/plugins/page-links-to/
    Create a page called “forum”, set it’s order (where you want it to show up on your site), and at the bottom you’ll see a field where you can enter your destination address.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how to change a button’s link from the navigation bra’ is closed to new replies.