check search results if page or post