$post->ID = '2'; // id, название или slug страницы
if (is_page($post)) { echo 'zdfgxdfgb';
<?php if(get_post_meta($post->ID, 'url', true)) { ?>
<bz><a href="<?php echo get_post_meta($post->ID, 'url', true); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></bz>
<?php } else { ?>
<bz><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></bz>
<?php } ?>
}