Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Plugins & Atahualpa »

bfa_wp_trim_exercpt breaking plugins?

Old Dec 15, 2013, 03:37 PM
2 posts · Dec 2013
It seems like a lot of plugins rely on injecting javascript into the_excerpt() - two I ran into switching to Atahualpa today are Ad Injection and Hupso Share Buttons. It doesn't seem like a filter on the_excerpt or get_the_excerpt is rare.

The problem is that the Javascript injected is chewed up by having the script tags removed, so you end up with an excerpt displaying xml-escaped javascript.

I was able to work around this by adding script, ins, and a couple of other tags to the dont_strip_excerpts list, but this seems like a hack that may/will easily break in the future.

Is there another way to fix this? Perhaps one that doesn't require maintenance?



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can't make menu taller without breaking my rotating header image tsheridan Page & Category Menu Bars 6 Jun 8, 2011 11:35 AM
Why is the title breaking to two lines? joe hark Header configuration & styling 3 Jun 3, 2010 08:48 AM
[SOLVED] Gallery breaking problem with NextGEN and Atahualpa acabtp Plugins & Atahualpa 3 Jul 9, 2009 08:06 PM

All times are GMT -6. The time now is 07:15 PM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.