I think that would remove the Like button from content in newsletters
as well; I only want to remove it from emails which don't appear in my
site content (and therefore can't be linked to/Liked from Facebook).
Is there some conditional test that says "if (is_newsletter())..."?
> 2010/12/7 Graham Stoney <
lqmma...@trashmail.net>
>
>
>
> > I use the Like plugin (
http://wordpress.org/extend/plugins/like/) to
> > add a Facebook Like button to the top of posts on my site. It works by
> > adding a the_content filter, which is great when the content is a
> > posting on my site or a MailPress newsletter; but not so good when the
> > content is an email which can't be referenced.
>
> > I know the solution is to call this when emails are being sent
> > manually or via an autoresponder:
>
> > remove_filter('the_content', 'tt_like_widget');
>
> > But in what file and where should I do this?
>
> > Cheers, Graham
> >
http://grahamstoney.com/
>
> > --
> > === Please Donate !
> >
https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=andre%2...
>
> > You received this message because you are subscribed to the Google
> > Groups "MailPress" group.
> > To post to this group, send email to
mail...@googlegroups.com
> > To unsubscribe from this group, send email to
> >
mailpress+...@googlegroups.com<
mailpress%2Bunsu...@googlegroups.com>