Advertisement
Guest User

WordPress 404 page using Google FixURL widget

a guest
Apr 22nd, 2011
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.96 KB | None | 0 0
  1. <?php get_header(); ?>
  2.     <div id="main" role="main" class="clearfix">
  3.         <article id="post">
  4.            <h1><?php
  5.                global $post;
  6.                echo $post->post_title;
  7.             ?></h1>
  8.            <div>
  9.                <p>Sorry, but the page you were trying to view does not exist.</p>
  10.                <p>It looks like this was the result of either:</p>
  11.                <ul>
  12.                    <li>a mistyped address</li>
  13.                    <li>an out-of-date link</li>
  14.                </ul>
  15.                
  16.                <p>You can try searching below or head to the <a href="<?php bloginfo('url'); ?>" title="Home page">home page</a> and start over. Again, sorry for the inconvinience.</p>
  17.            </div>
  18.            
  19.             <script>
  20.             var GOOG_FIXURL_LANG = (navigator.language || '').slice(0,2),
  21.                 GOOG_FIXURL_SITE = location.host;
  22.             </script>
  23.             <script src="http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script>
  24.         </article>
  25.    
  26.         <?php get_sidebar('home');
  27.     </div>
  28.  
  29. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement