This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

WPSEO / The Events Calendar title

By: a guest on Dec 8th, 2012  |  syntax: PHP  |  size: 0.17 KB  |  views: 41  |  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. }
clone this paste RAW Paste Data