I am trying to run a shortcode that uses a custom function in functions.php. The shortcode runs, but it is outputting the display at the top of the page and prior to outputting the code for the other rows I have defined in the layout for the page.
Link to a page where the issue can be seen: hidden link
I expected to see that Rows 1 2, 3 and 4 in my layout would be output in that order. My shortcode is in row 2.
Instead, row 2 is being output before row 1.
This is not a Support Forum for Custom Code assistance.
Only Toolset related things can be discussed here.
How is your Custom ShortCode involved with Toolset?
Does the ShortCode work outside of Toolset?
I suspect, you echo the content of the ShortCode, instead of returning it, but that is just a wild guess.
Please share how Toolset is involved in this code, how it affects it, and the code itself.
Here is the official WordPress API For ShortCodes:
https://codex.wordpress.org/Shortcode_API