[wp-hackers] Prepend blog name in comment feed's title
Peter Westwood
peter.westwood at ftwr.co.uk
Fri Oct 9 22:05:56 UTC 2009
There is a filter on the "Comments on" bit.
If you dig into the translation functions there are filters to let
plugins modify the translated string which can be used to prepend
something here.
--
Peter Westwood
http://peter.westwood.name
On 9 Oct 2009, at 21:33, Otto <otto at ottodestruct.com> wrote:
> Well, there's no filter on the "Comments on:" section, so you're
> basically reduced to editing the core code directly.
>
> -Otto
> Sent from Memphis, TN, United States
>
>
> On Fri, Oct 9, 2009 at 1:38 PM, Thomas Scholz <info at toscho.de> wrote:
>> Otto:
>>
>>> Well, I'd try this in your code, for starters:
>>>
>>> return get_bloginfo('name') . ' - ' . $str;
>>
>> This results in:
>> <title>Comments on: toscho.design - WordPress: Kommentarfeed mit
>> Blognamen</title>
>>
>> But I don't want the blog name somewhere between other words,
>> because this
>> reduces the scannability – exact the opposite of what I want to ac
>> hive.
>>
>> thomas
>>
>> --
>> Redaktion, Druck- und Webdesign
>> http://toscho.de · 0160/1764727
>> Twitter: @toscho
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list