Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

WPSEO / The Events Calendar title

By: a guest on Dec 8th, 2012  |  syntax: PHP  |  size: 0.17 KB  |  hits: 40  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. add_filter('wpseo_title','my_custom_titles');
  2. function my_custom_titles($title) {
  3.   if( tribe_is_event() ){
  4.     $title = 'Winter is coming';
  5.   }    
  6.   return $title;
  7. }