Display function from functions.php in tag.php

Thank you @bueltge for the answer! I was focusing on the shortcode and didn’t even think to call the function in the ‘normal’ way.

echo dynamicContent()

worked.