Grouped Custom Meta Fields without plugin

stick with cmb2 — there is another method of displaying and then saving meta data, but it’s a PAIN and loads your functions file. the plugin pretty much has no effect on the front end of the site — it’ll also make your meta boxes a lot cleaner and consistent-looking