Advertisement
HavuratTikvah

Dash

Apr 16th, 2012
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. <title>
  2. <?php
  3. if (function_exists('is_tag') && is_tag()) {
  4. single_tag_title("Tag Archive for &quot;"); echo '&quot; - '; }
  5. elseif (is_archive()) {
  6. wp_title(''); echo ' Archive - '; }
  7. elseif (is_search()) {
  8. echo 'Search for &quot;'.wp_specialchars($s).'&quot; - '; }
  9. elseif (!(is_404()) && (is_single()) || (is_page())) {
  10. wp_title(''); echo ' - '; }
  11. elseif (is_404()) {
  12. echo 'Not Found - '; }
  13. if (is_home()) {
  14. bloginfo('name'); echo ' - '; bloginfo('description'); }
  15. else {
  16. bloginfo('name'); }
  17. if ($paged>1) {
  18. echo ' - page '. $paged; }
  19. ?>
  20. </title>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement