• Hi,

    I can’t believe I forgot how to do this (embarrassed) =/

    What’s the trick to adding direct links in the top menu – where Pages are usually listed?

    Such as, if I wanted to add a “Register” link and have it go directly to /wp-login.php?action=register with _blank (opens in new tab).

    Thanks.

Viewing 1 replies (of 1 total)
  • You can use something like the following:

    <a href="<?php echo get_bloginfo('url') . '/wp-login.php?action=register'; ?>" target="_blank">Register</a>

    You may need to wrap this in <li></li> tags to fit with your current “menu” but the code itself should do what you are looking for.

Viewing 1 replies (of 1 total)
  • The topic ‘Links at Top of Page – Instead of Pages’ is closed to new replies.