Customize footline{} in Beamer

beamerfooterheader-footer

the code below prints out this yet I would like to see the footline only at the end even though I remove head does not work. Many thanks in advance.

 \documentclass[10pt,english,8pt]{beamer}
\usetheme{CambridgeUS}
\usetheme{default}
\usecolortheme{crane}


\makeatletter
\setbeamertemplate{footline}
{
    \leavevmode%
    \hbox{%
        \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
            \usebeamerfont{author in head/foot}\insertsection
        \end{beamercolorbox}%
        \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
            \usebeamerfont{title in head/foot}\insertsubsection
        \end{beamercolorbox}}
    \vskip0pt%
}
\makeatother

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

\begin{document}
    
    \section{Test Section One}
    \subsection{Test Subsection One One}
    
    \begin{frame}
        test
    \end{frame}
    \subsection{Test Subsection One Two}
    \begin{frame}
        test
    \end{frame}
    
\end{document}

Best Answer

To completely remove the header use

\setbeamertemplate{headline}{} a

\documentclass[10pt,english,8pt]{beamer}
\usetheme{CambridgeUS}
\usetheme{default}
\usecolortheme{crane}

\setbeamertemplate{headline}{} % added <<<<<<<<<<<<<<<<<<<<<
%% OR 
%\setbeamercolor{section in head/foot}{use=palette tertiary, fg=palette tertiary.bg}
%\setbeamercolor{subsection in head/foot}{use=palette secondary, fg=palette secondary.bg}   

\makeatletter
\setbeamertemplate{footline}
{
    \leavevmode%
    \hbox{%
        \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
            \usebeamerfont{author in head/foot}\insertsection
        \end{beamercolorbox}%
        \begin{beamercolorbox}[wd=.5\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
            \usebeamerfont{title in head/foot}\insertsubsection
    \end{beamercolorbox}}
    \vskip0pt%
}
\makeatother

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

\begin{document}
    
    \section{Test Section One}
    \subsection{Test Subsection One One}
    
    \begin{frame}
        test
    \end{frame}
    \subsection{Test Subsection One Two}
    \begin{frame}
        test
    \end{frame}
    
\end{document}

If you want to keep the colors of the header while hiding the text use instead

\setbeamercolor{section in head/foot}{use=palette tertiary, fg=palette tertiary.bg}
\setbeamercolor{subsection in head/foot}{use=palette secondary, fg=palette secondary.bg} 

b