Guest User

Untitled

a guest
Jun 10th, 2015
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. <!doctype html>
  2. <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
  3. <!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
  4. <!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
  5. <!--[if IE 9]> <html class="no-js ie9 oldie" lang="en"> <![endif]-->
  6. <!--[if gt IE 8]><!--> <html class="no-js" <?php language_attributes(); ?>> <!--<![endif]-->
  7. <head>
  8. <title><?php wp_title( '|', true, 'right' ); ?></title>
  9. <meta charset="<?php bloginfo( 'charset' );?>" />
  10. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  11. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  12. <?php td_util::author_meta(); ?>
  13. <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
  14. <?php
  15. wp_head();
  16. ?>
  17. </head>
  18. <?php
  19.  
  20. //set the template id, used to get the template specific settings
  21. $template_id = '404';
  22.  
  23. td_global::$current_template = $template_id;
  24.  
  25. td_global::$load_featured_img_from_template = 'full';
  26.  
  27. //prepare the loop variables
  28. global $loop_module_id, $loop_sidebar_position;
  29. $loop_sidebar_position = 'no_sidebar';
  30. $loop_module_id = td_util::get_option('tds_' . $template_id . '_page_layout', 1); //module 1 is default
  31. ?>
  32. <body <?php body_class() ?> itemscope="itemscope" itemtype="<?php echo td_global::$http_or_https?>://schema.org/WebPage">
  33. <?php
  34. echo td_page_generator::wrap_start();
  35. ?>
  36.  
  37. <div class="span12 column_container">
  38. <div class="td-404-title">
  39. <?php _etd('404 Error - page not found'); ?>
  40. </div>
  41.  
  42. <div class="td-404-sub-title">
  43. <?php _etd("We_re sorry, but the page you are looking for doesn_t exist."); ?>
  44. </div>
  45.  
  46. <div class="td-404-sub-sub-title">
  47. <?php _etd('You can go to the', ''); ?>
  48. <a href="<?php echo get_home_url(); ?>"><?php _etd('homepage', ''); ?></a>
  49.  
  50. </div>
  51.  
  52.  
  53. <h4 class="block-title"><span><?php echo __td('OUR LATEST POSTS')?></span></h4>
  54.  
  55. <?php
  56.  
  57.  
  58. $args = array(
  59. 'post_type'=> 'post',
  60. 'showposts' => 6
  61. );
  62. query_posts($args);
  63.  
  64.  
  65. $td_loop_block_module = td_util::get_option('tds_404_page_layout');
  66. //$td_loop_block_module
  67.  
  68.  
  69. locate_template('loop.php', true);
  70. //get_template_part('category', 'slider');
  71. wp_reset_query();
  72.  
  73. ?>
  74. </div>
  75. <?php
  76.  
  77. echo td_page_generator::wrap_end();
  78.  
  79. ?>
  80. </body>
  81. </html>
Advertisement
Add Comment
Please, Sign In to add comment