瀏覽代碼

A better Title tag

Eddie Machado 12 年之前
父節點
當前提交
c9e7b577fe
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      functions.php

+ 2 - 0
functions.php

@@ -29,6 +29,8 @@ function bones_ahoy() {
 
   // launching operation cleanup
   add_action( 'init', 'bones_head_cleanup' );
+  // A better title
+  add_filter( 'wp_title', 'rw_title', 10, 3 );
   // remove WP version from RSS
   add_filter( 'the_generator', 'bones_rss_version' );
   // remove pesky injected css for recent comments widget