<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1-alpha-2539" -->
<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>WordPress.com Forums &#187; Topic: Writing Plugin Shortcode being wrapped by tags</title>
		<link>http://en.forums.wordpress.com/topic/writing-plugin-shortcode-being-wrapped-by-tags</link>
		<description>WordPress.com Forums &#187; Topic: Writing Plugin Shortcode being wrapped by tags</description>
		<language>en</language>
		<pubDate>Sun, 26 May 2013 02:13:45 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1-alpha-2539</generator>
				<atom:link href="http://en.forums.wordpress.com/rss/topic/writing-plugin-shortcode-being-wrapped-by-tags" rel="self" type="application/rss+xml" />

		<item>
			<title>thesacredpath on "Writing Plugin Shortcode being wrapped by tags"</title>
			<link>http://en.forums.wordpress.com/topic/writing-plugin-shortcode-being-wrapped-by-tags#post-679815</link>
			<pubDate>Wed, 24 Aug 2011 21:38:51 +0000</pubDate>
			<dc:creator>thesacredpath</dc:creator>
			<guid isPermaLink="false">679815@http://en.forums.wordpress.com/</guid>
			<description><![CDATA[<p>We cannot do plugins here so we know nothing about them. You need to head over to the <a href="http://wordpress.ORG/support/">WordPress.org forums</a> as that is where self-hosted wordpress blogs using the software from wordpress.ORG are supported.</p>
<p>These forums are for those hosted here on the wordpress.COM free hosting service and things here work differently.</p>
<p>If you are not familiar with the differences, <a href="http://en.support.wordpress.com/com-vs-org/">see this support document</a>.
</p>
]]></description>
					</item>
		<item>
			<title>g18c on "Writing Plugin Shortcode being wrapped by tags"</title>
			<link>http://en.forums.wordpress.com/topic/writing-plugin-shortcode-being-wrapped-by-tags#post-679772</link>
			<pubDate>Wed, 24 Aug 2011 20:50:57 +0000</pubDate>
			<dc:creator>g18c</dc:creator>
			<guid isPermaLink="false">679772@http://en.forums.wordpress.com/</guid>
			<description><![CDATA[<p>Hi i am writing a plugin for a contact form the problem is the shortcode where the form is output is being wrapped by &#60;p&#62; tags.</p>
<p>For instanace, if i have the following in the page content:</p>
<p>[contact_form id="1"]</p>
<p>And for example the plugin snipets are below:</p>
<p><code>&lt;br /&gt;
add_action(&#039;wp_print_styles&#039;,array($this,&#039;Styles&#039;));&lt;br /&gt;
add_action(&#039;wp_print_scripts&#039;,array($this,&#039;Scripts&#039;));&lt;br /&gt;
add_shortcode(&#039;jformer&#039;,  array($this,&#039;jFormerHandler&#039;));&lt;/p&gt;
&lt;p&gt;function jFormerHandler($atts)&lt;br /&gt;
{&lt;br /&gt;
/*extract( shortcode_atts( array( &#039;id&#039; =&gt; &#039;0&#039;,), $atts ) );&lt;br /&gt;
return &quot;jFormer form ID: $id&quot;;&lt;br /&gt;
}&lt;br /&gt;
</code></p>
<p>The HTML output will be wrapped in P tags as below.</p>
<p>This is causing a major problem for elements that i am outputting that are not supports to be wrapped inside inline elements.</p>
<p><code>&lt;br /&gt;
&lt;div class=&quot;entry&quot;&gt;&lt;br /&gt;
&lt;p&gt;jFormer form ID: &lt;/p&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
</code></p>
<p>Could you please advise how i can arrest the output of these tags for my plugin?</p>
<p>Thanks,</p>
<p>Chris
</p>
]]></description>
					</item>

	</channel>
</rss>
