October 1, 2014 at 10:21 am
#16894
Theme Horse Support Team
Keymaster
Hi David,
Here is the sample how to unhook the functions.
Eg:-
unhook functions
// Unhook default Thematic functions
function unhook_thematic_functions() {
// Don't forget the position number if the original function has one
remove_action( 'attitude_404_content', 'attitude_display_404_page_content', 10 );
}
add_action('init','unhook_thematic_functions'); // removes the header content by using hook attitude_header
add_action( 'attitude_404_content', 'attitude_child_display_404_page_content', 10 );
/**
* function to show the footer info, copyright information
*/
function attitude_child_display_404_page_content() { ?>
<div id="content">
<header class="entry-header">
<h1 class="entry-title"><?php _e( 'Error 404-Page NOT Found', 'attitude' ); ?></a></h1>
</header>
<div class="entry-content clearfix" >
<p>Thank you</p>
</div><!-- .entry-content -->
</div><!-- #content -->
<?php
}
This is for page 4o4.php
Thank you!