Guest User

Untitled

a guest
Jan 6th, 2014
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. <?php
  2.  
  3. //set the template id, used to get the template specific settings
  4. $template_id = '404';
  5.  
  6. td_global::$current_template = $template_id;
  7.  
  8. //prepare the loop variables
  9. global $loop_module_id, $loop_sidebar_position;
  10. $loop_sidebar_position = 'no_sidebar';
  11. $loop_module_id = td_util::get_customizer_option($template_id . '_page_layout', 1); //module 1 is default
  12.  
  13.  
  14.  
  15.  
  16. get_header();
  17.  
  18. echo td_page_generator::wrap_start();
  19.  
  20. ?>
  21.  
  22. <div class="span12 column_container">
  23. <div class="td-404-title">
  24. <?php _etd('404 Error - page not found'); ?>
  25. </div>
  26.  
  27. <div class="td-404-sub-title">
  28. <?php _etd("We're sorry, but the page you are looking for doesn't exist."); ?>
  29. </div>
  30.  
  31. <div class="td-404-sub-sub-title">
  32. <?php _etd('You can go to the', ''); ?>
  33. <a href="<?php echo get_home_url(); ?>"><?php _etd('homepage', ''); ?></a>
  34.  
  35. </div>
  36.  
  37.  
  38. <h4 class="block-title"><span><?php echo __td('OUR LATEST APP REVIEWS AND PROMO CODES')?></span></h4>
  39.  
  40. <?php
  41.  
  42.  
  43. $args = array(
  44. ‘post_type’=> ‘post’,
  45. ‘showposts’ => 6,
  46. ‘cat’ => ‘cat =-65,-1559,-1481,-8,-1280′
  47. );
  48. query_posts($args);
  49.  
  50.  
  51.  
  52. $td_loop_block_module = td_util::get_option('tds_404_page_layout');
  53. //$td_loop_block_module
  54.  
  55. get_template_part('loop-simple');
  56. //get_template_part('category', 'slider');
  57.  
  58. ?>
  59. </div>
  60. <?php
  61.  
  62. echo td_page_generator::wrap_end();
  63. get_footer();
  64. ?>
Advertisement
Add Comment
Please, Sign In to add comment