Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if ( is_page(179) ) {
- echo'<title>'; bloginfo('name'); wp_title(); echo'</title>';
- } else if ( is_single() && 'Humpday Hilarities' == single_post_title('', FALSE)) {
- // to fix dupe content descriptions for search engines
- echo'<title>'; wp_title('',true,''); echo " - ";
- the_time('F j, Y'); echo'</title>';
- // else all as normal...
- } else if ( is_404() ) {
- echo '<title>'; bloginfo('name'); echo ' - 404 Error'; echo '</title>';
- } else if ( is_search() ) {
- echo'<title>'; echo 'Search Results for: "'; echo wp_specialchars($s, 1);
- echo '" - '; bloginfo('name'); echo'</title>';
- } else {
- echo '<title>'; wp_title('',true,''); echo '</title>';
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement