<?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>Cordobo &#187; Themes</title>
	<atom:link href="http://cordobo.com/tag/themes/feed/" rel="self" type="application/rss+xml" />
	<link>http://cordobo.com</link>
	<description>Weblog of Andreas Jacob on Webdesign and CSS</description>
	<lastBuildDate>Wed, 05 Oct 2011 19:00:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WordPress: Limited Randomized Blogroll without Plugin</title>
		<link>http://cordobo.com/1476-random-wordpress-blogroll/</link>
		<comments>http://cordobo.com/1476-random-wordpress-blogroll/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 15:10:05 +0000</pubDate>
		<dc:creator>Andreas Jacob</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://cordobo.com/?p=1476</guid>
		<description><![CDATA[Create a smaller blogroll with many links with Wordpress built-in functions wp_list_bookmarks, limit, and orderby]]></description>
			<content:encoded><![CDATA[<p>Have you ever redesigned your blog and <strong>your new design only allowed a limited space for your &#8220;one mile high&#8221; blogroll?</strong> A friend of mine ran into exactly this problem with his newly redesigned blog.</p>
<p><span id="more-1476"></span></p>
<p>The really simple solution we came up is resource-friendly while <strong>he can keep all of his links</strong>. Most probably the best thing of this simple usage of WordPress functions: it&#8217;s entirely based on WordPress&#8217; <strong>template tags</strong> and there is no need for another plugin.</p>
<h3>WordPress Template Tags</h3>
<p>Our weapon of choice is the <a href="http://codex.wordpress.org/Template_Tags/wp_list_bookmarks">wp_list_bookmarks</a> template tag. It comes in handy if you use a new <a href="http://cordobo.com/free-wordpress-templates/">WordPress theme</a> as starting point, which already uses this tag. If not, now it&#8217;s the time to get rid of deprecated tags like <code>get_links()</code> or <code>get_links_list()</code>.</p>
<p>To start, open the file where your link-list is located, most probably sidebar.php or footer.php. The default usage for wp_list_bookmarks is:</p>
<p><code>&lt;?php wp_list_bookmarks(); ?&gt;</code></p>
<h3>Useful parameters: limit and orderby</h3>
<p>Remember, we need to limit the output because of the new design while still giving link-love to all of our blog-friends. To achieve this goal, we applied two parameters to the tag:</p>
<p><code>limit</code> and <code>orderby</code>.</p>
<h3>The Function</h3>
<p>These two parameters combined provide us with the limited set of randomized links we need. Seven randomized links fit into the available space, so here is the final template tag with two parameters applied:</p>
<p><code>&lt;?php wp_list_bookmarks('limit=7&#038;orderby=rand'); ?&gt;</code></p>
<p>Jupp, it&#8217;s remarkably simple, but it works exactly as intended.</p>
]]></content:encoded>
			<wfw:commentRss>http://cordobo.com/1476-random-wordpress-blogroll/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>WordPress: Exclude Post-Feed-Links and Trackback URLs from Google using &#8220;nofollow&#8221;</title>
		<link>http://cordobo.com/1074-nofollow-post-feed-links-trackback-urls/</link>
		<comments>http://cordobo.com/1074-nofollow-post-feed-links-trackback-urls/#comments</comments>
		<pubDate>Sat, 02 May 2009 15:07:10 +0000</pubDate>
		<dc:creator>Andreas Jacob</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[duplicate content]]></category>
		<category><![CDATA[nofollow]]></category>
		<category><![CDATA[RSS-Feed]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[Trackback-URL]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://cordobo.com/?p=1074</guid>
		<description><![CDATA[In my last article about WordPress, Canonical URL’s, Optimized Permalinks, I explained why and how I easily managed to change my blogs permalinks structure with Dean’s Permalinks Migration plugin without the hassle of 404s or duplicate content. With the help of Arne&#8217;s Google XML Sitemaps plugin you can easily create a Sitemap for Google Webmastertools [...]]]></description>
			<content:encoded><![CDATA[<p>In my last article about WordPress, <a href="http://cordobo.com/1043-canonical-urls-optimized-permalinks/">Canonical URL’s, Optimized Permalinks</a>, I explained why and how I easily managed to change my blogs permalinks structure with <a href="http://cordobo.com/1043-canonical-urls-optimized-permalinks/">Dean’s Permalinks Migration</a> plugin without the hassle of 404s or duplicate content.</p>
<p><span id="more-1074"></span></p>
<p>With the help of Arne&#8217;s <a href="http://wordpress.org/extend/plugins/google-sitemap-generator/">Google XML Sitemaps</a> plugin you can easily create a Sitemap for <a href="https://www.google.com/webmasters/tools/">Google Webmastertools</a> and check your blog for any inconsistencies <strong>after</strong> Googlebot re-indexes your site. I was presented with some easy to fix 404&#8242;s, which resulted from an earlier permalinks structure. The next thing was to remove the &#8220;<strong>post feed links</strong>&#8221; and &#8220;<strong>trackback-URLs</strong>&#8221; from the Google index to avoid <strong>duplicate content</strong>.</p>
<p>You can tell Google not to index a certain URL by applying <strong>rel=&#39;nofollow&#39;</strong> to the link. Open <strong>single.php</strong> from your theme&#8217;s folder and replace</p>
<p><code>&lt;?php post_comments_feed_link(&#39;RSS 2.0 Feed&#39;); ?&gt;</code><br />
with<br />
<code>&lt;a href=&#34;&lt;?php echo get_post_comments_feed_link() ?&gt;&#34; rel=&#34;nofollow&#34;>RSS 2.0 Feed&lt;/a&gt;</code></p>
<p>The trackback-URLs are easier to fix. In my case they came attached with</p>
<p><code>rel=&#34;trackback&#34;</code><br />
to which I added a <strong>&#8221; nofollow&#8221;</strong> so it resulted in<br />
<code>rel=&#34;trackback nofollow&#34;</code></p>
<p>Repeat this procedure with all the files with &#8220;feed&#8221; and &#8220;trackback&#8221; URIs and upload them to your themes folder. Finally, wait and let the magic happen.</p>
]]></content:encoded>
			<wfw:commentRss>http://cordobo.com/1074-nofollow-post-feed-links-trackback-urls/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Workaround: Unavailable Widgets in WordPress Admin Panel</title>
		<link>http://cordobo.com/843-workaround-unavailable-widgets-in-wordpress-admin-panel/</link>
		<comments>http://cordobo.com/843-workaround-unavailable-widgets-in-wordpress-admin-panel/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 09:49:24 +0000</pubDate>
		<dc:creator>Andreas Jacob</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[widget]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[workaround]]></category>

		<guid isPermaLink="false">http://cordobo.com/?p=843</guid>
		<description><![CDATA[This is a simple workaround for widgets which seem to be unavailable in your WordPress admin panel. When I started using my latest theme &#8220;Green Park 2&#8220;, I encountered a really nasty bug in WordPress 2.7. If you use a theme with two or more available sidebars and within each sidebar one or more widgets [...]]]></description>
			<content:encoded><![CDATA[<p>This is a simple workaround for widgets which seem to be unavailable in your WordPress admin panel. When I started using my latest theme &#8220;<a href="/green-park-2/">Green Park 2</a>&#8220;, I encountered a really nasty bug in WordPress 2.7.<br />
If you use a theme with <strong>two or more available sidebars</strong> and within each sidebar one or more widgets and you switch to another <strong>theme with only one sidebar</strong>, some of the widgets become unavailable in the admin panel: and you can neither deactivate nor rearrange them.</p>
<p><span id="more-843"></span></p>
<p>Although the solution is quite simple, it&#8217;s a kind of annoying: <strong>the widgets are in use and hidden in the 2<sup>nd</sup> or 3<sup>rd</sup> sidebar</strong> &ndash; WordPress does not provide a simple way to deactivate or rearrange your widgets if you use a theme with only one sidebar and you have no access to the 2<sup>nd</sup> or 3<sup>rd</sup> sidebar.</p>
<ul>
<li>Switch back to a theme with two or more sidebars.</li>
<li>Remove all the widgets from the sidebars.</li>
<li>Switch back to your new 1-sidebar-only theme</li>
<li>Reactivate your widgets.</li>
<li>Enjoy ;)</li>
</ul>
<p>Remember: the content of Text-Widgets gets lost if you deactivate them!</p>
]]></content:encoded>
			<wfw:commentRss>http://cordobo.com/843-workaround-unavailable-widgets-in-wordpress-admin-panel/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

