Modify post template plugin