I need to use either a shortcode (used by a plugin) or JavaScript in the topbar content, i.e. Pro > Theme Options > Header > Topbar Content.
For JavaScript I want it to run at rendering, in order to generate different HTML depending on (for instance) the URL or the referrer.
How can I do this?
Alternatively, is it possible for PHP code in the topbar content to run at render time? I can work with that also.
Thanks.