[wp-hackers] Do I have to suggest a new hook (or just write
johnbillion+wp at gmail.com
Sun Sep 9 13:16:12 GMT 2007
You could try output buffering  with a preg_replace for something
like '/<h2>Archive for category.*?<\/h2>/i' (although that's off the
top of my head so is probably wrong). Not sure how this would affect a
blog's performance so you'd have to look into that.
On 9/9/07, Pixline <supporto at pixline.net> wrote:
> I wrote a plugin  that needs a little template modification in
> order to work. But I have seen in the last two months that quite 9/10
> of potential users have troubles in doing this little modification .
> As long as I know, there's no hook available to make what this plugin
> is supposed to do (replace 'archive for category x' h2 with a page
> content, like a longer introduction to your category archives).
> My questions:
> 1) Am I missing some hooks, and there's a better way to do what I'm
> trying to do?
> 2) If not, this is worth a new hook proposal, and do you think this
> hook would be acceptable?
> I'm really confused...
> Thank you!
>  http://pixline.net/wordpress-plugins/category-page-plugin/
>  http://talks.pixline.net/topic/installation-okay-page-does-not-
> Paolo Tresso
> Pixline.net coder
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers