<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>BlueOwlCreative  &#187;  Topic: TEXT BOXES WITH CONTENT</title>
		<atom:link href="http://blueowlcreative.com/support_wp/forums/topic/text-boxes-with-content/feed/" rel="self" type="application/rss+xml" />
		<link>http://blueowlcreative.com/support_wp/forums/topic/text-boxes-with-content/feed/</link>
		<description></description>
		<pubDate>Fri, 17 Jul 2026 14:56:21 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.5.3-5249</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>http://blueowlcreative.com/support_wp/forums/topic/text-boxes-with-content/#post-21877</guid>
					<title><![CDATA[TEXT BOXES WITH CONTENT]]></title>
					<link>http://blueowlcreative.com/support_wp/forums/topic/text-boxes-with-content/#post-21877</link>
					<pubDate>Fri, 20 Mar 2015 10:30:35 +0000</pubDate>
					<dc:creator>abcsrl</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,<br />
i need to insert an image inside the text box with content shortcode</p>
<p>for example<br />
[text_box title="TEXT1" text="TEXT2" margined="yes" no_bgr="no"][button href="" target="_blank" css_classes="button_hilite small_button"]Download[/button][/text_box]</p>
<p>i need image under the TEXT2<br />
pls let me know<br />
ty</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://blueowlcreative.com/support_wp/forums/topic/text-boxes-with-content/#post-21883</guid>
					<title><![CDATA[Reply To: TEXT BOXES WITH CONTENT]]></title>
					<link>http://blueowlcreative.com/support_wp/forums/topic/text-boxes-with-content/#post-21883</link>
					<pubDate>Mon, 23 Mar 2015 14:16:47 +0000</pubDate>
					<dc:creator>BlueOwl</dc:creator>

					<description>
						<![CDATA[
						<p>Ok, you can pass the url of the image to another param like so:</p>
<p>[text_box title="TEXT1" text="TEXT2" img_url="URL_HERE" margined="yes" no_bgr="no"][button href="" target="_blank" css_classes="button_hilite small_button"]Download[/button][/text_box]</p>
<p>Then in the shortcode (includes/shortcodes.php) generate that image in the output:</p>
<pre><code>function shortcode_text_box( $atts, $content = null ) {
	
	$atts = shortcode_atts(
		array(
			&#039;title&#039; 			=&gt; &#039;&#039;,
                        &#039;img_url&#039;   =&gt; &#039;&#039;, 
			&#039;text&#039; 				=&gt; &#039;&#039;,
			&#039;margined&#039;			=&gt; &#039;yes&#039;,
			&#039;no_bgr&#039;			=&gt; &#039;no&#039;
		), $atts);
		
	$margin = (($atts[&quot;margined&quot;]==&#039;yes&#039;)||($atts[&quot;margined&quot;]==&#039;Yes&#039;)) ? &quot;&quot; : &#039;no_mar&#039;;
	$no_bgr = (($atts[&quot;no_bgr&quot;]==&#039;yes&#039;)||($atts[&quot;no_bgr&quot;]==&#039;Yes&#039;)) ? &#039;box_no_bgr&#039; : &#039;&#039;;
	
	$title = $atts[&#039;title&#039;];
	$text = $atts[&#039;text&#039;];
        $img = $atts[&#039;img_url&#039;] ? &quot;&lt;img src=&#039;&quot;.$atts[&#039;img_url&#039;].&quot;&#039;&gt;&quot; : &quot;&quot;;

	$str  = &#039;	&lt;div class=&quot;text_box &#039;.$margin.&#039; &#039;.$no_bgr.&#039;&quot;&gt;
					&#039;.do_shortcode_boc($content).&#039;
					&lt;h2&gt;&#039;.$title.&#039;&lt;/h2&gt;
                                        &#039;.$img.&#039;
					&lt;p&gt;&#039;.$text.&#039;&lt;/p&gt;
				&lt;/div&gt;&#039;;

	return $str;
}
</code></pre>
<p>You could then style that with CSS. <img src="http://blueowlcreative.com/support_wp/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /> </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://blueowlcreative.com/support_wp/forums/topic/text-boxes-with-content/#post-21885</guid>
					<title><![CDATA[Reply To: TEXT BOXES WITH CONTENT]]></title>
					<link>http://blueowlcreative.com/support_wp/forums/topic/text-boxes-with-content/#post-21885</link>
					<pubDate>Mon, 23 Mar 2015 15:38:20 +0000</pubDate>
					<dc:creator>abcsrl</dc:creator>

					<description>
						<![CDATA[
						This reply has been marked as private.						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

