Should use $authordata global rather than $author