I know the OP asked specifically for its theme, but in case someone wants to know how to do it on the code side of things, you can use the request object to .