is_page Funtion for Posts ?

Remove the ! before is_page().

The function is_page() is built into WordPress and only tests if the post being viewed is a page or not. The ! stands for “not”, so if you take it out, the code will only return true on that part if it is a page.