Understanding the PHPVibe header and footer coding

5 Sep 2014

PHPVibe uses one file for both the header and footer, this is file is located in the theme as tpl.globals.php

Default: tpl/main/tpl.globals.php


The head

All the head tags and meta are contained within this function:

function meta_add(){

The header

In this file the header is inserted by this function:

function header_add(){

it also pulls in

function top_nav(){

The footer

Injected by the function:

function footer_add(){

it holds most of the javascript files, the copyright and several other elements.

Leave a Reply

Your email address will not be published. Required fields are marked *