adding handler for pg-post tag