Current theme path?

Is there a way to get the path to the current theme folder?

Something like img(), but instead returns themes/my-awesome-theme?

Depending on the details of what you need, there's a couple things to look at.

Simplest sounds like using one of the constants Omeka defines: PUBLIC_THEME_DIR. With this, your theme directory would be

$myAwesomeThemeDir = PUBLIC_THEME_DIR . '/my-awesome-theme'

There's also WEB_THEME, which would work the same way.

Those both assume that you don't really need to look for the _current_ theme, just the one you know you need, based on where you know you've installed your awesome theme.

It sounds like that'll suffice, but if not, there's another, more complicated, approach we can play with.