badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Reply To: Loading header-extension.php in Child Theme

#47578

Hi Charles,

Doing this doesn’t work for you. Create you own topic. Don’t add your questions on others topic. First you need to unhook and then only hook the functions. Making same structure will not overwrite the parent theme. The above is for the interface and i think you have asked a questions for attitude pro.

Just try using below code

// Unhook default Thematic functions
function unhook_thematic_functions() {
    // Don't forget the position number if the original function has one

remove_action( 'attitude_header', 'attitude_headercontent_details', 10 );
}

add_action('init','unhook_thematic_functions'); // removes the header content by using hook attitude_header

add_action( 'attitude_headercontent_details', 'attitude_child_headercontent_details', 10 );
funtion attitude_child_headercontent_details(){
// your stuff
}

If still it doesn’t work then please create your own topic. Because this topic is a years old ago. Also make clear what exactly you want to do on the theme.

Thank You