Add author type/threadlocal/hook for posts