finish prev helper link on posts and attachments