<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Anay Kamat's Weblog &#187; php</title>
	<atom:link href="http://anaykamat.com/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://anaykamat.com</link>
	<description>Technology, Programming, Career, Fun, Friends And Thoughts</description>
	<lastBuildDate>Fri, 26 Nov 2010 08:02:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Fixing SyntaxHighligher plugin in WordPress Blass2 theme</title>
		<link>http://anaykamat.com/2009/08/06/fixing-syntaxhighligher-plugin-in-wordpress-blass2-theme/</link>
		<comments>http://anaykamat.com/2009/08/06/fixing-syntaxhighligher-plugin-in-wordpress-blass2-theme/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 15:47:15 +0000</pubDate>
		<dc:creator>Anay</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://anaykamat.com/?p=76</guid>
		<description><![CDATA[Yesterday I installed and activated Blass2 theme for this blog. I liked this theme as it was very simple and free from any extra graphics. After installing the theme, I discovered that &#8220;SyntaxHighlighter Evolved&#8221; plugin which I use to display code segments, was not working. I searched for other themes which are similar to blass2 [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I installed and activated Blass2 theme for this blog. I liked this theme as it was very simple and free from any extra graphics. After installing the theme, I discovered that &#8220;<a href="http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/" target="_blank">SyntaxHighlighter Evolved</a>&#8221; plugin which I use to display code segments, was not working. I searched for other themes which are similar to blass2 and can run syntaxhighlighter plugin, but couldn&#8217;t find anything better. Finally, this is how I fixed it.</p>
<p>To fix it, I had to edit &#8216;footer.php&#8217; of Blass2 theme using inbuilt theme editor of WordPress (Appearance &gt; Editor). The original &#8216;footer.php&#8217; looked like this:</p>
<pre class="brush: php;">
&lt;div id=&quot;footer&quot;&gt;

 &lt;p&gt;&amp;copy; &lt;?php echo date(&quot;Y&quot;)?&gt; &lt;!-- Please leave this line intact --&gt;&lt;?php if (is_home()) : ?&gt;&lt;?php bloginfo('name'); ?&gt; | Theme &lt;a href=&quot;http://1000ff.de/wordpress-theme-blass-english-version/&quot;&gt;Blass&lt;/a&gt; by &lt;a href=&quot;http://1000ff.de/&quot;&gt;1000ff&lt;/a&gt;&lt;?php else : ?&gt;Theme Blass by 1000ff&lt;?php endif; ?&gt; | Powered by &lt;a href=&quot;http://wordpress.org/&quot;&gt;WordPress&lt;/a&gt;&lt;/p&gt;

&lt;/div&gt;</pre>
<p>To fix the plugin, you need to add a call to &#8216;wp_footer&#8217; function in &#8216;footer.php&#8217;.</p>
<pre class="brush: php;">
&lt;div id=&quot;footer&quot;&gt;

 &lt;p&gt;&amp;copy; &lt;?php echo date(&quot;Y&quot;)?&gt; &lt;!-- Please leave this line intact --&gt;&lt;?php if (is_home()) : ?&gt;&lt;?php bloginfo('name'); ?&gt; | Theme &lt;a href=&quot;http://1000ff.de/wordpress-theme-blass-english-version/&quot;&gt;Blass&lt;/a&gt; by &lt;a href=&quot;http://1000ff.de/&quot;&gt;1000ff&lt;/a&gt;&lt;?php else : ?&gt;Theme Blass by 1000ff&lt;?php endif; ?&gt; | Powered by &lt;a href=&quot;http://wordpress.org/&quot;&gt;WordPress&lt;/a&gt;&lt;/p&gt;
&lt;?php wp_footer() ?&gt;
&lt;/div&gt;</pre>
<p>After making this change, syntaxhighlighter plugin started working again.</p>
]]></content:encoded>
			<wfw:commentRss>http://anaykamat.com/2009/08/06/fixing-syntaxhighligher-plugin-in-wordpress-blass2-theme/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

