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

Untitled

By: a guest on Apr 12th, 2013  |  syntax: PHP  |  size: 0.19 KB  |  views: 371  |  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('woocommerce_page_title','ssm_woo_title', 15);
  2. function ssm_woo_title( $page_title ){
  3. if(is_post_type_archive('product'))
  4.         return '<span>Shop</span>';
  5.         else
  6.                 return $page_title;
  7. }
clone this paste RAW Paste Data