<?php
/*
 * The template for displaying "Page 404"
*/

// Disable direct call
if ( ! defined( 'ABSPATH' ) ) { exit; }


/* Theme setup section
-------------------------------------------------------------------- */

if ( !function_exists( 'seohub_template_404_theme_setup' ) ) {
	add_action( 'seohub_action_before_init_theme', 'seohub_template_404_theme_setup', 1 );
	function seohub_template_404_theme_setup() {
		seohub_add_template(array(
			'layout' => '404',
			'mode'   => 'internal',
			'title'  => 'Page 404',
			'theme_options' => array(
				'article_style' => 'stretch'
			),
			'w'		 => null,
			'h'		 => null
			));
	}
}

// Template output
if ( !function_exists( 'seohub_template_404_output' ) ) {
	function seohub_template_404_output() {
		global $SEOHUB_GLOBALS;
		?>
        <article class="post_item post_item_404">
            <div class="post_content">
                <?php echo do_shortcode('[vc_row][vc_column width="1/1"][trx_image top="large" bottom="large" url="977" align="none" shape="square" animation="none"][trx_title css="margin-bottom: 1.3em;" type="2" style="regular" border_bottom="no" border_bottom_position="center" align="none" font_weight="inherit" icon="inherit" image="none" image_size="small" position="top" animation="none" ]Sorry! Can&apos;t find that page! <span class="accent1">Error 404!</span>[/trx_title][vc_column_text]Can\'t find what you need? Take a moment and do<br> a search below or start from our <a href="../" class="link_under">homepage</a>.[/vc_column_text][trx_search top="3.2em" bottom="7.5em" style="regular" state="fixed" title="Search" ajax="" animation="none"][/vc_column][/vc_row]');?>
            </div>
        </article>
		<?php
	}
}
?>