Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   Javascript tags seems to be stripped on archive pages but not on post pages (http://forum.bytesforall.com/showthread.php?t=16839)

alexta69 Feb 24, 2012 08:30 AM

Javascript tags seems to be stripped on archive pages but not on post pages
 
Hi,

I'm using the Atahualpa theme and it's been really great so far. I'm having a strange problem though: the archive pages of my blog seem to strip the <script> tags from code that is embedded in the post, causing it to display as part of the post. The post pages are OK though. Am I doing anything wrong?
Here's an example. An archive page with the Javascript showing:
http://www.hectic.net/2010/03/
And the only post on that page, when viewed directly, is showing OK:
http://www.hectic.net/2010/03/25/yucatan-mexico-2007/

Thanks a lot in advance for your help!
Regards,
--Alex

lmilesw Feb 24, 2012 08:45 AM

You have to tell WordPress not to strip the tags in excerpts by putting the <script> tag in the Don't strip these tags box in the Configure Excerpts section of the theme options.


All times are GMT -6. The time now is 01:56 AM.

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