is_page() – WordPress


<?php 
if (is_page(123) )
{
?>

" --- Type your conditional content here --- "

<?php
} 
?>