The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Username in Link Menu Item? (1 post)

  1. cspowers
    Posted 5 years ago #

    Hello folks,

    This is probably a total newbie question but I've done all the keyword searches I can think of in the codex and can't seem to find the info I'm looking for.

    I'm using WP 3.1 and am defining a custom menu. One of the menu items I want to add is a URL which substitutes in the current user name into the menu item's URL. Is this possible?

    I'd seen short codes discussed I tried putting [username] into the URL of the menu item, but that didn't seem to work. I've seen PHP snippets referring to $username so I tried that too, with no luck.

    An guidance or pointers appreciated.


Topic Closed

This topic has been closed to new replies.

About this Topic