<?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>Stiern.com &#187; Wordpress</title> <atom:link href="http://stiern.com/category/tutorials/wordpress/feed" rel="self" type="application/rss+xml" /><link>http://stiern.com</link> <description>Web design, graphic design, Photoshop, CSS, etc</description> <lastBuildDate>Sat, 28 Aug 2010 15:07:45 +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>Changing the Size of the Avatar in WordPress 2.7</title><link>http://stiern.com/tutorials/changing-the-size-of-the-avatar-in-wordpress-27</link> <comments>http://stiern.com/tutorials/changing-the-size-of-the-avatar-in-wordpress-27#comments</comments> <pubDate>Wed, 07 Jan 2009 11:45:03 +0000</pubDate> <dc:creator>Peter</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[Avatar]]></category> <category><![CDATA[Comments]]></category><guid
isPermaLink="false">http://stiern.com/?p=159</guid> <description><![CDATA[The default size of an avatar is 32x32px, which I think is a bit small. Therefore, I&#8217;d like to change it to 60x60px instead. But back in the good ol&#8217; 2.6 days, and of course also earlier, changing the size of an avatar (the little picture shown e.g. in comments) was a pain. Now, with [...]]]></description> <content:encoded><![CDATA[<p>The default size of an avatar is 32x32px, which I think is a bit small. Therefore, I&#8217;d like to change it to 60x60px instead. But back in the good ol&#8217; 2.6 days, and of course also earlier, changing the size of an avatar (the little picture shown e.g. in comments) was a pain. Now, with WordPress 2.7 it&#8217;s easier than ever!</p><p><span
id="more-159"></span></p><p>And while we&#8217;re at it, remember to get yourself a <a
href="http://gravatar.com/" title="Gravatar">gravatar</a>.</p><p>In your theme, open the comments.php and look for the following code:</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_comments<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div><p>This simple line of code has a massive amount of options available. If you want to learn more about them, head over to the <a
title="Wordpress Codex - wp_list_comments" href="http://codex.wordpress.org/Template_Tags/wp_list_comments">WordPress Codex pages</a> and check them out. For now, we&#8217;ll just concentrate on changing the size of the avatar.</p><p>The way we can do this, is simply by adding some text inside the function, like this:</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> wp_list_comments<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'avatar_size=60'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div><p>After that… No, actually there is no after that! By doing this, the avatar&#8217;s size will be changed to 60px.</p><p>Related posts:<ol><li><a
href='http://stiern.com/tutorials/no-more-invalid-rss' rel='bookmark' title='Permanent Link: No More Invalid RSS'>No More Invalid RSS</a></li><li><a
href='http://stiern.com/articles/css3-is-not-freaking-html5' rel='bookmark' title='Permanent Link: CSS3 is Not Freaking HTML5'>CSS3 is Not Freaking HTML5</a></li><li><a
href='http://stiern.com/tutorials/adding-custom-google-maps-to-your-website' rel='bookmark' title='Permanent Link: Adding Custom Google Maps to Your Website'>Adding Custom Google Maps to Your Website</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://stiern.com/tutorials/changing-the-size-of-the-avatar-in-wordpress-27/feed</wfw:commentRss> <slash:comments>18</slash:comments> </item> <item><title>No More Invalid RSS</title><link>http://stiern.com/tutorials/no-more-invalid-rss</link> <comments>http://stiern.com/tutorials/no-more-invalid-rss#comments</comments> <pubDate>Sun, 04 Jan 2009 00:27:37 +0000</pubDate> <dc:creator>Peter</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[RSS]]></category><guid
isPermaLink="false">http://stiern.com/?p=147</guid> <description><![CDATA[When I made this site, I spend hours figuring out why my feed wasn&#8217;t working. There are several examples in the WordPress Support Forums telling, that feeds aren&#8217;t working because of a blank line in the beginning of the feed before the XML declaration. Some feedreaders have no problem with this, but Feedburner does. And [...]]]></description> <content:encoded><![CDATA[<p>When I made this site, I spend hours figuring out why my feed wasn&#8217;t working. There are several examples in the WordPress Support Forums telling, that feeds aren&#8217;t working because of a blank line in the beginning of the feed before the XML declaration. Some feedreaders have no problem with this, but <a
title="feedburner" href="http://feedburner.com/">Feedburner</a> does. And Feedburner is very important.</p><p><span
id="more-147"></span></p><p>Well, let&#8217;s get to it! The fix was found at <a
title="Wejn.org" href="http://wejn.org/">Wejn.org</a> and is very simple to use. First of all, you need to download the script file, called <a
title="Wejnswpwhitespacefix" href="http://wejn.org/stuff/wejnswpwhitespacefix.php.html">wejnswpwhitespacefix.php</a> and upload it to your blog&#8217;s root (in the same folder as index.php. Then, get your index.php file. It usually looks something like this:</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'WP_USE_THEMES'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009933; font-style: italic;">/** Loads the WordPress Environment and Template */</span>
<span style="color: #b1b100;">require</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'./site/wp-blog-header.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div><p>Now, right before <code>define('WP_USE_THEMES', true);</code>, add <code>include("wejnswpwhitespacefix.php");</code>.</p><p>This will call the script, which removes every character that isn&#8217;t text before the XML declaration in the RSS files, and before the DOCTYPE declaration in the theme files.</p><p>Related posts:<ol><li><a
href='http://stiern.com/stierncom/welcome' rel='bookmark' title='Permanent Link: Welcome to Stiern.com'>Welcome to Stiern.com</a></li><li><a
href='http://stiern.com/tutorials/installing-concrete5-locally-on-mac-os-x' rel='bookmark' title='Permanent Link: Installing Concrete5 locally on Mac OS X'>Installing Concrete5 locally on Mac OS X</a></li><li><a
href='http://stiern.com/tutorials/how-to-use-directions-with-google-maps-api-v3' rel='bookmark' title='Permanent Link: How to Use Directions with Google Maps API V3'>How to Use Directions with Google Maps API V3</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://stiern.com/tutorials/no-more-invalid-rss/feed</wfw:commentRss> <slash:comments>14</slash:comments> </item> </channel> </rss> <br
/> <b>Fatal error</b>:  Cannot redeclare class JSMin in <b>/home/www/stiern.com/site/wp-content/plugins/w3-total-cache/lib/Minify/JSMin.php</b> on line <b>53</b><br
/>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 34/62 queries in 2.856 seconds using disk

Served from: stiern.com @ 2010-09-07 17:43:59 -->