Advertisement
niammuddin

meta title wordpress musica

Jul 27th, 2017
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.96 KB | None | 0 0
  1. <title><?php
  2. if (is_search()) {
  3. echo 'Download '.ucwords($s).' MP3 Songs, Lyrics, albums, artists and more music';
  4. }
  5. elseif (get_query_var('yttitle')) {
  6. echo ''.ucwords(str_replace('-',' ',$yttitle)).' MP3 Songs, Lyrics, albums, artists and more music | ';
  7. bloginfo( 'name' );
  8. }
  9. elseif ((is_single())) {
  10. wp_title(''); echo ' | ';
  11. bloginfo( 'name' );
  12. }elseif ((is_page())) {
  13. wp_title(''); echo ' | ';
  14. bloginfo( 'name' );
  15. }elseif ((is_tag())) {
  16. echo 'Daftar Lagu Artis ';
  17. wp_title(''); echo ' MP3 Songs, Lyrics, albums, artists and more music | ';
  18. bloginfo( 'name' );
  19. }elseif ((is_archive())) {
  20. wp_title(''); echo ' | ';
  21. bloginfo( 'name' );
  22. }elseif ((is_home())){
  23. //bloginfo( 'name');
  24. echo 'AzLyric - MP3 Songs, Lyrics, albums, artists and more music';
  25. //bloginfo( 'description');
  26. }
  27. elseif (is_404()) {
  28. echo 'Not Found - ';
  29. bloginfo( 'name' );
  30. }
  31. if ( $paged >= 2 || $page >= 2 )
  32. echo ' - ' . sprintf( __( 'Page %s' ), max( $paged, $page ) );
  33. ?></title>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement