get next shortcode from db