<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Stian Andreassen</title>
	
	<link>http://stianandreassen.com</link>
	<description>I ❤ WordPress</description>
	<lastBuildDate>Thu, 21 Jan 2010 20:59:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/stianandreassen" /><feedburner:info uri="stianandreassen" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license><image><link>http://creativecommons.org/licenses/by-nc-sa/3.0/</link><url>http://creativecommons.org/images/public/somerights20.gif</url><title>Some Rights Reserved</title></image><feedburner:emailServiceId>stianandreassen</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>WordPress Plugin: YouTube SimpleGallery v0.4 beta</title>
		<link>http://feedproxy.google.com/~r/stianandreassen/~3/gc7m6CMqLTk/</link>
		<comments>http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0.4-beta/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 19:20:56 +0000</pubDate>
		<dc:creator>Stian Andreassen</dc:creator>
				<category><![CDATA[My Plugins]]></category>
		<category><![CDATA[featured]]></category>
		<category><![CDATA[Gallery]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://stianandreassen.com/?p=362</guid>
		<description><![CDATA[YouTube SimpleGallery is updated to v0.4. The update fixes some major issues with WP 2.9 compatability.]]></description>
			<content:encoded><![CDATA[<p>A new version of the <a href="http://www.stianandreassen.com/plugins/youtube-simplegallery/">YouTube  Simple Gallery plugin</a> is just released. When WordPress 2.9 was released, it included <a href="http://www.oembed.com/">oEmbed</a> support for – among other things – YouTube videos. A nice feature, for sure, but it spelled trouble for <strong>YouTube SimpleGallery</strong>.</p>
<p><span id="more-362"></span>The oEmbed feature means you can just paste a YouTube URI in your post, and  it will show up as an embedded video on your site. Nifty! But URIs passed to the plugin was thus parsed and output as embedding code, which broke the whole shebang (this bug only occured when using URIs <em>without</em> title/description in front).</p>
<p>The version just released fixes this, so if you&#8217;re running on WP 2.9 or later, you should upgrade <strong>YouTube SimpleGallery</strong>. It also includes a minor fix for YouTube URIs containing double dashes, since WP changes these to ndash.</p>
<p><strong>Thanks to everyone who has reported bugs – it&#8217;s very helpful for further development!</strong> Keep doing so; either in the comments, via <a href="http://stianandreassen.com/contact/">email</a>, or in the <a href="http://wordpress.org/tags/youtube-simplegallery?forum_id=10">WordPress Forum</a>.</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-bg-sexy">
<ul class="socials">
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0.4-beta/&amp;t=WordPress+Plugin%3A+YouTube+SimpleGallery+v0.4+beta" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=WordPress+Plugin%3A+YouTube+SimpleGallery+v0.4+beta+-+http://b2l.me/ebret+(via+@WPwizardnet)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0.4-beta/&amp;title=WordPress+Plugin%3A+YouTube+SimpleGallery+v0.4+beta" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0.4-beta/&amp;title=WordPress+Plugin%3A+YouTube+SimpleGallery+v0.4+beta" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-reddit">
			<a href="http://reddit.com/submit?url=http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0.4-beta/&amp;title=WordPress+Plugin%3A+YouTube+SimpleGallery+v0.4+beta" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0.4-beta/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0.4-beta/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-mail">
			<a href="mailto:?subject=%22WordPress%20Plugin%3A%20YouTube%20SimpleGallery%20v0.4%20beta%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22A%20new%20version%20of%20the%20YouTube%20%20Simple%20Gallery%20plugin%20is%20just%20released.%20When%20WordPress%202.9%20was%20released%2C%20it%20included%20oEmbed%20support%20for%20%E2%80%93%20among%20other%20things%20%E2%80%93%20YouTube%20videos.%20A%20nice%20feature%2C%20for%20sure%2C%20but%20it%20spelled%20trouble%20for%20YouTube%20SimpleGallery.%0D%0A%0D%0AThe%20oEmbed%20feature%20means%20you%20can%20just%20paste%20%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0.4-beta/" rel="nofollow" title="Email this to a friend?">Email this to a friend?</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->


<p><a href="http://feedads.g.doubleclick.net/~a/eC7bowfqLPOogstQ6igaGGeIjFs/0/da"><img src="http://feedads.g.doubleclick.net/~a/eC7bowfqLPOogstQ6igaGGeIjFs/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/eC7bowfqLPOogstQ6igaGGeIjFs/1/da"><img src="http://feedads.g.doubleclick.net/~a/eC7bowfqLPOogstQ6igaGGeIjFs/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/stianandreassen?a=gc7m6CMqLTk:7RF7j3MbXMg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/stianandreassen?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=gc7m6CMqLTk:7RF7j3MbXMg:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=gc7m6CMqLTk:7RF7j3MbXMg:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=gc7m6CMqLTk:7RF7j3MbXMg:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=gc7m6CMqLTk:7RF7j3MbXMg:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=gc7m6CMqLTk:7RF7j3MbXMg:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=gc7m6CMqLTk:7RF7j3MbXMg:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=gc7m6CMqLTk:7RF7j3MbXMg:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/stianandreassen?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=gc7m6CMqLTk:7RF7j3MbXMg:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=gc7m6CMqLTk:7RF7j3MbXMg:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0.4-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0.4-beta/</feedburner:origLink></item>
		<item>
		<title>Setting up a multilingual WordPress site</title>
		<link>http://feedproxy.google.com/~r/stianandreassen/~3/BpG45hUyEd0/</link>
		<comments>http://stianandreassen.com/customizing-wordpress/setting-up-a-multilingual-wordpress-site/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 13:25:40 +0000</pubDate>
		<dc:creator>Stian Andreassen</dc:creator>
				<category><![CDATA[Customizing WordPress]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[featured]]></category>
		<category><![CDATA[languages]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://stianandreassen.com/?p=316</guid>
		<description><![CDATA[With just a simple Template and script in place of wp_list_pages(), you can make multilingual WordPress sites.]]></description>
			<content:encoded><![CDATA[<p>I often have clients who need a <strong>multilingual website</strong>. This isn&#8217;t plug &amp; play when it comes to WordPress (though rumor has it WP 3.0 will support multiple sites in one install, which probably will make multilingual WP sites a breeze), but there are sollutions. WordPress’s <strong>Page</strong> system is pretty flexible, and can with just a few moderations be used for multiple languages.</p>
<h3><span id="more-316"></span>How-To:</h3>
<p>First off I add the <a href="http://www.wprecipes.com/wordpress-page-template-to-redirect-to-first-child-page">Redirect To First Child Template</a> to the <strong>Theme</strong>. What this does, is look for the first <strong>Child</strong> of a <strong>Page</strong>, and redirect to it. (To controll which Child is the first, I use the plugin <a href="http://wordpress.org/extend/plugins/my-page-order/">My Page Order</a>.) I then create a Page for each of the languages I want, employing the <strong>Redirect-Template</strong> on them. I then add what is to be the main menu items for each language, and add them as Children of their respective language Page. If the site has any subnavigation, I simply add these as Children to the Child-of-language-Pages. Follow me?</p>
<p>This gives me a rough navigation along the lines of:</p>
<ul>
<li>ENGLISH
<ul>
<li>Main Page</li>
<li>Products</li>
<li>About Us</li>
<li>Contact</li>
</ul>
</li>
<li>GERMAN
<ul>
<li>Startseite</li>
<li>Produkte</li>
<li>Wir über uns</li>
<li>Kontakt</li>
</ul>
</li>
<li>FRENCH
<ul>
<li>Page principale</li>
<li>Produits</li>
<li>A propos de nous</li>
<li>Contact</li>
</ul>
</li>
</ul>
<p>(Apologies for poor translation, if any, had to use Google Translator.)</p>
<p>Then I add the code for the navigation to the <strong>Theme</strong>. We can&#8217;t simply use <code>wp_list_pages()</code> for this, as it will simply output a list like the one above. Instead we use this script where we want our navigation to appear:</p>
<pre class="brush: php; highlight: [40];">
&lt;?php
// CHECK IF WE ARE ON A PAGE
 if(is_page()) {
 $currenttitle = $post-&gt;post_title.'&lt;/a&gt;';
 $subpages = wp_list_pages('title_li=&amp;echo=0&amp;sort_column=menu_order&amp;depth=1&amp;child_of='.$post-&gt;ID);

 $id = $post-&gt;post_parent;
 $sidebar_title = get_page($id);
 if($sidebar_title) {
 $prevpageparent = $sidebar_title-&gt;post_parent;
 }
 rewind_posts();

 if($subpages) {
 $pages=wp_list_pages(&quot;title_li=&amp;echo=1&amp;sort_column=menu_order&amp;depth=1&amp;echo=0&amp;child_of=&quot;.$post-&gt;post_parent);
 $pagelisting = str_replace($currenttitle, $currenttitle.'&lt;div id=&quot;submenu&quot;&gt;&lt;ul&gt;'.$subpages.'&lt;/ul&gt;&lt;/div&gt;', $pages);
 echo $pagelisting;
 }

 elseif($post-&gt;post_parent &amp;&amp; $prevpageparent&gt;'0') {
 $parent = $post-&gt;post_parent;

 $id = $post-&gt;post_parent;
 $myquery = new WP_Query(&quot;page_id=$id&quot;);
 $currenttitle = $myquery-&gt;post-&gt;post_title.'&lt;/a&gt;';

 $subpages = wp_list_pages('title_li=&amp;echo=0&amp;sort_column=menu_order&amp;depth=1&amp;echo=0&amp;child_of='.$post-&gt;post_parent);

 $pages = wp_list_pages(&quot;title_li=&amp;echo=1&amp;sort_column=menu_order&amp;depth=1&amp;echo=0&amp;child_of=&quot;.$prevpageparent);
 $pagelisting = str_replace($currenttitle, $currenttitle.'&lt;div id=&quot;submenu&quot;&gt;&lt;ul&gt;'.$subpages.'&lt;/ul&gt;&lt;/div&gt;', $pages);
 echo $pagelisting;
 }

 else { wp_list_pages(&quot;title_li=&amp;echo=1&amp;sort_column=menu_order&amp;depth=1&amp;child_of=&quot;.$post-&gt;post_parent);
 }
 rewind_posts();
} else {
// WE ARE NOT ON A PAGE, BUT A POST, CATEGORY VIEW, ETC
// SO WE HAVE TO DEFINE THE DEFAULT LANGUAGE MANUALLY AT THE END OF THE STRING
 wp_list_pages(&quot;title_li=&amp;echo=1&amp;sort_column=menu_order&amp;depth=1&amp;child_of=1&quot;);
} ?&gt;
</pre>
<p><strong>Line 40 is important</strong>; if we&#8217;re <em>not</em> on a <strong>Page</strong> the script can&#8217;t traverse back to it&#8217;s source (the Page that defines the language), so we have to manually put in the ID for the language Page we want to use as default, f.i. ENGLISH, at the end of <code>child_of=</code>.</p>
<p><strong>Also note</strong> that this script is custom made to show vertical navigation, with any subnavigation positioned directly below its Parent both <em>when the Parent is active</em> and <em>when the Child is active</em>, like this:</p>
<ul>
<li>Main Page</li>
<li><strong>Products</strong>
<ul>
<li>Software</li>
<li><em>Hardware</em></li>
<li>Upgrades</li>
</ul>
</li>
<li>About us</li>
<li>Contact</li>
</ul>
<p>It can be shortened and/or modified for other needs and types of navigation.</p>
<h3>A few of notes:</h3>
<ul>
<li>It&#8217;s easiest to add the links for each language into the <strong>Theme</strong> manually. If you want to use flag icons, or simply text links, you can simply add: <code>&lt;a href="&lt;?php echo get_bloginfo('home').'/english/'; ?&gt;"&gt;English&lt;/a&gt;</code> and so forth.</li>
<li>If you want the <em>ENGLISH &gt; Main Page</em> to be the default Front Page, simply go to <strong>Settings &gt; Reading</strong> in <strong>WP-admin</strong> and set Static Page: ENGLISH to display as Front Page.</li>
<li><strong>And most important:</strong> This won&#8217;t take you from the English <strong>Product</strong> Page to the French <strong>Produits</strong> Page by clicking the flag. When you change language, you will be redirected to the Front Page of the selected language!</li>
</ul>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-bg-sexy">
<ul class="socials">
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://stianandreassen.com/customizing-wordpress/setting-up-a-multilingual-wordpress-site/&amp;t=Setting+up+a+multilingual+WordPress+site" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=Setting+up+a+multilingual+WordPress+site+-+http://b2l.me/d5maj+(via+@WPwizardnet)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://stianandreassen.com/customizing-wordpress/setting-up-a-multilingual-wordpress-site/&amp;title=Setting+up+a+multilingual+WordPress+site" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://stianandreassen.com/customizing-wordpress/setting-up-a-multilingual-wordpress-site/&amp;title=Setting+up+a+multilingual+WordPress+site" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-reddit">
			<a href="http://reddit.com/submit?url=http://stianandreassen.com/customizing-wordpress/setting-up-a-multilingual-wordpress-site/&amp;title=Setting+up+a+multilingual+WordPress+site" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://stianandreassen.com/customizing-wordpress/setting-up-a-multilingual-wordpress-site/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://stianandreassen.com/customizing-wordpress/setting-up-a-multilingual-wordpress-site/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-mail">
			<a href="mailto:?subject=%22Setting%20up%20a%20multilingual%20WordPress%20site%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22I%20often%20have%20clients%20who%20need%20a%20multilingual%20website.%20This%20isn%27t%20plug%20%26amp%3B%20play%20when%20it%20comes%20to%20WordPress%20%28though%20rumor%20has%20it%20WP%203.0%20will%20support%20multiple%20sites%20in%20one%20install%2C%20which%20probably%20will%20make%20multilingual%20WP%20sites%20a%20breeze%29%2C%20but%20there%20are%20sollutions.%20WordPress%E2%80%99s%20Page%20system%20is%20pretty%20%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://stianandreassen.com/customizing-wordpress/setting-up-a-multilingual-wordpress-site/" rel="nofollow" title="Email this to a friend?">Email this to a friend?</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->


<p><a href="http://feedads.g.doubleclick.net/~a/ZNntNrVvV8wRxo7nLRl7_VWH1yQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/ZNntNrVvV8wRxo7nLRl7_VWH1yQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ZNntNrVvV8wRxo7nLRl7_VWH1yQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/ZNntNrVvV8wRxo7nLRl7_VWH1yQ/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/stianandreassen?a=BpG45hUyEd0:w54XvgODiFU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/stianandreassen?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=BpG45hUyEd0:w54XvgODiFU:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=BpG45hUyEd0:w54XvgODiFU:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=BpG45hUyEd0:w54XvgODiFU:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=BpG45hUyEd0:w54XvgODiFU:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=BpG45hUyEd0:w54XvgODiFU:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=BpG45hUyEd0:w54XvgODiFU:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=BpG45hUyEd0:w54XvgODiFU:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/stianandreassen?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=BpG45hUyEd0:w54XvgODiFU:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=BpG45hUyEd0:w54XvgODiFU:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://stianandreassen.com/customizing-wordpress/setting-up-a-multilingual-wordpress-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://stianandreassen.com/customizing-wordpress/setting-up-a-multilingual-wordpress-site/</feedburner:origLink></item>
		<item>
		<title>Remove IMG height and width with jQuery</title>
		<link>http://feedproxy.google.com/~r/stianandreassen/~3/cIeKilvJwzU/</link>
		<comments>http://stianandreassen.com/jquery/remove-img-height-and-width-with-jquery/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 08:55:05 +0000</pubDate>
		<dc:creator>Stian Andreassen</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://stianandreassen.com/?p=304</guid>
		<description><![CDATA[Remove inline height and width, added by WordPress on images, with a simple jQuery-script.]]></description>
			<content:encoded><![CDATA[<p>WordPress automatically adds inline width and height when you insert images into your <strong>Pages</strong> or <strong>Posts</strong>. This can cause layout problems, especially in IE, if you use CSS to change the dimensions of your images. <span id="more-304"></span>For instance, <code>max-width: 100px; height: auto;</code> will not work in some browsers, because they resepect the inline height over the CSS.</p>
<p><strong>The sollutions is simple:</strong> Remove the width and height attributes with <strong>jQuery</strong>. The following code between <code>&lt;head&gt;</code> and <code>&lt;/head&gt;</code> will do the job:</p>
<pre class="brush: jscript;">
&lt;script src=&quot;http://code.jquery.com/jquery-latest.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
jQuery.noConflict();
jQuery(document).ready(function($){

	$('img').each(function(){
		$(this).removeAttr('width')
		$(this).removeAttr('height');
	});

});
&lt;/script&gt;
</pre>
<p>Note that this code will remove width and height on <em>all</em> images. You can use class or ID selectors if you just want to remove it on some, say in the sidebar: <code>$('#sidebar img').each(function(){ </code></p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-bg-sexy">
<ul class="socials">
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://stianandreassen.com/jquery/remove-img-height-and-width-with-jquery/&amp;t=Remove+IMG+height+and+width+with+jQuery" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=Remove+IMG+height+and+width+with+jQuery+-+http://b2l.me/dz7a4+(via+@WPwizardnet)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://stianandreassen.com/jquery/remove-img-height-and-width-with-jquery/&amp;title=Remove+IMG+height+and+width+with+jQuery" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://stianandreassen.com/jquery/remove-img-height-and-width-with-jquery/&amp;title=Remove+IMG+height+and+width+with+jQuery" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-reddit">
			<a href="http://reddit.com/submit?url=http://stianandreassen.com/jquery/remove-img-height-and-width-with-jquery/&amp;title=Remove+IMG+height+and+width+with+jQuery" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://stianandreassen.com/jquery/remove-img-height-and-width-with-jquery/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://stianandreassen.com/jquery/remove-img-height-and-width-with-jquery/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-mail">
			<a href="mailto:?subject=%22Remove%20IMG%20height%20and%20width%20with%20jQuery%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22WordPress%20automatically%20adds%20inline%20width%20and%20height%20when%20you%20insert%20images%20into%20your%20Pages%20or%20Posts.%20This%20can%20cause%20layout%20problems%2C%20especially%20in%20IE%2C%20if%20you%20use%20CSS%20to%20change%20the%20dimensions%20of%20your%20images.%20For%20instance%2C%20max-width%3A%20100px%3B%20height%3A%20auto%3B%20will%20not%20work%20in%20some%20browsers%2C%20because%20they%20r%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://stianandreassen.com/jquery/remove-img-height-and-width-with-jquery/" rel="nofollow" title="Email this to a friend?">Email this to a friend?</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->


<p><a href="http://feedads.g.doubleclick.net/~a/XeXe9-fvPQbmwtJepNpXJwGtWXY/0/da"><img src="http://feedads.g.doubleclick.net/~a/XeXe9-fvPQbmwtJepNpXJwGtWXY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/XeXe9-fvPQbmwtJepNpXJwGtWXY/1/da"><img src="http://feedads.g.doubleclick.net/~a/XeXe9-fvPQbmwtJepNpXJwGtWXY/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/stianandreassen?a=cIeKilvJwzU:R5cA4KJ25Zw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/stianandreassen?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=cIeKilvJwzU:R5cA4KJ25Zw:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=cIeKilvJwzU:R5cA4KJ25Zw:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=cIeKilvJwzU:R5cA4KJ25Zw:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=cIeKilvJwzU:R5cA4KJ25Zw:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=cIeKilvJwzU:R5cA4KJ25Zw:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=cIeKilvJwzU:R5cA4KJ25Zw:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=cIeKilvJwzU:R5cA4KJ25Zw:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/stianandreassen?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=cIeKilvJwzU:R5cA4KJ25Zw:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=cIeKilvJwzU:R5cA4KJ25Zw:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://stianandreassen.com/jquery/remove-img-height-and-width-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://stianandreassen.com/jquery/remove-img-height-and-width-with-jquery/</feedburner:origLink></item>
		<item>
		<title>YTSG v0.3.1 beta</title>
		<link>http://feedproxy.google.com/~r/stianandreassen/~3/ZJUP_o7gTWM/</link>
		<comments>http://stianandreassen.com/smalltalk/v0.3.1/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 15:11:51 +0000</pubDate>
		<dc:creator>Stian Andreassen</dc:creator>
				<category><![CDATA[Smalltalk]]></category>
		<category><![CDATA[Gallery]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://www.stianandreassen.com/?p=292</guid>
		<description><![CDATA[Just released the YouTube SimpleGallery-plugin in v0.3.1 beta. It&#8217;s just a minor bugfix, more of a patch than a new version. 





		
			Share this on Facebook
		
		
			Tweet This!
		
		
			Share this on del.icio.us
		
		
			Digg this!
		
		
			Share this on Reddit
		
		
			Share this on Technorati
		
		
			Subscribe to the comments for this post?
		
		
			Email this to a friend?
		





]]></description>
			<content:encoded><![CDATA[<p>Just released the <a href="http://www.stianandreassen.com/plugins/youtube-simplegallery/">YouTube SimpleGallery-plugin</a> in <strong>v0.3.1 beta</strong>. It&#8217;s just a minor bugfix, more of a patch than a new version. </p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-bg-sexy">
<ul class="socials">
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://stianandreassen.com/smalltalk/v0.3.1/&amp;t=YTSG+v0.3.1+beta" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=YTSG+v0.3.1+beta+-+http://b2l.me/b9zju+(via+@WPwizardnet)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://stianandreassen.com/smalltalk/v0.3.1/&amp;title=YTSG+v0.3.1+beta" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://stianandreassen.com/smalltalk/v0.3.1/&amp;title=YTSG+v0.3.1+beta" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-reddit">
			<a href="http://reddit.com/submit?url=http://stianandreassen.com/smalltalk/v0.3.1/&amp;title=YTSG+v0.3.1+beta" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://stianandreassen.com/smalltalk/v0.3.1/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://stianandreassen.com/smalltalk/v0.3.1/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-mail">
			<a href="mailto:?subject=%22YTSG%20v0.3.1%20beta%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22Just%20released%20the%20YouTube%20SimpleGallery-plugin%20in%20v0.3.1%20beta.%20It%27s%20just%20a%20minor%20bugfix%2C%20more%20of%20a%20patch%20than%20a%20new%20version.%20%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://stianandreassen.com/smalltalk/v0.3.1/" rel="nofollow" title="Email this to a friend?">Email this to a friend?</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->


<p><a href="http://feedads.g.doubleclick.net/~a/7c129BDGja2VbGaQQMKP1wRNblM/0/da"><img src="http://feedads.g.doubleclick.net/~a/7c129BDGja2VbGaQQMKP1wRNblM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/7c129BDGja2VbGaQQMKP1wRNblM/1/da"><img src="http://feedads.g.doubleclick.net/~a/7c129BDGja2VbGaQQMKP1wRNblM/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/stianandreassen?a=ZJUP_o7gTWM:LueHYRTAqZg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/stianandreassen?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=ZJUP_o7gTWM:LueHYRTAqZg:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=ZJUP_o7gTWM:LueHYRTAqZg:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=ZJUP_o7gTWM:LueHYRTAqZg:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=ZJUP_o7gTWM:LueHYRTAqZg:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=ZJUP_o7gTWM:LueHYRTAqZg:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=ZJUP_o7gTWM:LueHYRTAqZg:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=ZJUP_o7gTWM:LueHYRTAqZg:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/stianandreassen?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=ZJUP_o7gTWM:LueHYRTAqZg:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=ZJUP_o7gTWM:LueHYRTAqZg:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://stianandreassen.com/smalltalk/v0.3.1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://stianandreassen.com/smalltalk/v0.3.1/</feedburner:origLink></item>
		<item>
		<title>WordPress Plugin: YouTube SimpleGallery v0.3 beta</title>
		<link>http://feedproxy.google.com/~r/stianandreassen/~3/jEbDBCNh7XU/</link>
		<comments>http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0.3-beta/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 18:12:09 +0000</pubDate>
		<dc:creator>Stian Andreassen</dc:creator>
				<category><![CDATA[My Plugins]]></category>
		<category><![CDATA[Gallery]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://www.stianandreassen.com/?p=271</guid>
		<description><![CDATA[YouTube SimpleGallery is updated to v0.3. The update mostly addresses bug fixes and WP 2.9 compatability.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just released a new version of the <a href="http://www.stianandreassen.com/plugins/youtube-simplegallery/">YouTube Simple Gallery plugin</a>. It&#8217;s mostly bug fixes; the plugin didn&#8217;t work right when displaying multiple galleries on a Page, or if multiple Posts had a gallery and where displayed in the same context, f.i. on the Homepage. <img title="More..." src="http://www.stianandreassen.com/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" alt="" /><span id="more-271"></span>A big thanks to <a href="http://www.greensparrow.se/">Peter</a>, for pointing them out to me. <strong>Also, I&#8217;ve tested it with WordPress 2.9 (RC1), and made sure it&#8217;s compatible.</strong></p>
<div id="youtube_gallery_1" class="youtube_gallery"><div class="youtube_gallery_divider"></div><br />
<div id="youtube_gallery_item_1" class="youtube_gallery_item">
<a href="#TB_inline?height=370&width=570&inlineId=youtubeplayer-1" class="thickbox"><img src="http://img.youtube.com/vi/KAixCRd7yYc/default.jpg" border="0"></a><br /><p>Movie Buzz #187</p></div>
<div id="youtube_gallery_item_2" class="youtube_gallery_item">
<a href="#TB_inline?height=370&width=570&inlineId=youtubeplayer-2" class="thickbox"><img src="http://img.youtube.com/vi/xqTac_O_wh4/default.jpg" border="0"></a><br /><p>Call of Duty Modern Warfare: Deathmatch</p></div>
<div id="youtube_gallery_item_3" class="youtube_gallery_item">
<a href="#TB_inline?height=370&width=570&inlineId=youtubeplayer-3" class="thickbox"><img src="http://img.youtube.com/vi/jJK-G9-dLzw/default.jpg" border="0"></a><br /><p>The Fast Show: Unlucky Alf</p></div>
<div id="youtube_gallery_item_4" class="youtube_gallery_item">
<a href="#TB_inline?height=370&width=570&inlineId=youtubeplayer-4" class="thickbox"><img src="http://img.youtube.com/vi/HYokLWfqbaU/default.jpg" border="0"></a><br /><p>Weird Al Yankovic: &#8220;eBay&#8221; music video</p></div>
<div class="youtube_gallery_divider"></div><br clear="all" /></div>
		<div id="youtubeplayer-1" style="display: none; text-align: center;"><br />
		<object width="560" height="340">
			<param name="movie" value="http://www.youtube.com/v/KAixCRd7yYc&amp;hl=en_US&amp;fs=1&amp;"></param>
			<param name="allowFullScreen" value="true"></param>
			<param name="allowscriptaccess" value="always"></param>
			<embed src="http://www.youtube.com/v/KAixCRd7yYc&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed>
		</object>
		</div>
		
		<div id="youtubeplayer-2" style="display: none; text-align: center;"><br />
		<object width="560" height="340">
			<param name="movie" value="http://www.youtube.com/v/xqTac_O_wh4&amp;hl=en_US&amp;fs=1&amp;"></param>
			<param name="allowFullScreen" value="true"></param>
			<param name="allowscriptaccess" value="always"></param>
			<embed src="http://www.youtube.com/v/xqTac_O_wh4&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed>
		</object>
		</div>
		
		<div id="youtubeplayer-3" style="display: none; text-align: center;"><br />
		<object width="560" height="340">
			<param name="movie" value="http://www.youtube.com/v/jJK-G9-dLzw&amp;hl=en_US&amp;fs=1&amp;"></param>
			<param name="allowFullScreen" value="true"></param>
			<param name="allowscriptaccess" value="always"></param>
			<embed src="http://www.youtube.com/v/jJK-G9-dLzw&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed>
		</object>
		</div>
		
		<div id="youtubeplayer-4" style="display: none; text-align: center;"><br />
		<object width="560" height="340">
			<param name="movie" value="http://www.youtube.com/v/HYokLWfqbaU&amp;hl=en_US&amp;fs=1&amp;"></param>
			<param name="allowFullScreen" value="true"></param>
			<param name="allowscriptaccess" value="always"></param>
			<embed src="http://www.youtube.com/v/HYokLWfqbaU&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed>
		</object>
		</div>
		
<p>Read more about the <a href="http://www.stianandreassen.com/plugins/youtube-simplegallery/">YouTube SimpleGallery plugin</a>.</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-bg-sexy">
<ul class="socials">
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0.3-beta/&amp;t=WordPress+Plugin%3A+YouTube+SimpleGallery+v0.3+beta" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=WordPress+Plugin%3A+YouTube+SimpleGallery+v0.3+beta+-+http://b2l.me/b9zjm+(via+@WPwizardnet)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0.3-beta/&amp;title=WordPress+Plugin%3A+YouTube+SimpleGallery+v0.3+beta" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0.3-beta/&amp;title=WordPress+Plugin%3A+YouTube+SimpleGallery+v0.3+beta" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-reddit">
			<a href="http://reddit.com/submit?url=http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0.3-beta/&amp;title=WordPress+Plugin%3A+YouTube+SimpleGallery+v0.3+beta" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0.3-beta/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0.3-beta/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-mail">
			<a href="mailto:?subject=%22WordPress%20Plugin%3A%20YouTube%20SimpleGallery%20v0.3%20beta%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22I%27ve%20just%20released%20a%20new%20version%20of%20the%20YouTube%20Simple%20Gallery%20plugin.%20It%27s%20mostly%20bug%20fixes%3B%20the%20plugin%20didn%27t%20work%20right%20when%20displaying%20multiple%20galleries%20on%20a%20Page%2C%20or%20if%20multiple%20Posts%20had%20a%20gallery%20and%20where%20displayed%20in%20the%20same%20context%2C%20f.i.%20on%20the%20Homepage.%20A%20big%20thanks%20to%20Peter%2C%20for%20pointi%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0.3-beta/" rel="nofollow" title="Email this to a friend?">Email this to a friend?</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->


<p><a href="http://feedads.g.doubleclick.net/~a/Uu9oVIwLwWIRFho_4nJZ0zI7uaM/0/da"><img src="http://feedads.g.doubleclick.net/~a/Uu9oVIwLwWIRFho_4nJZ0zI7uaM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Uu9oVIwLwWIRFho_4nJZ0zI7uaM/1/da"><img src="http://feedads.g.doubleclick.net/~a/Uu9oVIwLwWIRFho_4nJZ0zI7uaM/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/stianandreassen?a=jEbDBCNh7XU:6QodxD51KHg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/stianandreassen?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=jEbDBCNh7XU:6QodxD51KHg:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=jEbDBCNh7XU:6QodxD51KHg:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=jEbDBCNh7XU:6QodxD51KHg:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=jEbDBCNh7XU:6QodxD51KHg:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=jEbDBCNh7XU:6QodxD51KHg:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=jEbDBCNh7XU:6QodxD51KHg:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=jEbDBCNh7XU:6QodxD51KHg:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/stianandreassen?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=jEbDBCNh7XU:6QodxD51KHg:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=jEbDBCNh7XU:6QodxD51KHg:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0.3-beta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0.3-beta/</feedburner:origLink></item>
		<item>
		<title>New look</title>
		<link>http://feedproxy.google.com/~r/stianandreassen/~3/dos5W4OY1DY/</link>
		<comments>http://stianandreassen.com/smalltalk/new-look/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 10:05:12 +0000</pubDate>
		<dc:creator>Stian Andreassen</dc:creator>
				<category><![CDATA[Smalltalk]]></category>

		<guid isPermaLink="false">http://www.stianandreassen.com/?p=268</guid>
		<description><![CDATA[I put togehter a new Theme for this site. It&#8217;s based on the 960 Grid System, which made the process fast and easy. Hope ya likes!





		
			Share this on Facebook
		
		
			Tweet This!
		
		
			Share this on del.icio.us
		
		
			Digg this!
		
		
			Share this on Reddit
		
		
			Share this on Technorati
		
		
			Subscribe to the comments for this post?
		
		
			Email this to a friend?
		





]]></description>
			<content:encoded><![CDATA[<p>I put togehter a new Theme for this site. It&#8217;s based on the <a href="http://960.gs/">960 Grid System</a>, which made the process fast and easy. Hope ya likes!</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-bg-sexy">
<ul class="socials">
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://stianandreassen.com/smalltalk/new-look/&amp;t=New+look" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=New+look+-+http://b2l.me/b9zm2+(via+@WPwizardnet)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://stianandreassen.com/smalltalk/new-look/&amp;title=New+look" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://stianandreassen.com/smalltalk/new-look/&amp;title=New+look" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-reddit">
			<a href="http://reddit.com/submit?url=http://stianandreassen.com/smalltalk/new-look/&amp;title=New+look" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://stianandreassen.com/smalltalk/new-look/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://stianandreassen.com/smalltalk/new-look/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-mail">
			<a href="mailto:?subject=%22New%20look%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22I%20put%20togehter%20a%20new%20Theme%20for%20this%20site.%20It%27s%20based%20on%20the%20960%20Grid%20System%2C%20which%20made%20the%20process%20fast%20and%20easy.%20Hope%20ya%20likes%21%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://stianandreassen.com/smalltalk/new-look/" rel="nofollow" title="Email this to a friend?">Email this to a friend?</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->


<p><a href="http://feedads.g.doubleclick.net/~a/egheMr731ay1kWQnjexqrFn1OAk/0/da"><img src="http://feedads.g.doubleclick.net/~a/egheMr731ay1kWQnjexqrFn1OAk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/egheMr731ay1kWQnjexqrFn1OAk/1/da"><img src="http://feedads.g.doubleclick.net/~a/egheMr731ay1kWQnjexqrFn1OAk/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/stianandreassen?a=dos5W4OY1DY:x6SwTQ6iUso:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/stianandreassen?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=dos5W4OY1DY:x6SwTQ6iUso:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=dos5W4OY1DY:x6SwTQ6iUso:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=dos5W4OY1DY:x6SwTQ6iUso:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=dos5W4OY1DY:x6SwTQ6iUso:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=dos5W4OY1DY:x6SwTQ6iUso:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=dos5W4OY1DY:x6SwTQ6iUso:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=dos5W4OY1DY:x6SwTQ6iUso:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/stianandreassen?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=dos5W4OY1DY:x6SwTQ6iUso:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=dos5W4OY1DY:x6SwTQ6iUso:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://stianandreassen.com/smalltalk/new-look/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://stianandreassen.com/smalltalk/new-look/</feedburner:origLink></item>
		<item>
		<title>Setting up WordPress as a CMS – part 2</title>
		<link>http://feedproxy.google.com/~r/stianandreassen/~3/-Vv-I6NraYg/</link>
		<comments>http://stianandreassen.com/customizing-wordpress/setting-up-wordpress-as-a-cms-part-2/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 06:00:18 +0000</pubDate>
		<dc:creator>Stian Andreassen</dc:creator>
				<category><![CDATA[Customizing WordPress]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[dashboard]]></category>
		<category><![CDATA[featured]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[user]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wp-admin]]></category>

		<guid isPermaLink="false">http://www.stianandreassen.com/?p=234</guid>
		<description><![CDATA[How to exclude Pages from page navigation and add alternate titles (different from navigation titles) to Pages.]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://www.stianandreassen.com/customizing-wordpress/setting-up-wordpress-as-a-cms-part-1/">part 1</a> I discussed how cleaning up the <strong>Dashboard </strong>in <strong>WordPress </strong>by removing excess admin panels and editor sections makes it easier to use, especially for users who are new to WordPress. In this part I&#8217;ll be discussing how to add options for excluding pages from navigation and how to add alternate titles.</p>
<h3><span id="more-234"></span>Exclude Pages from Navigation</h3>
<p>I often want to add <strong>Pages </strong>to my WordPress site, without showing it in <code>wp_list_pages()</code>. So far WordPress doesn&#8217;t have an option for excluding <strong>Pages </strong>from navigation menus without setting <em>Visibility </em>to <em>Private </em>(which makes them unavailable for non-logged-in users). For this we have to use a <strong>Plugin</strong>: <a href="http://wordpress.org/extend/plugins/exclude-pages/">Exclude Pages</a>. This plugin adds a checkbox to the <strong>Page Editor</strong>; “Include this page in menus”. Simply uncheck this to exclude <strong>Pages </strong>from the page navigation that users see on your site.</p>
<h3>Alternate Titles</h3>
<p>When creating <strong>Pages </strong>in WordPress, what you put in the <strong>Title Field</strong> will show up both in navigation and as a title on the website. This can be very impractical, not to say downright frustrating. Often I want the menu item to be &#8220;About Us&#8221;, but the Page title to be &#8220;Who We Are&#8221;, or something of the same. Not possible in WordPress out-of-the-box. The sollution is <strong>Custom Fields</strong>. In the Page Editor, add a new custom field called &#8220;alttitle&#8221;. Then edit your <code>page.php</code>, and replace <code>&lt;h2&gt;&lt;?php the_title();  ?&gt;&lt;/h2&gt;</code> with:</p>
<pre class="brush: php;">
&lt;?php $alttitle = get_post_meta($post-&gt;ID, 'alttitle', true); ?&gt;
&lt;h2&gt;&lt;?php if(!$alttitle) { the_title(); } else { echo $alttitle; } ?&gt;&lt;/h2&gt;
</pre>
<p>That&#8217;s it. The code checks if an alternate title is exists, and if so, displays it. Otherwise the default <strong>Page</strong> title is displayed.</p>
<h3>Make an Alternate Title Section in the Editor</h3>
<p>If you have hidden the custom fields section from your users, or just simply want to make the sollution more elegant, you can use the <a href="http://wordpress.org/extend/plugins/more-fields/">More Fields</a> plugin i mentioned in part 1. Here&#8217;s how to do it:</p>
<ol>
<li>Install and activate the plugin</li>
<li>Go to Settings &gt; More Fields and click &#8220;Add a new box!&#8221;</li>
<li>In <em>Box title</em> put &#8220;Alternate Title&#8221;, and select &#8220;Left&#8221; in the <em>Position </em>pull-down, save</li>
<li>Click the &#8220;Add new field!&#8221; button</li>
<li>In <em>Key </em>put &#8220;alttitle&#8221;, in <em>Title </em>put &#8220;Alternate Title is used as page heading, while Title field (above) is used for navigation items&#8221;, leave the rest as is, save</li>
<li>Click &#8220;Manage post types&#8221; in the top menu, click &#8220;Page&#8221;, scroll down to the bottom and check the checkbox next to <strong>Alternate Title</strong>, save</li>
</ol>
<p>You will now have a new editor section in the Page Editor, where you can write alternate titles for your <strong>Pages</strong>.</p>
<p style="text-align: center;"><img class="size-full wp-image-253 alignnone" title="alttitle_dump" src="http://www.stianandreassen.com/wp-content/uploads/2009/12/alttitle_dump.png" alt="alttitle_dump" width="380" height="104" /></p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-bg-sexy">
<ul class="socials">
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://stianandreassen.com/customizing-wordpress/setting-up-wordpress-as-a-cms-part-2/&amp;t=Setting+up+WordPress+as+a+CMS+-+part+2" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=Setting+up+WordPress+as+a+CMS+-+part+2+-+http://b2l.me/b9zm3+(via+@WPwizardnet)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://stianandreassen.com/customizing-wordpress/setting-up-wordpress-as-a-cms-part-2/&amp;title=Setting+up+WordPress+as+a+CMS+-+part+2" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://stianandreassen.com/customizing-wordpress/setting-up-wordpress-as-a-cms-part-2/&amp;title=Setting+up+WordPress+as+a+CMS+-+part+2" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-reddit">
			<a href="http://reddit.com/submit?url=http://stianandreassen.com/customizing-wordpress/setting-up-wordpress-as-a-cms-part-2/&amp;title=Setting+up+WordPress+as+a+CMS+-+part+2" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://stianandreassen.com/customizing-wordpress/setting-up-wordpress-as-a-cms-part-2/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://stianandreassen.com/customizing-wordpress/setting-up-wordpress-as-a-cms-part-2/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-mail">
			<a href="mailto:?subject=%22Setting%20up%20WordPress%20as%20a%20CMS%20-%20part%202%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22In%20part%201%20I%20discussed%20how%20cleaning%20up%20the%20Dashboard%20in%20WordPress%20by%20removing%20excess%20admin%20panels%20and%20editor%20sections%20makes%20it%20easier%20to%20use%2C%20especially%20for%20users%20who%20are%20new%20to%20WordPress.%20In%20this%20part%20I%27ll%20be%20discussing%20how%20to%20add%20options%20for%20excluding%20pages%20from%20navigation%20and%20how%20to%20add%20alternate%20%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://stianandreassen.com/customizing-wordpress/setting-up-wordpress-as-a-cms-part-2/" rel="nofollow" title="Email this to a friend?">Email this to a friend?</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->


<p><a href="http://feedads.g.doubleclick.net/~a/2svPkcqBqjfdKC9j_g_xpuBskdo/0/da"><img src="http://feedads.g.doubleclick.net/~a/2svPkcqBqjfdKC9j_g_xpuBskdo/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/2svPkcqBqjfdKC9j_g_xpuBskdo/1/da"><img src="http://feedads.g.doubleclick.net/~a/2svPkcqBqjfdKC9j_g_xpuBskdo/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/stianandreassen?a=-Vv-I6NraYg:LNxPaIqQB8w:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/stianandreassen?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=-Vv-I6NraYg:LNxPaIqQB8w:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=-Vv-I6NraYg:LNxPaIqQB8w:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=-Vv-I6NraYg:LNxPaIqQB8w:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=-Vv-I6NraYg:LNxPaIqQB8w:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=-Vv-I6NraYg:LNxPaIqQB8w:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=-Vv-I6NraYg:LNxPaIqQB8w:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=-Vv-I6NraYg:LNxPaIqQB8w:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/stianandreassen?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=-Vv-I6NraYg:LNxPaIqQB8w:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=-Vv-I6NraYg:LNxPaIqQB8w:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://stianandreassen.com/customizing-wordpress/setting-up-wordpress-as-a-cms-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://stianandreassen.com/customizing-wordpress/setting-up-wordpress-as-a-cms-part-2/</feedburner:origLink></item>
		<item>
		<title>Canonical Plugins</title>
		<link>http://feedproxy.google.com/~r/stianandreassen/~3/KUKNcnp9Pks/</link>
		<comments>http://stianandreassen.com/smalltalk/canonical-plugins/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 07:25:14 +0000</pubDate>
		<dc:creator>Stian Andreassen</dc:creator>
				<category><![CDATA[Smalltalk]]></category>

		<guid isPermaLink="false">http://www.stianandreassen.com/2009/12/11/canonical-plugins/</guid>
		<description><![CDATA[The WordPress Team is thinking about developing Canonical Plugins – a great idea in my book!





		
			Share this on Facebook
		
		
			Tweet This!
		
		
			Share this on del.icio.us
		
		
			Digg this!
		
		
			Share this on Reddit
		
		
			Share this on Technorati
		
		
			Subscribe to the comments for this post?
		
		
			Email this to a friend?
		





]]></description>
			<content:encoded><![CDATA[<p>The WordPress Team is thinking about developing <a href="http://wordpress.org/development/2009/12/canonical-plugins/">Canonical Plugins</a> – a great idea in my book!</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-bg-sexy">
<ul class="socials">
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://stianandreassen.com/smalltalk/canonical-plugins/&amp;t=Canonical+Plugins" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=Canonical+Plugins+-+http://b2l.me/b9zm4+(via+@WPwizardnet)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://stianandreassen.com/smalltalk/canonical-plugins/&amp;title=Canonical+Plugins" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://stianandreassen.com/smalltalk/canonical-plugins/&amp;title=Canonical+Plugins" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-reddit">
			<a href="http://reddit.com/submit?url=http://stianandreassen.com/smalltalk/canonical-plugins/&amp;title=Canonical+Plugins" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://stianandreassen.com/smalltalk/canonical-plugins/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://stianandreassen.com/smalltalk/canonical-plugins/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-mail">
			<a href="mailto:?subject=%22Canonical%20Plugins%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22The%20WordPress%20Team%20is%20thinking%20about%20developing%20Canonical%20Plugins%20%E2%80%93%20a%20great%20idea%20in%20my%20book%21%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://stianandreassen.com/smalltalk/canonical-plugins/" rel="nofollow" title="Email this to a friend?">Email this to a friend?</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->


<p><a href="http://feedads.g.doubleclick.net/~a/40lEwpEDFVrA6WAgSCPqv0lToto/0/da"><img src="http://feedads.g.doubleclick.net/~a/40lEwpEDFVrA6WAgSCPqv0lToto/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/40lEwpEDFVrA6WAgSCPqv0lToto/1/da"><img src="http://feedads.g.doubleclick.net/~a/40lEwpEDFVrA6WAgSCPqv0lToto/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/stianandreassen?a=KUKNcnp9Pks:rCrPEJGk8Jw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/stianandreassen?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=KUKNcnp9Pks:rCrPEJGk8Jw:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=KUKNcnp9Pks:rCrPEJGk8Jw:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=KUKNcnp9Pks:rCrPEJGk8Jw:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=KUKNcnp9Pks:rCrPEJGk8Jw:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=KUKNcnp9Pks:rCrPEJGk8Jw:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=KUKNcnp9Pks:rCrPEJGk8Jw:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=KUKNcnp9Pks:rCrPEJGk8Jw:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/stianandreassen?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=KUKNcnp9Pks:rCrPEJGk8Jw:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=KUKNcnp9Pks:rCrPEJGk8Jw:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://stianandreassen.com/smalltalk/canonical-plugins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://stianandreassen.com/smalltalk/canonical-plugins/</feedburner:origLink></item>
		<item>
		<title>Display related Posts</title>
		<link>http://feedproxy.google.com/~r/stianandreassen/~3/n-0Vfnq-nyw/</link>
		<comments>http://stianandreassen.com/wordpress-hacks/display-related-posts/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 16:27:02 +0000</pubDate>
		<dc:creator>Stian Andreassen</dc:creator>
				<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.stianandreassen.com/?p=198</guid>
		<description><![CDATA[Display related Posts by Tags or Category without a plugin - just a few lines of code is all that's needed.]]></description>
			<content:encoded><![CDATA[<p>There are many plugins that let you display related <strong>Posts</strong>. Some are obviously better than others – but you don&#8217;t really need a plugin to do the job. You can add some lines of code to your <strong>Template</strong>, which will display related <strong>Posts</strong> based on similar <strong>Tags</strong> or <strong>Categories</strong>.</p>
<p><span id="more-198"></span>I will show you two options; displaying related Posts based on either <strong>Tags</strong> or <strong>Categories</strong>. Put the code in your <code>single.php</code> where you want to display related <strong>Posts</strong>. Right above <code>&lt;?php comments_template(); ?&gt;</code> is probably the best place.</p>
<p>The following will display the five most recent <strong>Posts</strong> which share the same first <strong>Tag</strong> of the <strong>Post</strong>:</p>
<pre class="brush: php;">
&lt;?php
$tags = wp_get_post_tags($post-&gt;ID);
if ($tags) {
	$first_tag = $tags[0]-&gt;name;
	$args = array(
		'numberposts' =&gt; 5,
		'tag' =&gt; $first_tag,
		'exclude' =&gt; $post-&gt;ID
	);
	$related = get_posts($args);
	if($related) {
		echo &lt;div id=&quot;relatedposts&quot;&gt;';
		echo &lt;h4&gt;Related Posts&lt;/h4&gt;';
	  	echo&lt;ul&gt;';
		  foreach ( $related as $rel ):
			echo &lt;li&gt;&lt;a href=&quot;'. get_permalink($rel-&gt;ID) .'&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to '. $rel-&gt;post_title .'&quot;&gt;'. $rel-&gt;post_title .&lt;/a&gt;&lt;/li&gt;';
		  endforeach;
	    echo &lt;/ul&gt;';
	    echo &lt;/div&gt;';
 	 }
}
?&gt;
</pre>
<p>If you don&#8217;t use <strong>Tags</strong>, or simply just want to find related <strong>Posts</strong> based on <strong>Category</strong>, the following code will do that – displaying the five most recent <strong>Posts</strong> from the first <strong>Category</strong> of the <strong>Post</strong>.</p>
<pre class="brush: php;">
&lt;?php
$cats = get_the_category();
if ($cats) {
	$first_cat = $cats[0]-&gt;cat_ID;
	$args = array(
		'numberposts' =&gt; 5,
		'category' =&gt; $first_cat,
		'exclude' =&gt; $post-&gt;ID,
	);
	$related = get_posts($args);
	if($related) {
		echo '&lt;div id=&quot;relatedposts&quot;&gt;';
		echo '&lt;h4&gt;Related Posts&lt;/h4&gt;';
	  	echo'&lt;ul&gt;';
		  foreach ( $related as $rel ):
			echo '&lt;li&gt;&lt;a href=&quot;'. get_permalink($rel-&gt;ID) .'&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to '. $rel-&gt;post_title .'&quot;&gt;'. $rel-&gt;post_title .'&lt;/a&gt;&lt;/li&gt;';
		  endforeach;
	    echo '&lt;/ul&gt;';
	    echo '&lt;/div&gt;';
 	 }
}
?&gt;
</pre>
<p>The upshot of using this method, as opposed to a plugin, is that you have complete control and can display and style the related <strong>Posts</strong> as you see fit.</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-bg-sexy">
<ul class="socials">
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://stianandreassen.com/wordpress-hacks/display-related-posts/&amp;t=Display+related+Posts" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=Display+related+Posts+-+http://b2l.me/b9zm5+(via+@WPwizardnet)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://stianandreassen.com/wordpress-hacks/display-related-posts/&amp;title=Display+related+Posts" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://stianandreassen.com/wordpress-hacks/display-related-posts/&amp;title=Display+related+Posts" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-reddit">
			<a href="http://reddit.com/submit?url=http://stianandreassen.com/wordpress-hacks/display-related-posts/&amp;title=Display+related+Posts" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://stianandreassen.com/wordpress-hacks/display-related-posts/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://stianandreassen.com/wordpress-hacks/display-related-posts/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-mail">
			<a href="mailto:?subject=%22Display%20related%20Posts%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22There%20are%20many%20plugins%20that%20let%20you%20display%20related%20Posts.%20Some%20are%20obviously%20better%20than%20others%20%E2%80%93%20but%20you%20don%27t%20really%20need%20a%20plugin%20to%20do%20the%20job.%20You%20can%20add%20some%20lines%20of%20code%20to%20your%20Template%2C%20which%20will%20display%20related%20Posts%20based%20on%20similar%20Tags%20or%20Categories.%0D%0A%0D%0AI%20will%20show%20you%20two%20options%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://stianandreassen.com/wordpress-hacks/display-related-posts/" rel="nofollow" title="Email this to a friend?">Email this to a friend?</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->


<p><a href="http://feedads.g.doubleclick.net/~a/iNgXZNjWxX_6kigh4mFKAKCaNS8/0/da"><img src="http://feedads.g.doubleclick.net/~a/iNgXZNjWxX_6kigh4mFKAKCaNS8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/iNgXZNjWxX_6kigh4mFKAKCaNS8/1/da"><img src="http://feedads.g.doubleclick.net/~a/iNgXZNjWxX_6kigh4mFKAKCaNS8/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/stianandreassen?a=n-0Vfnq-nyw:CgMIkseXuvo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/stianandreassen?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=n-0Vfnq-nyw:CgMIkseXuvo:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=n-0Vfnq-nyw:CgMIkseXuvo:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=n-0Vfnq-nyw:CgMIkseXuvo:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=n-0Vfnq-nyw:CgMIkseXuvo:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=n-0Vfnq-nyw:CgMIkseXuvo:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=n-0Vfnq-nyw:CgMIkseXuvo:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=n-0Vfnq-nyw:CgMIkseXuvo:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/stianandreassen?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=n-0Vfnq-nyw:CgMIkseXuvo:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=n-0Vfnq-nyw:CgMIkseXuvo:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://stianandreassen.com/wordpress-hacks/display-related-posts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://stianandreassen.com/wordpress-hacks/display-related-posts/</feedburner:origLink></item>
		<item>
		<title>WordPress Plugin: YouTube SimpleGallery v0.2 beta</title>
		<link>http://feedproxy.google.com/~r/stianandreassen/~3/7bZu7Qpwe4w/</link>
		<comments>http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0-2-beta/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 13:40:33 +0000</pubDate>
		<dc:creator>Stian Andreassen</dc:creator>
				<category><![CDATA[My Plugins]]></category>
		<category><![CDATA[Gallery]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://www.stianandreassen.com/?p=192</guid>
		<description><![CDATA[YouTube SimpleGallery is updated to v0.2. Check out the changes and download the new version.]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s only six days since I launched <a href="http://www.stianandreassen.com/2009/12/04/plugin-youtube-simplegallery/">YouTube SimpleGallery v0.1 beta</a>, and already it&#8217;s seen over 100 downloads. User feedback has been good. Some users have asked for an option to include titles/descriptions in the gallery, and I&#8217;m happy to say that this option is included in v0.2 beta.<br />
<span id="more-192"></span><br />
<div id="youtube_gallery_2" class="youtube_gallery"><div class="youtube_gallery_divider"></div><br />
<div id="youtube_gallery_item_5" class="youtube_gallery_item">
<a href="#TB_inline?height=370&width=570&inlineId=youtubeplayer-5" class="thickbox"><img src="http://img.youtube.com/vi/KAixCRd7yYc/default.jpg" border="0"></a><br /><p>Movie Buzz #187</p></div>
<div id="youtube_gallery_item_6" class="youtube_gallery_item">
<a href="#TB_inline?height=370&width=570&inlineId=youtubeplayer-6" class="thickbox"><img src="http://img.youtube.com/vi/xqTac_O_wh4/default.jpg" border="0"></a><br /><p>Call of Duty Modern Warfare: Deathmatch</p></div>
<div id="youtube_gallery_item_7" class="youtube_gallery_item">
<a href="#TB_inline?height=370&width=570&inlineId=youtubeplayer-7" class="thickbox"><img src="http://img.youtube.com/vi/jJK-G9-dLzw/default.jpg" border="0"></a><br /><p>The Fast Show: Unlucky Alf</p></div>
<div id="youtube_gallery_item_8" class="youtube_gallery_item">
<a href="#TB_inline?height=370&width=570&inlineId=youtubeplayer-8" class="thickbox"><img src="http://img.youtube.com/vi/HYokLWfqbaU/default.jpg" border="0"></a><br /><p>Weird Al Yankovic: &#8220;eBay&#8221; music video</p></div>
<div class="youtube_gallery_divider"></div><br clear="all" /></div>
		<div id="youtubeplayer-5" style="display: none; text-align: center;"><br />
		<object width="560" height="340">
			<param name="movie" value="http://www.youtube.com/v/KAixCRd7yYc&amp;hl=en_US&amp;fs=1&amp;"></param>
			<param name="allowFullScreen" value="true"></param>
			<param name="allowscriptaccess" value="always"></param>
			<embed src="http://www.youtube.com/v/KAixCRd7yYc&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed>
		</object>
		</div>
		
		<div id="youtubeplayer-6" style="display: none; text-align: center;"><br />
		<object width="560" height="340">
			<param name="movie" value="http://www.youtube.com/v/xqTac_O_wh4&amp;hl=en_US&amp;fs=1&amp;"></param>
			<param name="allowFullScreen" value="true"></param>
			<param name="allowscriptaccess" value="always"></param>
			<embed src="http://www.youtube.com/v/xqTac_O_wh4&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed>
		</object>
		</div>
		
		<div id="youtubeplayer-7" style="display: none; text-align: center;"><br />
		<object width="560" height="340">
			<param name="movie" value="http://www.youtube.com/v/jJK-G9-dLzw&amp;hl=en_US&amp;fs=1&amp;"></param>
			<param name="allowFullScreen" value="true"></param>
			<param name="allowscriptaccess" value="always"></param>
			<embed src="http://www.youtube.com/v/jJK-G9-dLzw&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed>
		</object>
		</div>
		
		<div id="youtubeplayer-8" style="display: none; text-align: center;"><br />
		<object width="560" height="340">
			<param name="movie" value="http://www.youtube.com/v/HYokLWfqbaU&amp;hl=en_US&amp;fs=1&amp;"></param>
			<param name="allowFullScreen" value="true"></param>
			<param name="allowscriptaccess" value="always"></param>
			<embed src="http://www.youtube.com/v/HYokLWfqbaU&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed>
		</object>
		</div>
		</p>
<p>Read more about the <a href="http://www.stianandreassen.com/plugins/youtube-simplegallery/">YouTube SimpleGallery plugin</a>.</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-expand sexy-bookmarks-bg-sexy">
<ul class="socials">
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0-2-beta/&amp;t=WordPress+Plugin%3A+YouTube+SimpleGallery+v0.2+beta" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=WordPress+Plugin%3A+YouTube+SimpleGallery+v0.2+beta+-+http://b2l.me/b9zm6+(via+@WPwizardnet)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0-2-beta/&amp;title=WordPress+Plugin%3A+YouTube+SimpleGallery+v0.2+beta" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0-2-beta/&amp;title=WordPress+Plugin%3A+YouTube+SimpleGallery+v0.2+beta" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
		<li class="sexy-reddit">
			<a href="http://reddit.com/submit?url=http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0-2-beta/&amp;title=WordPress+Plugin%3A+YouTube+SimpleGallery+v0.2+beta" rel="nofollow" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="sexy-technorati">
			<a href="http://technorati.com/faves?add=http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0-2-beta/" rel="nofollow" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="sexy-comfeed">
			<a href="http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0-2-beta/feed" rel="nofollow" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="sexy-mail">
			<a href="mailto:?subject=%22WordPress%20Plugin%3A%20YouTube%20SimpleGallery%20v0.2%20beta%22&amp;body=I%20thought%20this%20article%20might%20interest%20you.%0A%0A%22It%27s%20only%20six%20days%20since%20I%20launched%20YouTube%20SimpleGallery%20v0.1%20beta%2C%20and%20already%20it%27s%20seen%20over%20100%20downloads.%20User%20feedback%20has%20been%20good.%20Some%20users%20have%20asked%20for%20an%20option%20to%20include%20titles%2Fdescriptions%20in%20the%20gallery%2C%20and%20I%27m%20happy%20to%20say%20that%20this%20option%20is%20included%20in%20v0.2%20beta.%0D%0A%0D%0A%0D%0A%0D%0ARead%20m%22%0A%0AYou%20can%20read%20the%20full%20article%20here%3A%20http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0-2-beta/" rel="nofollow" title="Email this to a friend?">Email this to a friend?</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->


<p><a href="http://feedads.g.doubleclick.net/~a/yE7ijeY5e1Vj4m30TE7DJR4N0Pk/0/da"><img src="http://feedads.g.doubleclick.net/~a/yE7ijeY5e1Vj4m30TE7DJR4N0Pk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/yE7ijeY5e1Vj4m30TE7DJR4N0Pk/1/da"><img src="http://feedads.g.doubleclick.net/~a/yE7ijeY5e1Vj4m30TE7DJR4N0Pk/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/stianandreassen?a=7bZu7Qpwe4w:X_0CpowcR7o:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/stianandreassen?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=7bZu7Qpwe4w:X_0CpowcR7o:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=7bZu7Qpwe4w:X_0CpowcR7o:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=7bZu7Qpwe4w:X_0CpowcR7o:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=7bZu7Qpwe4w:X_0CpowcR7o:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=7bZu7Qpwe4w:X_0CpowcR7o:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=7bZu7Qpwe4w:X_0CpowcR7o:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=7bZu7Qpwe4w:X_0CpowcR7o:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/stianandreassen?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/stianandreassen?a=7bZu7Qpwe4w:X_0CpowcR7o:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/stianandreassen?i=7bZu7Qpwe4w:X_0CpowcR7o:gIN9vFwOqvQ" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0-2-beta/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		<feedburner:origLink>http://stianandreassen.com/my-plugins/wordpress-plugin-youtube-simplegallery-v0-2-beta/</feedburner:origLink></item>
	</channel>
</rss>
