Theme Codex

Browse: Home / Core / Plugins / Themes

Common
Location: mc-includes/functions.php
Management Dasboard->Themes


Directory Structure
mc-content
-- themes
---- your theme
---- header.php
---- footer.php
---- front_page.php
---- css
------ style.css
---- img / images
------ favicon.ico / assets/favicon.ico
------ Your images


do_header()
Loads most common header values except bootstrap

mc_login_url()
Returns the Login URL for Theme Navigation

mc_logout_url()
Returns the Logout URL for Theme Navigation

mc_register_url()
Returns the Register URL for Theme Navigation

mc_countVisits()
Records visits to the site visits table, displayed in the Admin Dashboard

redirect(location)
Interacts with mc-core/core/class_core->redirect_to(location)
Alias: header
When you need to redirect someone, run redirect("/link")