<?php
/**
 * Class IS_Medify_Content_404_Page
 * 
 *
 * @package IS-Medify
 *
 * @since 1.0.0
 *  
*/
class IS_Medify_Content_404_Page {

	/**
	 * Class Construct Method.
	*/
	public function __construct() {
		$this->IS_Medify_Setup_Hook_404_page();
	}

	/**
	 * IS_Medify_Setup_Hook_404_page Function For 404 Page .
	*/
	public function IS_Medify_Setup_Hook_404_page() {
		add_action( 'IS_Medify_Do_Function_404', array( $this, 'IS_Medify_404_page' ) );
	}

	/**
	 * IS-Medify 404 page.
	*/
	public function IS_Medify_404_page() { ?>
		<div class="container-fluid space" id="primary">
			<div class="container nopage">
				<h2>
					<?php esc_html_e('404','is-medify'); ?>	
				</h2>
				<h4>
					<?php esc_html_e('Whoops... Post Not Found !!!','is-medify'); ?>
				</h4>
				<p>
					<?php esc_html_e('We`re sorry, but the page you are looking for doesn`t exist.','is-medify'); ?>
				</p>
				<p>
					<a href="<?php echo esc_url(home_url( '/' )); ?>">
						<button class="btn btn-danger" type="submit"><?php esc_html_e('Go To Homepage','is-medify'); ?></button>
					</a>
				</p>
			</div>
		</div> <?php
	}
}
new IS_Medify_Content_404_Page;