Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
There’s probably a (dangerous, not a good idea, really step away from the line!) way to do it in the mysql database but why would the ID number matter? The login name won’t change either way.
It would mess up
1) All posts and comments attributed to that user
2) The numbering schema used by WP for the next new user
Thanks for the solutions.
Actually I need to give the link as per our Employee ID to Author
e.g. I need to give link (65252.html) to user_id=2 instead of 2.html
I am using below tag: <?php the_author_ID()?>
Is it possible by using if-else condition.
Please help…
Thanks,
Sonali
Hey Thanks all…
I got the solution.
I have added direct URL/Link in the profile of User by Dashboard and then I have added below code on where you want author name and URL/link for the same.
<a href="#">','', 'width=814, height=582, location=no, menubar=no, status=no,toolbar=no, scrollbars=no, resizable=no'); return false"><?php the_author(); ?></a>
[Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code has been permanently damaged/corrupted by the forum’s parser.]
I have added php the_author_url function which is not showing in above post