Check if shortcodes exist before creating