add conditional to WP page creation