<?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>FDS Repository &#187; Wordpress</title>
	<atom:link href="http://www.finaldesign.co.uk/blog/category/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://www.finaldesign.co.uk/blog</link>
	<description>Because it's useful</description>
	<lastBuildDate>Tue, 08 Jun 2010 07:35:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Displaying the Latest Current Category Posts in the Sidebar</title>
		<link>http://www.finaldesign.co.uk/blog/wordpress/displaying-the-latest-current-category-articles-in-the-sidebar.html</link>
		<comments>http://www.finaldesign.co.uk/blog/wordpress/displaying-the-latest-current-category-articles-in-the-sidebar.html#comments</comments>
		<pubDate>Sat, 09 Feb 2008 21:02:06 +0000</pubDate>
		<dc:creator>Omar</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.finaldesign.co.uk/blog/archives/displaying-the-latest-current-category-articles-in-the-sidebar.html</guid>
		<description><![CDATA[With WordPress, I wanted to display a list of the latest 5 posts from the category in which the displaying post is located. I needed to do this outside the loop because I wanted to list the posts in the sidebar. For the life of me couldn&#8217;t find anywhere on the net how to do [...]]]></description>
			<content:encoded><![CDATA[<p>With WordPress, I wanted to <strong>display a list of the latest 5 posts from the category in which the displaying post is located</strong>. I needed to do this <strong>outside the loop</strong> because I wanted to <strong>list the posts in the sidebar</strong>. For the life of me couldn&#8217;t find anywhere on the net how to do this. Being as I wanted to display these in the sidebar, I had to work out a way of <strong>calling the cat_id</strong> globally. I&#8217;m no programer and at best can only edit or manipulate the simplest of variable, but finally mashed together an answer, several hours later o_O. Ordinarily, <strong>inside the loop one would only need to use get_the_category()</strong> but in this case the following code is required in order to pull the category ID for use <strong>outside the loop</strong>:<span id="more-40"></span></p>
<blockquote><p>&lt;?php<br />
global $post;<br />
$categories = get_the_category();<br />
$category = $categories[0];<br />
$sidebar_cat_id = $category-&gt;cat_ID;<br />
$sidebar_cat_name = $category-&gt;cat_name;<br />
?&gt;</p></blockquote>
<p>Notice I have included cat_name at the end, so that it can be called for a header perhaps, like so:</p>
<blockquote><p>&lt;h3&gt;Latest Posts in &lt;?php echo $sidebar_cat_name; ?&gt;&lt;/h3&gt;</p></blockquote>
<p>Next I wanted to list the latest 5 titles below the title. This was accomplished with the help of acquiring the $sidebar_cat_id.</p>
<blockquote><p>&lt;?php<br />
$sidebar_related_query = new WP_Query(&#8216;cat=&#8217; . $sidebar_cat_id . &#8216;&#038;showposts=5&#038;offset=0&#038;orderby=post_date&#038;order=desc&#8217;);<br />
while ($sidebar_related_query-&gt;have_posts()) : $sidebar_related_query-&gt;the_post();<br />
$do_not_duplicate = $post-&gt;ID;<br />
?&gt;</p>
<p>&lt;div class=&#8221;sidebar_recent_title&#8221; id=&#8221;post-&lt;?php the_ID(); ?&gt;&#8221;&gt;<br />
&lt;a xhref=&#8221;&lt;?php the_permalink(); ?&gt;&#8221; rel=&#8221;bookmark&#8221;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;<br />
&lt;/div&gt;</p>
<p>&lt;?php endwhile; ?&gt;</p></blockquote>
<p>Et voila.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.finaldesign.co.uk/blog/wordpress/displaying-the-latest-current-category-articles-in-the-sidebar.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>WordPress SEO Indexing Meta Tags</title>
		<link>http://www.finaldesign.co.uk/blog/wordpress/wordpress-seo-indexing-meta-tags.html</link>
		<comments>http://www.finaldesign.co.uk/blog/wordpress/wordpress-seo-indexing-meta-tags.html#comments</comments>
		<pubDate>Sun, 23 Dec 2007 08:55:09 +0000</pubDate>
		<dc:creator>Omar</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.finaldesign.co.uk/blog/archives/wordpress-seo-indexing-meta-tags.html</guid>
		<description><![CDATA[It is not always best to have all of your pages indexed and cached by the search engines. Also not all links should be followed, therefore some editing of your wordpress header might be in order. Here is what I sometimes do. Place the following in your wordpress themes header.php file, if the page is [...]]]></description>
			<content:encoded><![CDATA[<p>It is not always best to have all of your pages indexed and cached by the search engines. Also not all links should be followed, therefore some editing of your wordpress header might be in order. Here is what I sometimes do.<br />
Place the following in your wordpress themes header.php file, if the page is a single, page, or if its the home page then the robots will index and follow links on it. Otherwise search engines will not index the pages but will still follow the links.<span id="more-37"></span></p>
<blockquote><p>&lt;?php if(is_single() || is_page() || is_home()) { ?&gt;<br />
&lt;meta name=&#8221;googlebot&#8221; content=&#8221;index,noarchive,follow,noodp&#8221; /&gt;<br />
&lt;meta name=&#8221;robots&#8221; content=&#8221;all,index,follow&#8221; /&gt;<br />
&lt;meta name=&#8221;msnbot&#8221; content=&#8221;all,index,follow&#8221; /&gt;<br />
&lt;?php } else { ?&gt;<br />
&lt;meta name=&#8221;googlebot&#8221; content=&#8221;noindex,noarchive,follow,noodp&#8221; /&gt;<br />
&lt;meta name=&#8221;robots&#8221; content=&#8221;noindex,follow&#8221; /&gt;<br />
&lt;meta name=&#8221;msnbot&#8221; content=&#8221;noindex,follow&#8221; /&gt;<br />
&lt;?php }?&gt;</p></blockquote>
<p>Note that if you do not use a home.php page on your wordpress blog, it should be removes from the equasion and read as such:</p>
<blockquote><p>&lt;?php if(is_single() || is_page()) { ?&gt;</p></blockquote>
<blockquote />
]]></content:encoded>
			<wfw:commentRss>http://www.finaldesign.co.uk/blog/wordpress/wordpress-seo-indexing-meta-tags.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving Kubrick&#8217;s Sidebar to the Left</title>
		<link>http://www.finaldesign.co.uk/blog/wordpress/moving-kubricks-sidebar-to-the-left.html</link>
		<comments>http://www.finaldesign.co.uk/blog/wordpress/moving-kubricks-sidebar-to-the-left.html#comments</comments>
		<pubDate>Sat, 15 Dec 2007 23:26:28 +0000</pubDate>
		<dc:creator>Omar</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.finaldesign.co.uk/blog/archives/moving-kubricks-sidebar-to-the-left.html</guid>
		<description><![CDATA[Within the Theme Editor, select Stylesheet from the theme files listed vertically to the right. The Style.css file should now be presented in the editor window and is ready for editing. From the editor window, find the following code: .narrowcolumn { float: left; padding: 0 0 20px 45px; margin: 0px 0 0; width: 450px; } [...]]]></description>
			<content:encoded><![CDATA[<p>Within the Theme Editor, select Stylesheet from the theme files listed vertically to the right. The Style.css file should now be presented in the editor window and is ready for editing.</p>
<p>From the editor window, find the following code:<span id="more-36"></span></p>
<blockquote><p>.narrowcolumn {<br />
float: left;<br />
padding: 0 0 20px 45px;<br />
margin: 0px 0 0;<br />
width: 450px;<br />
}</p></blockquote>
<p>and replace with:</p>
<blockquote><p>.narrowcolumn {<br />
float: right;<br />
padding: 0 45px 20px 0px;<br />
margin: 0px 0 0;<br />
width: 450px;<br />
}</p></blockquote>
<p>Next, find:</p>
<blockquote><p>#sidebar<br />
{<br />
padding: 20px 0 10px 0;<br />
margin-left: 545px;<br />
width: 190px;<br />
}</p></blockquote>
<p>and replace with:</p>
<blockquote><p>#sidebar<br />
{<br />
padding: 20px 0 10px 0;<br />
margin-left: 20px;<br />
width: 190px;<br />
}</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.finaldesign.co.uk/blog/wordpress/moving-kubricks-sidebar-to-the-left.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embedding YouTube or Google Videos to WordPress v2 Posts</title>
		<link>http://www.finaldesign.co.uk/blog/wordpress/embedding-youtube-or-google-videos-to-wordpress-v2-posts.html</link>
		<comments>http://www.finaldesign.co.uk/blog/wordpress/embedding-youtube-or-google-videos-to-wordpress-v2-posts.html#comments</comments>
		<pubDate>Thu, 14 Dec 2006 13:53:57 +0000</pubDate>
		<dc:creator>Omar</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.thewebconsultant.co.uk/blog/archives/embedding-youtube-or-google-videos-to-wordpress-v2-posts.html</guid>
		<description><![CDATA[I had some problems embedding Youtube and Google Video to this site, but eventually worked out a simple solution for both. Paste the following into your editor (ensuring the rich editor is turned off, or alternative temporarily disable javascript if you are using Firefox with the &#8216;NoScript&#8217; extension) &#60;embed style=&#8221;width: 212px; height: 257px;&#8221; id=&#8221;VideoPlayback&#8221; type=&#8221;application/x-shockwave-flash&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>I had some problems embedding Youtube and Google Video to this site, but eventually worked out a simple solution for both. Paste the following into your editor (ensuring the rich editor is turned off, or alternative temporarily disable javascript if you are using Firefox with the &#8216;NoScript&#8217; extension)</p>
<p>&lt;embed style=&#8221;width: 212px; height: 257px;&#8221; id=&#8221;VideoPlayback&#8221; type=&#8221;application/x-shockwave-flash&#8221; xsrc=&#8221;web-address-of-the-video-you-want-to-view&#8221; mce_src=&#8221;web-address-of-the-video-you-want-to-view&#8221; flashvars=&#8221;"&gt;</p>
<p>That&#8217;s it&#8230; Simply replace &#8216;web-address-of-the-video-you-want-to-view&#8217; with either youTube or Google Video url and set the appropriate video dimensions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.finaldesign.co.uk/blog/wordpress/embedding-youtube-or-google-videos-to-wordpress-v2-posts.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
