public function renderPage($templateName, $templateVars = [])
    {
        return $this->render($templateName,
            array_merge($templateVars, [
                'wp_head' => $this->wpHead(),
                'wp_footer' => $this->wpFooter(),
            ])
        );
    }
public function renderPage($templateName, $templateVars = [])
    {
        return $this->render($templateName,
            array_merge($templateVars, [
                'wp_head' => $this->wpHead(),
                'wp_footer' => $this->wpFooter(),
            ])
        );
    }
public function renderPage ( $ templateName , $ templateVars = [ ] ) { return $ this -> render ( $ templateName , array_merge ( $ templateVars , [ 'wp_head' => $ this -> wpHead ( ) , 'wp_footer' => $ this -> wpFooter ( ) , ] ) ) ; }
head + template + footer

@param string $templateName Template name to print
@param array $templateVars Parameters to template
@return string
head + template + footer