<a href="http://shinraholdings.com/59/using-the-wp_title-filter/">http://shinraholdings.com/59/using-the-wp_title-filter/</a><br><br><div class="gmail_quote">On Wed, Oct 17, 2012 at 10:26 AM, esmi at quirm dot net <span dir="ltr">&lt;<a href="mailto:esmi@quirm.net" target="_blank">esmi@quirm.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">on 17/10/2012 15:27 Philip M. Hofer (Frumph) said the following:<div class="im"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
That is precisely how to do it.  But you should also return the original<br>
$title being passed through the filter<br>
</blockquote>
<br></div>
Good point. I noticed that you&#39;re using is_feed() too.<br>
<br>
I&#39;ve corrected the example in the Codex page to use:<div class="im"><br>
<br>
    if( !is_feed() ) return get_bloginfo( &#39;name&#39; ) . $page_type . $title . $page_num;<br></div>
    else return $old_title;<br>
<br>
&lt;<a href="http://codex.wordpress.org/Plugin_API/Filter_Reference/wp_title#Example" target="_blank">http://codex.wordpress.org/<u></u>Plugin_API/Filter_Reference/<u></u>wp_title#Example</a>&gt;<div class="HOEnZb"><div class="h5">
<br>
<br>
Mel<br>
-- <br>
<a href="http://quirm.net" target="_blank">http://quirm.net</a><br>
<a href="http://blackwidows.co.uk" target="_blank">http://blackwidows.co.uk</a><br>
______________________________<u></u>_________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.<u></u>wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/<u></u>mailman/listinfo/theme-<u></u>reviewers</a><br>
</div></div></blockquote></div><br>