if is_page(‘slug’)

Solved, this is what I was looking for:

<?php elseif (preg_match( '#^any-page-with-this-text-in-slug(/.+)?$#', $wp->request)) : ?>  

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)