using slugish id and add publicated date too posts