<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>THE MOLITOR FORUMS &#187; Topic: theme is wrapping all the scripts in paragraph tags</title>
		<link>http://www.themolitor.com/forums/topic/theme-is-wrapping-all-the-scripts-in-paragraph-tags</link>
		<description>THE MOLITOR FORUMS &#187; Topic: theme is wrapping all the scripts in paragraph tags</description>
		<language>en-US</language>
		<pubDate>Tue, 28 Apr 2026 12:57:44 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.themolitor.com/forums/search.php</link>
		</textInput>
		<atom:link href="http://www.themolitor.com/forums/rss/topic/theme-is-wrapping-all-the-scripts-in-paragraph-tags" rel="self" type="application/rss+xml" />

		<item>
			<title>THE MOLITOR on "theme is wrapping all the scripts in paragraph tags"</title>
			<link>http://www.themolitor.com/forums/topic/theme-is-wrapping-all-the-scripts-in-paragraph-tags#post-22770</link>
			<pubDate>Mon, 26 Aug 2013 10:19:55 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">22770@http://www.themolitor.com/forums/</guid>
			<description><p>You bet :-)</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>darthgunner on "theme is wrapping all the scripts in paragraph tags"</title>
			<link>http://www.themolitor.com/forums/topic/theme-is-wrapping-all-the-scripts-in-paragraph-tags#post-22745</link>
			<pubDate>Mon, 26 Aug 2013 05:34:33 +0000</pubDate>
			<dc:creator>darthgunner</dc:creator>
			<guid isPermaLink="false">22745@http://www.themolitor.com/forums/</guid>
			<description><p>Thank you Chris I will try to resolve this with the plugin developers then; I appreciate your time.
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "theme is wrapping all the scripts in paragraph tags"</title>
			<link>http://www.themolitor.com/forums/topic/theme-is-wrapping-all-the-scripts-in-paragraph-tags#post-22690</link>
			<pubDate>Wed, 21 Aug 2013 12:15:49 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">22690@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>The theme is addressing an issue with shortcodes (in general) where p tags are added before/after shortcodes. The method used is a popular approach and doesn't do anything via JavaScript or the like. It's all achieved on lines 12-63 in the functions.php file.</p>
<p>Any errors that appear are not generated by the theme, but are a result of using a plugin. Unfortunately I'm not able to troubleshoot issues with other plugins. I'm not sure what the conflict ultimately is as the code is just addressing an issue with adding p tags where they shouldn't be.</p>
<p>You can try removing that block in the functions.php file, but it will affect the built-in shortcodes of the theme.</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>darthgunner on "theme is wrapping all the scripts in paragraph tags"</title>
			<link>http://www.themolitor.com/forums/topic/theme-is-wrapping-all-the-scripts-in-paragraph-tags#post-22683</link>
			<pubDate>Tue, 20 Aug 2013 22:14:26 +0000</pubDate>
			<dc:creator>darthgunner</dc:creator>
			<guid isPermaLink="false">22683@http://www.themolitor.com/forums/</guid>
			<description><p>Hello, I would like to start by saying that I am a big fan of your theme!</p>
<p>I am currently having some issues on my site <a href="http://www.sfbig.dreamhosters.com" rel="nofollow">http://www.sfbig.dreamhosters.com</a> primarily with shortcodes displaying on the front-page, events, and account pages.</p>
<p>I already contacted support from the Event Espresso plugin I am utilizing, and this was his response...</p>
<p>"You have at least two javascript errors coming up and it’s not even getting to the calendar. It looks like the theme is wrapping all the scripts in paragraph tags essentially breaking the scripts.<br />
You could try wrapping your javascript based shortcodes (the calendar and the video player) in [raw][/raw] tags but thats hit and miss, and doesnt resolve the root issue.<br />
Basically the theme has modified the way WordPress formats content, and as such it is affecting scripts. You can examine your theme, generally the functions.php file, for something that looks similar to this <a href="http://www.wprecipes.com/disable-wordpress-automatic-formatting-on-posts-using-a-shortcode" rel="nofollow">http://www.wprecipes.com/disable-wordpress-automatic-formatting-on-posts-using-a-shortcode</a> and either remove it or comment it out.<br />
If you are not 100% confident with doing this I would refer back to the theme developer."</p>
<p>.....</p>
<p>I tried using both, the [raw][/raw] tag and found, and found and removed the suggest text in the functions.php file. Both somewhat resolved the issue, but I would like to resolve at the root so I am not dealing with this on the regular.</p>
<p>Please let me know if there is a fix for this. Thank you!
</p></description>
		</item>

	</channel>
</rss>
