September 15, 2014 at 5:52 am
#15996
Theme Horse Support Team
Keymaster
Hi Pavel,
Just create a childtheme and create just a functions.php file only. First you need to unhook the functions and then only hook it.
for example to unhook functions
unhook functions
// Unhook default Thematic functions
function unhook_thematic_functions() {
// Don't forget the position number if the original function has one
remove_action('interface_init', 'interface_load_files', 15);
}
add_action('init','unhook_thematic_functions'); // removes the header content by using hook attitude_header
add_action( 'interface_init', 'interface_child_init', 15);
function interface_child_init() {
/**
* interface_add_files hook
*
* Adding other addtional files if needed.
*/
do_action( 'interface_add_files' );
/** Load functions */
require_once( INTERFACE_FUNCTIONS_DIR . '/i18n.php' );
require_once( INTERFACE_FUNCTIONS_DIR . '/custom-header.php' );
require_once( INTERFACE_FUNCTIONS_DIR . '/functions.php' );
require_once( INTERFACE_FUNCTIONS_DIR . '/custom-style.php' );
require_once( INTERFACE_ADMIN_DIR . '/interface-themedefaults-value.php' );
require_once( INTERFACE_ADMIN_DIR . '/theme-option.php' );
require_once( INTERFACE_ADMIN_DIR . '/interface-metaboxes.php' );
require_once( INTERFACE_ADMIN_DIR . '/interface-custom-post-types.php' );
/** Load Shortcodes */
require_once( INTERFACE_SHORTCODES_DIR . '/interface-shortcodes.php' );
/** Load Structure */
require_once( INTERFACE_STRUCTURE_DIR . '/searchform-extensions.php' );
require_once( INTERFACE_STRUCTURE_DIR . '/sidebar-extensions.php' );
require_once( INTERFACE_STRUCTURE_DIR . '/footer-extensions.php' );
require_once( INTERFACE_STRUCTURE_DIR . '/content-extensions.php' );
/** Load Widgets and Widgetized Area */
require_once( INTERFACE_WIDGETS_DIR . '/interface_widgets.php' );
/** Fuction to help install the plugin from within the theme */
require_once( INTERFACE_FUNCTIONS_DIR . '/class-tgm-plugin-activation.php' );
require_once( INTERFACE_FUNCTIONS_DIR . '/activate-plugin.php' );
}
Hope this may help you
Thank you!