is_page()
returns boolean true
or boolean false
. The way you’ve called it looks like it would have no effect.
Try this:
if ( is_page( array( 'web-design-portfolio', 'web-design-portfolio-2' ) ) ) {
?>
<!-- All your display code code -->
<?php } // ends the if() statement