Missing Template Function ?
-
Hi
Probably me being blind, but I could find a function that returned the post authors website url.
In my theme I didn’t want the username to be a hyperlink (in post.php), I wanted to add buttons, for profile, website, & PM.
I wrote one to get my tests working.. but is there an “official” way ?
function post_author_url() {
if ( get_user_link( get_post_author_id() ) ) {
echo get_user_link( get_post_author_id() ) ;
} else {
bb_get_option('uri');
}
}
- You must be logged in to reply to this topic.