Heh ... I forgot I wrote this back in April ... <a href="https://gist.github.com/1410493">https://gist.github.com/1410493</a><br>Like I noted with the snippet from Desk Mess Mirrored, it's what I use most everywhere, still not satisfied there is an issue with feeds when the code from that particular gist (I am still not able to reproduce the OP issue.)<br>
<br><br clear="all">Cais.<br>
<br><br><div class="gmail_quote">On Wed, Oct 17, 2012 at 1:24 PM, Shinra Web Holdings <span dir="ltr"><<a href="mailto:contact@shinraholdings.com" target="_blank">contact@shinraholdings.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<a href="http://shinraholdings.com/59/using-the-wp_title-filter/" target="_blank">http://shinraholdings.com/59/using-the-wp_title-filter/</a><div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">On Wed, Oct 17, 2012 at 10:26 AM, esmi at quirm dot net <span dir="ltr"><<a href="mailto:esmi@quirm.net" target="_blank">esmi@quirm.net</a>></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><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're using is_feed() too.<br>
<br>
I've corrected the example in the Codex page to use:<div><br>
<br>
if( !is_feed() ) return get_bloginfo( 'name' ) . $page_type . $title . $page_num;<br></div>
else return $old_title;<br>
<br>
<<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>><div><div>
<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>
</div></div><br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br>