Advertisement
Guest User

Nicki

a guest
Oct 29th, 2008
323
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. if ( is_page(179) ) {
  3.         echo'<title>'; bloginfo('name'); wp_title(); echo'</title>';
  4. } else if ( is_single() && 'Humpday Hilarities' == single_post_title('', FALSE)) {
  5.         // to fix dupe content descriptions for search engines
  6.         echo'<title>'; wp_title('',true,''); echo " - ";
  7.         the_time('F j, Y'); echo'</title>';
  8.         // else all as normal...
  9. } else if ( is_404() ) {
  10.         echo '<title>'; bloginfo('name'); echo ' - 404 Error'; echo '</title>';
  11. } else if ( is_search() ) {
  12.      echo'<title>'; echo 'Search Results for: "'; echo wp_specialchars($s, 1);
  13.      echo '" - '; bloginfo('name'); echo'</title>';
  14. } else {
  15.         echo '<title>'; wp_title('',true,''); echo '</title>';
  16. }
  17. ?>
  18.  
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement