Guest User

error404.php

a guest
Jul 8th, 2015
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.55 KB | None | 0 0
  1. <div class="flex_column av_one_half first">
  2. <p class='entry-content'><strong><?php _e('Nothing Found', 'avia_framework'); ?></strong><br/>
  3.  
  4. <?php _e('Sorry, the post you are looking for is not available. Maybe you want to perform a search?', 'avia_framework'); ?>
  5. </p>
  6. <?php
  7.  
  8.         if(isset($_GET['post_type']) && $_GET['post_type'] == 'product' && function_exists('get_product_search_form'))
  9.         {
  10.             get_product_search_form();
  11.         }
  12.         else
  13.         {
  14.             get_search_form();
  15.         }
  16.  
  17. ?>
  18.  
  19.  
  20.  
  21. <div class='hr_invisible'></div>
  22. </div>
  23.  
  24. <div class="flex_column av_one_half">
  25. <section class="404_recommendation">
  26.     <p><?php _e('For best search results, mind the following suggestions:', 'avia_framework'); ?></p>
  27.     <ul class='borderlist-not'>
  28.         <li><?php _e('Always double check your spelling.', 'avia_framework'); ?></li>
  29.         <li><?php _e('Try similar keywords, for example: tablet instead of laptop.', 'avia_framework'); ?></li>
  30.         <li><?php _e('Try using more than one keyword.', 'avia_framework'); ?></li>
  31.     </ul>
  32.  
  33.     <div class='hr_invisible'></div>
  34.  
  35.     <h3 class=''><?php _e('Feel like browsing some posts instead?', 'avia_framework'); ?></h3>
  36.  
  37.     <?php
  38.     the_widget('avia_combo_widget', 'error404widget', array('widget_id'=>'404',
  39.             'before_widget' => '<div class="widget avia_combo_widget">',
  40.             'after_widget' => '</div>',
  41.             'before_title' => '<h3 class="widgettitle">',
  42.             'after_title' => '</h3>'
  43.         ));
  44.        
  45.     do_action('ava_after_content', '', 'error404');
  46.     ?>
  47. </section>
  48. </div>
Advertisement
Add Comment
Please, Sign In to add comment