put theme support stuff into one function (like in _underscores)