Make inline work on new_post event