hotfix: add in shortcodes function restoring global var $post