Custom Menu Item Attributes
-
Hi,
I need some help on creating a custom link to a dynamically changing url based off the user id.
What I am trying to do is create a menu item called “Profile” that links to the Author page. Because it is different for every user, it will be a dynamically changing url.
I know the way to link to the author page through php and html using this:
<a href="<?php the_author_posts_link(); ?>"</a>
So, how do I modify a menu item to link to this particualr tag?
Any help would be appreciated.
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Custom Menu Item Attributes’ is closed to new replies.