[BNM] Wordpress wizards? How to strip images from posts
Chris Billett
chris at chrisbillett.net
Wed Dec 12 13:18:36 GMT 2007
But that would stop them going in posts at all, right? Just to clarify...
is the goal to have a seperate style on phones and normal *including
images* on normal web?
In which case CSS would be great, but probably would still load them...
making data tariff bastards very happy.
> On 12/12/07, delarge <delargerock at gmail.com> wrote:
>> Hey hey - searching is proving fruitless on this one.... anyone know how
>> to
>> get a wordpress post to ignore img tags? as in - produce a text only
>> version?
>
> If you're using a Wordpress 2 install, you should be able to edit the
> wp-includes/kses.php file and remove IMG from the $allowedposttags
> variable.
>
> Someone with the opposite problem (stripping tag attributes they wanted
> to allow)
> http://maisonbisson.com/blog/post/11674/wordpress-strips-classnames-and-how-to-fix-it
>
> --
> Jay Caines-Gooby
> jay at gooby.org
> +44 (0)7956 182625
> skype: jaygooby
> gtalk: jaygooby at gmail.com
> AIM: jaygooby
> --
>
> BNM Subscribe/Unsubscribe:
> http://www.brightonnewmedia.org/options/bnmlist
>
> Archive Search - http://icanhaz.com/bnmarchive
>
> List jobs for 10 pounds on Sussex Digital. Use promo code bnm10
> http://jobs.sussexdigital.com/
>
> BNM powered by Wessex Networks:
> http://www.wessexnetworks.com
>
More information about the BNMlist
mailing list. Powered by Wessex Networks