Add post id to publish/unpublish link for posts.
Change query all to all posts.