[Tex/LaTex] How to remove footline on the title page of beamer slides

beamerheader-footer

I am using the default theme, and use the following to customize the footline,

\useoutertheme{infolines}
\setbeamertemplate{footline}{\hspace*{.5cm}\scriptsize{\insertshorttitle
\hspace*{50pt} \hfill\insertframenumber\hspace*{.5cm}}\\
\vspace{9pt}} 

I don't like it also appears on the title page. Is there a simple way not to show it on the first page?

Best Answer

You can redefine footline locally for the title frame; I also modified the framenumber counter so that the frames including the footline start from one:

\documentclass{beamer}

\useoutertheme{infolines}
\setbeamertemplate{footline}{\hspace*{.5cm}\scriptsize{\insertshorttitle
\hspace*{50pt} \hfill\insertframenumber\hspace*{.5cm}}\\
\vspace{9pt}} 

\author{An Author}
\title{The Title}

\begin{document}

{
\setbeamertemplate{footline}{} 
\begin{frame}
  \titlepage
\end{frame}
}
\addtocounter{framenumber}{-1}

\begin{frame}
A frame with footline
\end{frame}

\end{document}