<?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>Pods Framework for WordPress  &#187;  Topic: Question of incorporaring PHO inside of Shortcode</title>
		<atom:link href="http://podsframework.org/forums/topic/question-of-incorporaring-pho-inside-of-shortcode/feed/" rel="self" type="application/rss+xml" />
		<link>http://podsframework.org/forums/topic/question-of-incorporaring-pho-inside-of-shortcode/feed/</link>
		<description></description>
		<pubDate>Sat, 18 May 2013 19:37:42 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.3.2</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>http://podsframework.org/forums/topic/question-of-incorporaring-pho-inside-of-shortcode/#post-167703</guid>
					<title><![CDATA[Question of incorporaring PHO inside of Shortcode]]></title>
					<link>http://podsframework.org/forums/topic/question-of-incorporaring-pho-inside-of-shortcode/#post-167703</link>
					<pubDate>Wed, 18 Apr 2012 18:16:24 +0000</pubDate>
					<dc:creator>databell</dc:creator>

					<description>
						<![CDATA[
						<p>King of confusing but I&#8217;m trying to integrate another plugin&#8217;s shortcode inside of my client&#8217;s pods. The plugin i question is GigPress to display our dates. The idea is to use either their shortcode or widget code to display dates for one artst in the roster. So I have in my Artists&#8217; pod a text field called gigs which related to the GigPress gig ID number. In this case&#8230;1. So here&#8217;s how it would work hard coded:</p>

<link rel="stylesheet" type="text/css" href="http://podsframework.org/wp-content/blogs.dir/7/files/crayon-syntax-highlighter/themes/pods/pods.css" />
<link rel="stylesheet" type="text/css" href="http://podsframework.org/wp-content/plugins/crayon-syntax-highlighter/fonts/monaco.css" />

		<div id="crayon-51981ed68fedc" class="crayon-syntax crayon-theme-pods crayon-font-monaco crayon-os-pc print-yes" data-settings=" no-popup scroll-mouseover wrap" style=" margin-top: 12px; margin-bottom: 12px; float: none; clear: both; font-size: 13px !important; line-height: 16.25px !important;">
		
			<div class="crayon-toolbar" data-settings=" show" style="height: 19.5px !important; line-height: 19.5px !important;">
			<div class="crayon-tools"><a class="crayon-copy-button crayon-button" data-text="Press %s to Copy, %s to Paste" title="Copy Plain Code"></a><a class="crayon-plain-button crayon-button" title="Toggle Plain Code"></a><span class="crayon-language">PHP</span></div></div>
			<div class="crayon-info" style="min-height: 16.25px !important; line-height: 16.25px !important;"></div>
			<div class="crayon-plain-wrap"><textarea  class="crayon-plain print-no" data-settings="" readonly style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 13px !important; line-height: 16.25px !important;">
&lt;?php echo do_shortcode('[gigpress_shows scope=upcoming artist=1 limit=3]'); ?&gt;</textarea></div>
			<div class="crayon-main" style="">
				<table class="crayon-table">
					<tr class="crayon-row">
				<td class="crayon-nums " data-settings="show" style="font-size: 13px !important; line-height: 16.25px !important;">
					<div class="crayon-nums-content"><div class="crayon-num" data-line="crayon-51981ed68fedc-1">1</div></div>
				</td>
						<td class="crayon-code"><div class="crayon-pre" style="font-size: 13px !important; line-height: 16.25px !important;"><div class="crayon-line" id="crayon-51981ed68fedc-1"><span class="ta">&lt;?php</span><span class="h"> </span><span class="k ">echo</span><span class="h"> </span><span class="e">do_shortcode</span><span class="sy">(</span><span class="s">'[gigpress_shows scope=upcoming artist=1 limit=3]'</span><span class="sy">)</span><span class="sy">;</span><span class="h"> </span><span class="ta">?&gt;</span></div></div></td>
					</tr>
				</table>
			</div>
		</div>


<p>So that&#8217;s OK but what about dynamically changing that ID to display the variable I have assigned in my pod&#8217;s field? So I tried this:</p>

<link rel="stylesheet" type="text/css" href="http://podsframework.org/wp-content/blogs.dir/7/files/crayon-syntax-highlighter/themes/pods/pods.css" />
<link rel="stylesheet" type="text/css" href="http://podsframework.org/wp-content/plugins/crayon-syntax-highlighter/fonts/monaco.css" />

		<div id="crayon-51981ed692e77" class="crayon-syntax crayon-theme-pods crayon-font-monaco crayon-os-pc print-yes" data-settings=" no-popup scroll-mouseover wrap" style=" margin-top: 12px; margin-bottom: 12px; float: none; clear: both; font-size: 13px !important; line-height: 16.25px !important;">
		
			<div class="crayon-toolbar" data-settings=" show" style="height: 19.5px !important; line-height: 19.5px !important;">
			<div class="crayon-tools"><a class="crayon-copy-button crayon-button" data-text="Press %s to Copy, %s to Paste" title="Copy Plain Code"></a><a class="crayon-plain-button crayon-button" title="Toggle Plain Code"></a><span class="crayon-language">PHP</span></div></div>
			<div class="crayon-info" style="min-height: 16.25px !important; line-height: 16.25px !important;"></div>
			<div class="crayon-plain-wrap"><textarea  class="crayon-plain print-no" data-settings="" readonly style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 13px !important; line-height: 16.25px !important;">
&lt;?php echo do_shortcode('[gigpress_shows scope=upcoming artist=&lt;?php echo $artists_gigs; ?&gt; limit=3]'); ?&gt;</textarea></div>
			<div class="crayon-main" style="">
				<table class="crayon-table">
					<tr class="crayon-row">
				<td class="crayon-nums " data-settings="show" style="font-size: 13px !important; line-height: 16.25px !important;">
					<div class="crayon-nums-content"><div class="crayon-num" data-line="crayon-51981ed692e77-1">1</div></div>
				</td>
						<td class="crayon-code"><div class="crayon-pre" style="font-size: 13px !important; line-height: 16.25px !important;"><div class="crayon-line" id="crayon-51981ed692e77-1"><span class="ta">&lt;?php</span><span class="h"> </span><span class="k ">echo</span><span class="h"> </span><span class="i">do_shortcode</span><span class="sy">(</span>'<span class="sy">[</span><span class="e">gigpress_shows </span><span class="i">scope</span><span class="o">=</span><span class="e">upcoming </span><span class="i">artist</span><span class="o">=</span><span class="ta">&lt;?php</span><span class="h"> </span><span class="k ">echo</span><span class="h"> </span><span class="v">$artists_gigs</span><span class="sy">;</span><span class="h"> </span><span class="ta">?&gt;</span><span class="h"> </span><span class="i">limit</span><span class="o">=</span><span class="cn">3</span><span class="sy">]</span>'<span class="sy">)</span><span class="sy">;</span><span class="h"> </span><span class="ta">?&gt;</span></div></div></td>
					</tr>
				</table>
			</div>
		</div>


<p>That just protrudes blanks. No dates at all.So how would I embed this. Or can I?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://podsframework.org/forums/topic/question-of-incorporaring-pho-inside-of-shortcode/#post-167704</guid>
					<title><![CDATA[Re: Question of incorporaring PHO inside of Shortcode]]></title>
					<link>http://podsframework.org/forums/topic/question-of-incorporaring-pho-inside-of-shortcode/#post-167704</link>
					<pubDate>Wed, 18 Apr 2012 18:22:12 +0000</pubDate>
					<dc:creator>sc0ttkclark</dc:creator>

					<description>
						<![CDATA[
						<p>Oops, you&#8217;ve got it a bit wrong but it&#8217;s a simple fix.</p>

<link rel="stylesheet" type="text/css" href="http://podsframework.org/wp-content/blogs.dir/7/files/crayon-syntax-highlighter/themes/pods/pods.css" />
<link rel="stylesheet" type="text/css" href="http://podsframework.org/wp-content/plugins/crayon-syntax-highlighter/fonts/monaco.css" />

		<div id="crayon-51981ed69732b" class="crayon-syntax crayon-theme-pods crayon-font-monaco crayon-os-pc print-yes" data-settings=" no-popup scroll-mouseover wrap" style=" margin-top: 12px; margin-bottom: 12px; float: none; clear: both; font-size: 13px !important; line-height: 16.25px !important;">
		
			<div class="crayon-toolbar" data-settings=" show" style="height: 19.5px !important; line-height: 19.5px !important;">
			<div class="crayon-tools"><a class="crayon-copy-button crayon-button" data-text="Press %s to Copy, %s to Paste" title="Copy Plain Code"></a><a class="crayon-plain-button crayon-button" title="Toggle Plain Code"></a><span class="crayon-language">PHP</span></div></div>
			<div class="crayon-info" style="min-height: 16.25px !important; line-height: 16.25px !important;"></div>
			<div class="crayon-plain-wrap"><textarea  class="crayon-plain print-no" data-settings="" readonly style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 13px !important; line-height: 16.25px !important;">
&lt;?php echo do_shortcode('[gigpress_shows scope=&amp;quot;upcoming&amp;quot; artist=&amp;quot;' . $artists_gigs . '&amp;quot; limit=&amp;quot;3&amp;quot;]'); ?&gt;</textarea></div>
			<div class="crayon-main" style="">
				<table class="crayon-table">
					<tr class="crayon-row">
				<td class="crayon-nums " data-settings="show" style="font-size: 13px !important; line-height: 16.25px !important;">
					<div class="crayon-nums-content"><div class="crayon-num" data-line="crayon-51981ed69732b-1">1</div></div>
				</td>
						<td class="crayon-code"><div class="crayon-pre" style="font-size: 13px !important; line-height: 16.25px !important;"><div class="crayon-line" id="crayon-51981ed69732b-1"><span class="ta">&lt;?php</span><span class="h"> </span><span class="k ">echo</span><span class="h"> </span><span class="e">do_shortcode</span><span class="sy">(</span><span class="s">'[gigpress_shows scope=&amp;quot;upcoming&amp;quot; artist=&amp;quot;'</span><span class="h"> </span><span class="sy">.</span><span class="h"> </span><span class="v">$artists_gigs</span><span class="h"> </span><span class="sy">.</span><span class="h"> </span><span class="s">'&amp;quot; limit=&amp;quot;3&amp;quot;]'</span><span class="sy">)</span><span class="sy">;</span><span class="h"> </span><span class="ta">?&gt;</span></div></div></td>
					</tr>
				</table>
			</div>
		</div>


						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://podsframework.org/forums/topic/question-of-incorporaring-pho-inside-of-shortcode/#post-167705</guid>
					<title><![CDATA[Re: Question of incorporaring PHO inside of Shortcode]]></title>
					<link>http://podsframework.org/forums/topic/question-of-incorporaring-pho-inside-of-shortcode/#post-167705</link>
					<pubDate>Fri, 20 Apr 2012 08:27:22 +0000</pubDate>
					<dc:creator>databell</dc:creator>

					<description>
						<![CDATA[
						<p>Unfortunately, Scott. That didn&#8217;t work. It should have returned a &#8217;1&#8242; (without the apostrophes, of course) and display dates. Instead it said &#8216;No Shows&quot;&#8230;and I&#8217;m wondering why that would happen. It is possible, it&#8217;s displaying &lt;p&gt;1&lt;/p&gt; instead of just 1? I notice a number of times the pod results incorporate &lt;p&gt; tags which quite frankly, I&#8217;d like to eliminate.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://podsframework.org/forums/topic/question-of-incorporaring-pho-inside-of-shortcode/#post-167706</guid>
					<title><![CDATA[Re: Question of incorporaring PHO inside of Shortcode]]></title>
					<link>http://podsframework.org/forums/topic/question-of-incorporaring-pho-inside-of-shortcode/#post-167706</link>
					<pubDate>Fri, 20 Apr 2012 15:16:47 +0000</pubDate>
					<dc:creator>sc0ttkclark</dc:creator>

					<description>
						<![CDATA[
						<p>If $artists&#95;gigs is not working, try to do a &lt;?php var&#95;dump( $artists&#95;gigs ); ?&gt; which will show you exactly what that value really contains on output.</p>
<p>If it&#8217;s got html in it, just do a &lt;?php $artists&#95;gigs = strip&#95;tags( $artists&#95;gigs ); ?&gt; to take the tags out, and &lt;?php $artists&#95;gigs = (int) $artists&#95;gigs; ?&gt; to force the integer.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://podsframework.org/forums/topic/question-of-incorporaring-pho-inside-of-shortcode/#post-167707</guid>
					<title><![CDATA[Re: Question of incorporaring PHO inside of Shortcode]]></title>
					<link>http://podsframework.org/forums/topic/question-of-incorporaring-pho-inside-of-shortcode/#post-167707</link>
					<pubDate>Fri, 20 Apr 2012 19:42:16 +0000</pubDate>
					<dc:creator>databell</dc:creator>

					<description>
						<![CDATA[
						<p>Interesting I used the dump command and I got this in my code:</p>

<link rel="stylesheet" type="text/css" href="http://podsframework.org/wp-content/blogs.dir/7/files/crayon-syntax-highlighter/themes/pods/pods.css" />
<link rel="stylesheet" type="text/css" href="http://podsframework.org/wp-content/plugins/crayon-syntax-highlighter/fonts/monaco.css" />

		<div id="crayon-51981ed69dc45" class="crayon-syntax crayon-theme-pods crayon-font-monaco crayon-os-pc print-yes" data-settings=" no-popup scroll-mouseover wrap" style=" margin-top: 12px; margin-bottom: 12px; float: none; clear: both; font-size: 13px !important; line-height: 16.25px !important;">
		
			<div class="crayon-toolbar" data-settings=" show" style="height: 19.5px !important; line-height: 19.5px !important;">
			<div class="crayon-tools"><a class="crayon-copy-button crayon-button" data-text="Press %s to Copy, %s to Paste" title="Copy Plain Code"></a><a class="crayon-plain-button crayon-button" title="Toggle Plain Code"></a><span class="crayon-language">PHP</span></div></div>
			<div class="crayon-info" style="min-height: 16.25px !important; line-height: 16.25px !important;"></div>
			<div class="crayon-plain-wrap"><textarea  class="crayon-plain print-no" data-settings="" readonly style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 13px !important; line-height: 16.25px !important;">
string(9) &amp;quot;&lt;p&gt;1&lt;/p&gt;</textarea></div>
			<div class="crayon-main" style="">
				<table class="crayon-table">
					<tr class="crayon-row">
				<td class="crayon-nums " data-settings="show" style="font-size: 13px !important; line-height: 16.25px !important;">
					<div class="crayon-nums-content"><div class="crayon-num" data-line="crayon-51981ed69dc45-1">1</div></div>
				</td>
						<td class="crayon-code"><div class="crayon-pre" style="font-size: 13px !important; line-height: 16.25px !important;"><div class="crayon-line" id="crayon-51981ed69dc45-1"><span class="t">string</span><span class="sy">(</span><span class="cn">9</span><span class="sy">)</span><span class="h"> </span><span class="o">&amp;</span><span class="i">quot</span><span class="sy">;</span><span class="o">&lt;</span><span class="i">p</span><span class="o">&gt;</span><span class="cn">1</span><span class="o">&lt;</span><span class="o">/</span><span class="i">p</span><span class="o">&gt;</span></div></div></td>
					</tr>
				</table>
			</div>
		</div>


<p>&quot;<br />
I&#8217;m going to try the strip&#95;tags code next. Thanks, Scott. If you have an explanation of what the means, let me know. Really curious.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://podsframework.org/forums/topic/question-of-incorporaring-pho-inside-of-shortcode/#post-167708</guid>
					<title><![CDATA[Re: Question of incorporaring PHO inside of Shortcode]]></title>
					<link>http://podsframework.org/forums/topic/question-of-incorporaring-pho-inside-of-shortcode/#post-167708</link>
					<pubDate>Fri, 20 Apr 2012 19:44:17 +0000</pubDate>
					<dc:creator>databell</dc:creator>

					<description>
						<![CDATA[
						<p>OK, I think I got it. This seems to work:</p>

<link rel="stylesheet" type="text/css" href="http://podsframework.org/wp-content/blogs.dir/7/files/crayon-syntax-highlighter/themes/pods/pods.css" />
<link rel="stylesheet" type="text/css" href="http://podsframework.org/wp-content/plugins/crayon-syntax-highlighter/fonts/monaco.css" />

		<div id="crayon-51981ed6a13ad" class="crayon-syntax crayon-theme-pods crayon-font-monaco crayon-os-pc print-yes" data-settings=" no-popup scroll-mouseover wrap" style=" margin-top: 12px; margin-bottom: 12px; float: none; clear: both; font-size: 13px !important; line-height: 16.25px !important;">
		
			<div class="crayon-toolbar" data-settings=" show" style="height: 19.5px !important; line-height: 19.5px !important;">
			<div class="crayon-tools"><a class="crayon-copy-button crayon-button" data-text="Press %s to Copy, %s to Paste" title="Copy Plain Code"></a><a class="crayon-plain-button crayon-button" title="Toggle Plain Code"></a><span class="crayon-language">PHP</span></div></div>
			<div class="crayon-info" style="min-height: 16.25px !important; line-height: 16.25px !important;"></div>
			<div class="crayon-plain-wrap"><textarea  class="crayon-plain print-no" data-settings="" readonly style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 13px !important; line-height: 16.25px !important;">
&lt;?php echo do_shortcode('[gigpress_shows scope=&amp;quot;upcoming&amp;quot; artist=&amp;quot;' . $artists_gigs = strip_tags( $artists_gigs ) . '&amp;quot; limit=&amp;quot;3&amp;quot;]'); ?&gt;</textarea></div>
			<div class="crayon-main" style="">
				<table class="crayon-table">
					<tr class="crayon-row">
				<td class="crayon-nums " data-settings="show" style="font-size: 13px !important; line-height: 16.25px !important;">
					<div class="crayon-nums-content"><div class="crayon-num" data-line="crayon-51981ed6a13ad-1">1</div></div>
				</td>
						<td class="crayon-code"><div class="crayon-pre" style="font-size: 13px !important; line-height: 16.25px !important;"><div class="crayon-line" id="crayon-51981ed6a13ad-1"><span class="ta">&lt;?php</span><span class="h"> </span><span class="k ">echo</span><span class="h"> </span><span class="e">do_shortcode</span><span class="sy">(</span><span class="s">'[gigpress_shows scope=&amp;quot;upcoming&amp;quot; artist=&amp;quot;'</span><span class="h"> </span><span class="sy">.</span><span class="h"> </span><span class="v">$artists_gigs</span><span class="h"> </span><span class="o">=</span><span class="h"> </span><span class="e">strip_tags</span><span class="sy">(</span><span class="h"> </span><span class="v">$artists_gigs</span><span class="h"> </span><span class="sy">)</span><span class="h"> </span><span class="sy">.</span><span class="h"> </span><span class="s">'&amp;quot; limit=&amp;quot;3&amp;quot;]'</span><span class="sy">)</span><span class="sy">;</span><span class="h"> </span><span class="ta">?&gt;</span></div></div></td>
					</tr>
				</table>
			</div>
		</div>


<p>Thanks again, Scott&#8230;for all your help and assistance.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

