$templater = vB_Template::create('pagenav'); $templater->register_page_templates(); $pagnav = $templater->render(); var_dump($pagenav);