Custom fields doesnt work well with any postTAB plugin

Well, you use ACF for your custom field, right?

In that case, replace the function “the_field” in your code with “get_field”.

the_field echoes the field already, so the field is echoed before your tab shortcodes return from the function do_shortcode and get echoed, which results in “having the content of the field before the tab” stuff.

Happy Coding,

Kuchenundkakao