Many people some another content or code need to add in specific pages. WordPress tutorial for, How to use is_page conditional in wordpress.
use is_page conditional in wordpress
How to use is_page conditional in wordpress
In that senorio use should use the is_page condition in page.php file. This file you will find in active wordpress theme folder.
You can use is_page condition in multiple way. Following are the some examples
// When any single Page is being displayed.
// When Page 42 (ID) is being displayed.
// When the Page with a post_title of “Contact” is being displayed.
// When the Page with a post_name (slug) of “about-me” is being displayed.
// Returns true when the Pages displayed is either post ID 42, or post_name “about-me”, or post_title
Note: You can use above condition in only page.php file.