Understanding the PHPVibe header and footer

by @PHPVibe
9 years ago
55642 Views

File locations:
Default theme functions: tpl/main/tpl.globals.php
Default cms functions: lib/functions.php
Header file: tpl/main/tpl.header.php
Footer file: tpl/main/tpl.footer.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 *

This site uses Akismet to reduce spam. Learn how your comment data is processed.