catch new post link in sidebar instead of header
set up global post data more reliably
revert changes in template that didn't work