fix search results and archives for posts