<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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>Support Forum - Topic: twitter variable</title>
		<link>http://www.kriesi.at/support/topic/twitter-variable</link>
		<description>Support Forum - Topic: twitter variable</description>
		<language>en-US</language>
		<pubDate>Thu, 23 May 2013 13:15:48 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/twitter-variable" rel="self" type="application/rss+xml" />

		<item>
			<title>Mya on "twitter variable"</title>
			<link>http://www.kriesi.at/support/topic/twitter-variable#post-73462</link>
			<pubDate>Wed, 29 Aug 2012 12:40:00 +0000</pubDate>
			<dc:creator>Mya</dc:creator>
			<guid isPermaLink="false">73462@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Kevin,&#60;/p&#62;
&#60;p&#62;Glad Dude was able to help you! We'll pass the feature request along to Kriesi.&#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Mya
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kbunt on "twitter variable"</title>
			<link>http://www.kriesi.at/support/topic/twitter-variable#post-73253</link>
			<pubDate>Tue, 28 Aug 2012 13:47:14 +0000</pubDate>
			<dc:creator>kbunt</dc:creator>
			<guid isPermaLink="false">73253@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Thanks so much! This worked perfectly Dude. &#60;/p&#62;
&#60;p&#62;I've used this to build a scrolling twitter feed in the banner text area of the theme. &#60;a href=&#34;http://icrf.bunt.ca/&#34; rel=&#34;nofollow&#34;&#62;http://icrf.bunt.ca/&#60;/a&#62;&#60;br /&#62;
It is by no means as elegant as the theme or existing options, merely fulfills a request. I've shared the commented code here: &#60;a href=&#34;http://icrf.bunt.ca/twitter3.zip&#34; rel=&#34;nofollow&#34;&#62;http://icrf.bunt.ca/twitter3.zip&#60;/a&#62;. &#60;/p&#62;
&#60;p&#62;Since I develop child themes, the function file in the child theme uses the avia_frontend_js function to register the jquery.cycle.all.js plugin (and echo the settings).&#60;/p&#62;
&#60;p&#62;I am wondering if this is something that may be added as a &#60;strong&#62;feature request? The ability to show Twitter and Facebook feeds at the top.&#60;/strong&#62; My script does not use the avia_banner function and therefore does not have the ability to collapse the infotext div and save the user's choice in a cookie.&#60;/p&#62;
&#60;p&#62;Thanks again!&#60;br /&#62;
Kevin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "twitter variable"</title>
			<link>http://www.kriesi.at/support/topic/twitter-variable#post-73181</link>
			<pubDate>Tue, 28 Aug 2012 06:17:36 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">73181@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Following code should work:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$icons = avia_get_option(&#38;#39;social_icons&#38;#39;);
	 if (!empty($icons))
	 {
		 foreach ($icons as $icon) {
		 	if( $icon[&#38;#39;social_icon&#38;#39;] == &#38;#39;twitter&#38;#39;)
		 	{
		 		$link = $icon[&#38;#39;social_icon_link&#38;#39;];
		 		$linkparts = parse_url($link);
		 		$username = substr($linkparts[&#38;#39;path&#38;#39;],1);
		 		break;
		 	}
		 }
	}

	 if (!empty($username))
	 {
	 	echo $username;
	 }&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>kbunt on "twitter variable"</title>
			<link>http://www.kriesi.at/support/topic/twitter-variable#post-73167</link>
			<pubDate>Tue, 28 Aug 2012 04:00:08 +0000</pubDate>
			<dc:creator>kbunt</dc:creator>
			<guid isPermaLink="false">73167@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Wondering if anyone knows if there is a variable for a twitter username? e.g. $twitter_username&#60;br /&#62;
I am trying to pull the value into a simple script with the following method but the value isn't correct.&#60;br /&#62;
&#60;code&#62;&#38;lt;a id=&#38;quot;twittericon&#38;quot; target=&#38;quot;_blank&#38;quot; href=&#38;quot;http://twitter.com/&#38;lt;?php echo avia_get_option(&#38;#39;twitter&#38;#39;); ?&#38;gt;&#38;quot;&#38;gt;Twitter User&#38;lt;/a&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I think with the Choices theme the entire URL is used? But can't figure out how to break it out so I can use it in other places and not add an extra option to the GUI e.g. $username = avia_get_option('twitter');&#60;/p&#62;
&#60;p&#62;Thanks for any input!&#60;br /&#62;
Kevin
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
