\mode<presentation> % Frame title \defbeamertemplate*{frametitle}{irstea}[1][]{\IrsteaFrameTitle{\insertframetitle}{\insertframesubtitle}} \mode<all>