WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] custom menu -> open link in a new window? (21 posts)

  1. Raisis
    Member
    Posted 3 years ago #

    Hi everybody,

    I really like the custom menu feature in WP 3. I created a menu with a custom link to an external site. The problem is, that this link opens in the same window and I can't find any option to say, that this link should open in a new window.

    Is there a special trick or hack - or is it not possible to open this external link in my mene in a new window?

    Greetings from Germany,
    Raisis

  2. Mark / t31os
    Moderator
    Posted 3 years ago #

    When viewing the menu administration page, click on Screen Options (top right), and check the box labelled Link Target under the Show advanced menu properties heading.

    Now select the appropriate target for your custom link.

  3. Raisis
    Member
    Posted 3 years ago #

    Thank you very much :)

  4. jjspelman
    Member
    Posted 3 years ago #

    Cool, thanks!!!

  5. frendeliko
    Member
    Posted 3 years ago #

    Great!!! Thank you!!!

  6. shailu
    Member
    Posted 3 years ago #

    Thank you Very very Much........

  7. UNIQLOVE
    Member
    Posted 3 years ago #

    Perfect, thanks!

  8. markgraveline
    Member
    Posted 3 years ago #

    thank you!

  9. Mike Kohn
    Member
    Posted 3 years ago #

    Great stuff! Thanks.

  10. Kristy
    Member
    Posted 3 years ago #

    Thanks lots!

  11. pealo86
    Member
    Posted 3 years ago #

    Thanks a lot, saved me having to code any jQuery :D

  12. coltonday
    Member
    Posted 3 years ago #

    Wow..... Thank you so much!!!
    I'll have to check out what other sections have more screen options!

  13. Kwayy Infotech
    Member
    Posted 3 years ago #

    Thank you very much :)

  14. TudorGrrrl
    Member
    Posted 3 years ago #

    Thanks!

  15. taufanxxx
    Member
    Posted 3 years ago #

    Oh... great.
    Thanks, Mark !!
    :oops:

  16. bilalehmed
    Member
    Posted 3 years ago #

    thnx man thankyou very much...

  17. Paul Phillips
    Member
    Posted 3 years ago #

    That's awesome thanks!

    Just noticed you can add the CSS class too!

    I'd be hardcoding the #menu-item-xxx into my style sheets for custom menu items. Can just use .menu-item-home etc. now! Loads better!

  18. Ken Soszka
    Member
    Posted 3 years ago #

    Schhwwwwing! Man, why isn't that there by default? Efficiency I guess... Thanks!

  19. romel.is.gudes@gmail.com
    Member
    Posted 3 years ago #

    Awesome... great job Mark / t31os... that was a BIG HELP!

    Thank you dude...

  20. bellatrix74
    Member
    Posted 2 years ago #

    Hello, i have a big problem. I created a new template page, i created the page, i added that page in the custom menu as "open in a new window" but now i need to set custom size of that window.
    Any idea?
    Thank you

  21. bellatrix74
    Member
    Posted 2 years ago #

    Hello, i have a big problem. I created a new template page, i created the page, i added that page in the custom menu as "open in a new window" but now i need to set custom size of that window.
    Any idea?
    Thank you

Topic Closed

This topic has been closed to new replies.

About this Topic