If I want to create a shortcode what should I include in that?
I’ve tried using
// Add Shortcode
function tapahtuman_metatiedot() {
tribe_get_template_part( ‘pro/modules/meta/additional-fields’, null, array(
‘fields’ => tribe_get_custom_fields(),
) );
}
add_shortcode( ‘tapahtuman-metatiedot’, ‘tapahtuman_metatiedot’ );
It actually worked when I saved the shortcode in Beaver Themer but then the meta details jumped to top left corner of the page 🙁