eh… is that sarcasm?
Which one is better to use?
thx!
ThanX!
I found this:
<?php $author = get_the_author();
echo get_author_posts_url( ).$author;
?>
Also works!
Or is this even more dirty???
Thanx but it does not work:
its echos the path but the ID is no where?
any otherr ideas?
<?php
if(isset($_GET[‘author_name’])) {
$curauth = get_userdatabylogin(get_the_author_login());
} else {
$curauth = get_userdata(intval($author));
}
echo get_author_posts_url($curauth->ID); ///prints:http://lokaal108.nl/wpaanmelden/author/
?>