February 23, 2015 at 5:47 am
#22387
Theme Horse Support Team
Keymaster
Hi nuruddinctg1990,
Example to unhook the page 404:
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_404_content', 'interface_display_404_page_content', 10 );
}
add_action('init','unhook_thematic_functions'); // removes the header content by using hook interface_header
add_action( 'interface_404_content', 'interface_child_display_404_page_content', 10 );
/**
* function to show the footer info, copyright information
*/
function interface_child_display_404_page_content() { ?>
<div id="content">
<header class="entry-header">
<h1 class="entry-title"><?php _e( 'Error 404-Page NOT Found', 'interface' ); ?></h1>
</header>
<div class="entry-content clearfix" >
<p>Thank you</p>
</div><!-- .entry-content -->
</div><!-- #content -->
<?php
}
You may also search in forum how to unhook the parent code.
For example:-
https://www.themehorse.com/support-forum/topic/child-theme-404-page-and-search-page-styling/
If you are still unable then you may hire a developer to fix it.
This below code must be defined under business page Template. If you want to display it in your own style/ design then you need to hire a developer
<?php the_content();?>
Thank you!