<?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: Adding a new shortcode</title>
		<link>http://www.kriesi.at/support/topic/adding-a-new-shortcode</link>
		<description>Support Forum - Topic: Adding a new shortcode</description>
		<language>en-US</language>
		<pubDate>Thu, 23 May 2013 16:40:32 +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/adding-a-new-shortcode" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "Adding a new shortcode"</title>
			<link>http://www.kriesi.at/support/topic/adding-a-new-shortcode#post-19938</link>
			<pubDate>Thu, 26 May 2011 21:15:15 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">19938@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Glad that it works now :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>AirRocker on "Adding a new shortcode"</title>
			<link>http://www.kriesi.at/support/topic/adding-a-new-shortcode#post-19932</link>
			<pubDate>Thu, 26 May 2011 21:07:40 +0000</pubDate>
			<dc:creator>AirRocker</dc:creator>
			<guid isPermaLink="false">19932@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hmm.  After adding both lines in (what Dude suggested and the line I had), it started working all the sudden.  Thanks for the above and beyond help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>AirRocker on "Adding a new shortcode"</title>
			<link>http://www.kriesi.at/support/topic/adding-a-new-shortcode#post-19814</link>
			<pubDate>Wed, 25 May 2011 06:05:12 +0000</pubDate>
			<dc:creator>AirRocker</dc:creator>
			<guid isPermaLink="false">19814@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Dude,&#60;/p&#62;
&#60;p&#62;Thanks for the reply.  I tried adding that to the functions.php but still no change.  On the other themes I tested, I only had to insert the &#34;facebook-like.php&#34; file into the main theme folder and then add this to functions.php:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;/* Add a call to the Facebook Like File */&#60;br /&#62;
if (file_exists(TEMPLATEPATH. '/facebook-like.php')) include_once(TEMPLATEPATH. '/facebook-like.php');&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I also noticed that your functions.php file is not closed.  Is this intentional?  &#60;/p&#62;
&#60;p&#62;Thanks for your help.  I really hope we can get this figured out so I can get this added.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Adding a new shortcode"</title>
			<link>http://www.kriesi.at/support/topic/adding-a-new-shortcode#post-19800</link>
			<pubDate>Wed, 25 May 2011 05:20:38 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">19800@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey,&#60;br /&#62;
have you add following code to functions.php:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;#39;widget_text&#38;#39;, &#38;#39;do_shortcode&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;- otherwise the shortcodes will be ignored by wp.&#60;/p&#62;
&#60;p&#62;More information can be found here: &#60;a href=&#34;http://englishmike.net/2008/07/07/wordpress-quick-tips-3adding-a-shortcode-to-a-sidebar-widget/&#34; rel=&#34;nofollow&#34;&#62;http://englishmike.net/2008/07/07/wordpress-quick-tips-3adding-a-shortcode-to-a-sidebar-widget/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>AirRocker on "Adding a new shortcode"</title>
			<link>http://www.kriesi.at/support/topic/adding-a-new-shortcode#post-19792</link>
			<pubDate>Wed, 25 May 2011 02:57:56 +0000</pubDate>
			<dc:creator>AirRocker</dc:creator>
			<guid isPermaLink="false">19792@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I know that support is going to be limited on this since it doesn't directly involve your theme... but I'm hoping for a little help here.&#60;/p&#62;
&#60;p&#62;I came across a site tonight that tells how to quickly and easily add a Twitter share button and Facebook like and send buttons onto your wordpress site.  You insert their PHP file into your main theme folder, add a call line into the theme's functions.php file, and then insert a shortcode into the sidebar.  Problem is, I don't think this file is getting called properly in the functions.php file because the shortcode is just being displayed as text in the sidebar.  &#60;/p&#62;
&#60;p&#62;I have tested this with three other themes though and it works flawlessly.  I'm only having trouble with Avisio.  I think there's something weird/different with the way the functions.php file of this theme works.  Any help would be greatly appreciated.  Here's a link to the site with the instructions and the file:  &#60;a href=&#34;http://digitalraindrops.net/2011/04/facebook-like-and-send/&#34; rel=&#34;nofollow&#34;&#62;http://digitalraindrops.net/2011/04/facebook-like-and-send/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
