Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
- <!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
- <!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
- <!--[if IE 9]> <html class="no-js ie9 oldie" lang="en"> <![endif]-->
- <!--[if gt IE 8]><!--> <html class="no-js" <?php language_attributes(); ?>> <!--<![endif]-->
- <head>
- <title><?php wp_title( '|', true, 'right' ); ?></title>
- <meta charset="<?php bloginfo( 'charset' );?>" />
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <?php td_util::author_meta(); ?>
- <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
- <?php
- wp_head();
- ?>
- </head>
- <?php
- //set the template id, used to get the template specific settings
- $template_id = '404';
- td_global::$current_template = $template_id;
- td_global::$load_featured_img_from_template = 'full';
- //prepare the loop variables
- global $loop_module_id, $loop_sidebar_position;
- $loop_sidebar_position = 'no_sidebar';
- $loop_module_id = td_util::get_option('tds_' . $template_id . '_page_layout', 1); //module 1 is default
- ?>
- <body <?php body_class() ?> itemscope="itemscope" itemtype="<?php echo td_global::$http_or_https?>://schema.org/WebPage">
- <?php
- echo td_page_generator::wrap_start();
- ?>
- <div class="span12 column_container">
- <div class="td-404-title">
- <?php _etd('404 Error - page not found'); ?>
- </div>
- <div class="td-404-sub-title">
- <?php _etd("We_re sorry, but the page you are looking for doesn_t exist."); ?>
- </div>
- <div class="td-404-sub-sub-title">
- <?php _etd('You can go to the', ''); ?>
- <a href="<?php echo get_home_url(); ?>"><?php _etd('homepage', ''); ?></a>
- </div>
- <h4 class="block-title"><span><?php echo __td('OUR LATEST POSTS')?></span></h4>
- <?php
- $args = array(
- 'post_type'=> 'post',
- 'showposts' => 6
- );
- query_posts($args);
- $td_loop_block_module = td_util::get_option('tds_404_page_layout');
- //$td_loop_block_module
- locate_template('loop.php', true);
- //get_template_part('category', 'slider');
- wp_reset_query();
- ?>
- </div>
- <?php
- echo td_page_generator::wrap_end();
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment