Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <title>
- <?php
- if (function_exists('is_tag') && is_tag()) {
- single_tag_title("Tag Archive for ""); echo '" - '; }
- elseif (is_archive()) {
- wp_title(''); echo ' Archive - '; }
- elseif (is_search()) {
- echo 'Search for "'.wp_specialchars($s).'" - '; }
- elseif (!(is_404()) && (is_single()) || (is_page())) {
- wp_title(''); echo ' - '; }
- elseif (is_404()) {
- echo 'Not Found - '; }
- if (is_home()) {
- bloginfo('name'); echo ' - '; bloginfo('description'); }
- else {
- bloginfo('name'); }
- if ($paged>1) {
- echo ' - page '. $paged; }
- ?>
- </title>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement