Ben Zumdahl
Sep 6, 2018 · 1 min read

Hi Marc. By default, widgets don’t accept or parse PHP out of security concerns:

Generally this snippet would need to be used in a theme file directly; alternately, creating a custom widget to enable this functionality could work well, too.

    Ben Zumdahl
    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade