I’ve found a functions.php file in my Headway theme. I’ve double clicked on it and opened it in Notepad. Here is the content. Can you pls add in what I need https://www.thebookonforextrading.com. Do I then upload back to headway theme?
Thanks.
<?php
/**
* Defines all of the Headway paths and loads all necessary files.
*
* @package Headway
* @author Clay Griffiths
*/
define(‘THEME_FRAMEWORK’, ‘headway’);
define(‘HEADWAYVERSION’, ‘1.6.6’);
define(‘HEADWAYROOT’, TEMPLATEPATH);
define(‘HEADWAYLIBRARY’, HEADWAYROOT.’/library’);
define(‘HEADWAYADMIN’, HEADWAYLIBRARY.’/admin’);
define(‘HEADWAYCORE’, HEADWAYLIBRARY.’/core’);
define(‘HEADWAYLEAFS’, HEADWAYLIBRARY.’/leafs’);
define(‘HEADWAYWIDGETS’, HEADWAYLIBRARY.’/widgets’);
define(‘HEADWAYCUSTOM’, HEADWAYROOT.’/custom’);
define(‘HEADWAYEDITOR’, HEADWAYLIBRARY.’/visual-editor’);
define(‘HEADWAYMEDIA’, HEADWAYROOT.’/media’);
define(‘HEADWAYCACHE’, HEADWAYMEDIA.’/cache’);
define(‘HEADWAYFOLDER’, basename(get_bloginfo(‘template_url’)));
define(‘HEADWAYURL’, get_bloginfo(‘template_url’));
require_once HEADWAYCORE.’/core-data-handling.php’;
require_once HEADWAYCORE.’/core-extend.php’;
require_once HEADWAYCORE.’/core-functions.php’;
require_once HEADWAYCORE.’/core-leafs.php’;
require_once HEADWAYCORE.’/core-generator.php’;
require_once HEADWAYCORE.’/core-triggers.php’;
require_once HEADWAYCORE.’/core-feed.php’;
require_once HEADWAYCORE.’/core-installation.php’;
require_once HEADWAYCORE.’/core-elements.php’;
require_once HEADWAYCORE.’/core-upgrade.php’;
if(!is_admin()){
require_once HEADWAYEDITOR.’/visual-editor.php’;
} else {
require_once HEADWAYADMIN.’/admin.php’;
}
require_once HEADWAYCORE.’/core-navigation.php’;
require_once HEADWAYCORE.’/core-posts.php’;
require_once HEADWAYCORE.’/core-filters-actions.php’;
require_once HEADWAYCORE.’/core-layout.php’;
require_once HEADWAYCORE.’/core-head.php’;
require_once HEADWAYCORE.’/core-css-classes.php’;
require_once HEADWAYCORE.’/core-comments.php’;
require_once HEADWAYCORE.’/core-twitter.php’;
require_once HEADWAYWIDGETS.’/functions.php’;
if(file_exists(HEADWAYCUSTOM.’/custom_functions.php’)) include_once HEADWAYCUSTOM.’/custom_functions.php’;