dynamic attach author name to post