<?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>Konstruktors &#187; WordPress</title>
	<atom:link href="http://konstruktors.com/blog/topic/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://konstruktors.com</link>
	<description>Web Design, WordPress and Performance Services</description>
	<lastBuildDate>Wed, 25 Apr 2012 12:08:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-beta4-20790</generator>
<atom:link rel="hub" href="http://konstruktors.superfeedr.com/"/><atom:link rel="hub" href="http://pubsubhubbub.appspot.com/"/>		<item>
		<title>.po/.mo File Conversion Tool for WordPress&#160;Translators</title>
		<link>http://konstruktors.com/blog/wordpress/3627-convert-po-mo-files-online/</link>
		<comments>http://konstruktors.com/blog/wordpress/3627-convert-po-mo-files-online/#comments</comments>
		<pubDate>Wed, 25 Apr 2012 12:08:22 +0000</pubDate>
		<dc:creator>Kaspars</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://konstruktors.com/?p=3627</guid>
		<description><![CDATA[I&#8217;ve created a very simple online tool for converting .po and .mo files (both directions) which many WordPress developers will find useful especially when translators forget to email the original .po file. You can learn more about translating WordPress core, plugins and themes at WordPress Codex. Related posts OpenID Plugin and WordPress&#160;2.8 GPL Sockets Baltic Amber Admin Themes [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve created a very simple <a title="Convert .mo to .po and .po to .mo files" href="http://tools.konstruktors.com">online tool for converting <code>.po</code> and <code>.mo</code> files</a> (both directions) which many WordPress developers will find useful especially when translators forget to email the original <code>.po</code> file. You can learn more about translating WordPress core, plugins and themes at <a title="Learn how to translate WordPress core, themes and plugins" href="http://codex.wordpress.org/Translating_WordPress">WordPress Codex</a>.</p>
<p><a href="http://tools.konstruktors.com"><img class="aligncenter size-medium wp-image-3628" title=".mo and .po file convertion tool for WordPress developers" src="http://konstruktors.com/wp-content/uploads/2012/04/mo-po-convertion-tool-online-500x326.png" alt="" width="500" height="326" /></a></p>
<h4>Related posts</h4><ol>
<li><a href='http://konstruktors.com/blog/wordpress/1241-openid-plugin-and-wordpress-2-8/' rel='bookmark' title='OpenID Plugin and WordPress&nbsp;2.8'>OpenID Plugin and WordPress&nbsp;2.8</a></li>
<li><a href='http://konstruktors.com/blog/free-software/2550-gpl-sockets/' rel='bookmark' title='GPL Sockets'>GPL Sockets</a></li>
<li><a href='http://konstruktors.com/blog/wordpress/263-with-colour-picker-baltic-amber-schemes-themes/' rel='bookmark' title='Baltic Amber Admin Themes &amp; Schemes Now With a Colour&nbsp;Picker'>Baltic Amber Admin Themes &amp; Schemes Now With a Colour&nbsp;Picker</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://konstruktors.com/blog/wordpress/3627-convert-po-mo-files-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add the Order of Widgets Within a Sidebar as a CSS Class to All&#160;Widgets</title>
		<link>http://konstruktors.com/blog/wordpress/3615-add-widget-order-css-class-sidebar/</link>
		<comments>http://konstruktors.com/blog/wordpress/3615-add-widget-order-css-class-sidebar/#comments</comments>
		<pubDate>Thu, 19 Apr 2012 17:18:43 +0000</pubDate>
		<dc:creator>Kaspars</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://konstruktors.com/?p=3615</guid>
		<description><![CDATA[Here is a simple filter to automatically add a class attribute like widget-order-1 to all widgets within sidebars: add_action('init', 'add_widget_order_class'); function add_widget_order_class() { global $wp_registered_sidebars, $wp_registered_widgets; $sidebars = wp_get_sidebars_widgets(); if (empty($sidebars)) return; foreach ($sidebars as $sidebar_id =&#62; $widgets) { if (empty($widgets)) continue; foreach ($widgets as $i =&#62; $widget_id) { $order = $i + 1; $wp_registered_widgets[$widget_id]['classname'] [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a simple filter to automatically add a class attribute like <code>widget-order-1</code> to all widgets within sidebars:</p>
<pre>add_action('init', 'add_widget_order_class');
function add_widget_order_class() {
	global $wp_registered_sidebars, $wp_registered_widgets;
	$sidebars = wp_get_sidebars_widgets();
	if (empty($sidebars))
		return;
	foreach ($sidebars as $sidebar_id =&gt; $widgets) {
		if (empty($widgets))
			continue;
		foreach ($widgets as $i =&gt; $widget_id) {
			$order = $i + 1;
			$wp_registered_widgets[$widget_id]['classname'] .= ' widget-order-' . $order;
		}
	}
}</pre>
<h4>Related posts</h4><ol>
<li><a href='http://konstruktors.com/blog/wordpress/101-wordpress-plugin-custom-function-widgets/' rel='bookmark' title='WordPress Plugin: Custom Function&nbsp;Widgets'>WordPress Plugin: Custom Function&nbsp;Widgets</a></li>
<li><a href='http://konstruktors.com/blog/wordpress/593-tabbed-widgets-plugin-update-076/' rel='bookmark' title='Tabbed Widgets Plugin Update&nbsp;(0.76)'>Tabbed Widgets Plugin Update&nbsp;(0.76)</a></li>
<li><a href='http://konstruktors.com/blog/wordpress/322-tabbed-widgets-plugin-for-wordpress/' rel='bookmark' title='Tabbed Widgets Plugin&nbsp;for WordPress'>Tabbed Widgets Plugin&nbsp;for WordPress</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://konstruktors.com/blog/wordpress/3615-add-widget-order-css-class-sidebar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable WordPress Dashboard Quick&#160;Login</title>
		<link>http://konstruktors.com/blog/wordpress/3594-wordpress-dashboard-quick-login/</link>
		<comments>http://konstruktors.com/blog/wordpress/3594-wordpress-dashboard-quick-login/#comments</comments>
		<pubDate>Sun, 26 Feb 2012 19:30:00 +0000</pubDate>
		<dc:creator>Kaspars</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://konstruktors.com/?p=3594</guid>
		<description><![CDATA[All of the web browsers today have input autocomplete or auto-fill feature built-in and chances are that you have your WordPress username and password stored in the browser and the input fields are completed automatically upon visiting /wp-login.php. Wouldn&#8217;t it be nice if WordPress would log you in automatically if the fields have been pre-filled [...]]]></description>
			<content:encoded><![CDATA[<p>All of the web browsers today have input autocomplete or auto-fill feature built-in and chances are that you have your WordPress username and password stored in the browser and the input fields are completed automatically upon visiting <code>/wp-login.php</code>. Wouldn&#8217;t it be nice if WordPress would log you in <strong>automatically</strong> if the fields have been pre-filled by the browser?</p>
<p><iframe src="http://www.screenr.com/embed/iLT8" frameborder="0" width="500" height="305"></iframe></p>
<p>Here is a simple snippet of PHP and Javascript that checks if the input fields have been filled and submits the login form one second after the page has been loaded. All you have to do is append <code>#quicklogin</code> to your login bookmark URL so that it looks like <code>http://example.com/wp-admin/#quicklogin</code> and Javascript will do its magic. Add this to your <code>functions.php</code>.</p>
<pre>add_action('login_footer', 'enable_admin_quick_login');
function enable_admin_quick_login() {
?&gt;
	&lt;script type="text/javascript"&gt;
		$url_hash = window.location.hash;
		if ($url_hash.indexOf('quicklogin') != -1) {
			setTimeout(function() {
				if (document.loginform.user_login.value &amp;&amp; document.loginform.user_pass.value) {
					document.loginform.submit();
				}
			}, 1000);
		}
	&lt;/script&gt;
&lt;?php
}</pre>
<h4>Related posts</h4><ol>
<li><a href='http://konstruktors.com/blog/wordpress/3529-custom-redirect-to-wordpress-login-dashboard/' rel='bookmark' title='Add Custom URL Redirects to Your WordPress Dashboard Areas or Login&nbsp;Page'>Add Custom URL Redirects to Your WordPress Dashboard Areas or Login&nbsp;Page</a></li>
<li><a href='http://konstruktors.com/blog/wordpress/3203-how-to-automatically-add-image-credit-or-source-url-to-photo-captions-in-wordpress/' rel='bookmark' title='How to Automatically Add Image Credit or Source URL to Photo Captions in&nbsp;WordPress'>How to Automatically Add Image Credit or Source URL to Photo Captions in&nbsp;WordPress</a></li>
<li><a href='http://konstruktors.com/blog/wordpress/2885-enable-plugin-theme-updates-and-pretty-permalinks-nginx/' rel='bookmark' title='Enable WordPress Plugin, Theme Updates and Pretty Permalinks on&nbsp;Nginx'>Enable WordPress Plugin, Theme Updates and Pretty Permalinks on&nbsp;Nginx</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://konstruktors.com/blog/wordpress/3594-wordpress-dashboard-quick-login/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Avoid Widow &#8220;Read More&#8221; Links in Post&#160;Excerpts</title>
		<link>http://konstruktors.com/blog/wordpress/3462-avoid-widow-read-more-links/</link>
		<comments>http://konstruktors.com/blog/wordpress/3462-avoid-widow-read-more-links/#comments</comments>
		<pubDate>Wed, 22 Feb 2012 09:30:34 +0000</pubDate>
		<dc:creator>Kaspars</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[action]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://konstruktors.com/?p=3462</guid>
		<description><![CDATA[A &#8220;widow&#8221; in typography is defined as: A paragraph-ending line that falls at the beginning of the following page/column, thus separated from the rest of the text. If you are using the standard inline &#8220;Read more&#8221; links at the end of post excerpts on index and archive pages, here is a simple filter to ensure [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://konstruktors.com/wp-content/uploads/2012/02/read-more-widow-last-word-wordpress.jpg"><img class="aligncenter size-medium wp-image-3549" title="Read more link widow in WordPress excerpts" src="http://konstruktors.com/wp-content/uploads/2012/02/read-more-widow-last-word-wordpress-500x150.jpg" alt="Read more link widow in WordPress excerpts" width="500" height="150" /></a></p>
<p>A &#8220;widow&#8221; in typography is defined as:</p>
<blockquote><p>A paragraph-ending line that falls at the beginning of the following page/column, thus separated from the rest of the text.</p></blockquote>
<p>If you are using the standard inline &#8220;Read more&#8221; links at the end of post excerpts on index and archive pages, here is a simple filter to ensure that a non-breaking space is added before the &#8220;Read more&#8221; link:</p>
<pre>add_filter('the_content_more_link', 'prepend_non_breaking');
function prepend_non_breaking($more_link) {
	return str_replace(' &lt;a ', '&amp;nbsp;&lt;a ', $more_link);
}</pre>
<h4>Related posts</h4><ol>
<li><a href='http://konstruktors.com/blog/wordpress/3364-sticky-posts-as-category-description/' rel='bookmark' title='Use Sticky Posts as Category&nbsp;Description'>Use Sticky Posts as Category&nbsp;Description</a></li>
<li><a href='http://konstruktors.com/blog/wordpress/944-widget-context-update-word-count-check/' rel='bookmark' title='Widget Context Update &#8212; Word Count&nbsp;Check'>Widget Context Update &#8212; Word Count&nbsp;Check</a></li>
<li><a href='http://konstruktors.com/blog/media-publishing/873-rights-to-read-a-book-out-loud/' rel='bookmark' title='Rights to Read a Book Out&nbsp;Loud'>Rights to Read a Book Out&nbsp;Loud</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://konstruktors.com/blog/wordpress/3462-avoid-widow-read-more-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add Custom URL Redirects to Your WordPress Dashboard Areas or Login&#160;Page</title>
		<link>http://konstruktors.com/blog/wordpress/3529-custom-redirect-to-wordpress-login-dashboard/</link>
		<comments>http://konstruktors.com/blog/wordpress/3529-custom-redirect-to-wordpress-login-dashboard/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 10:00:30 +0000</pubDate>
		<dc:creator>Kaspars</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://konstruktors.com/?p=3529</guid>
		<description><![CDATA[Ever wanted to use something like example.com/backend or example.com/dash to access your WordPress dashboard or login area? Here is a simple snippet of PHP for your functionality plugin or functions.php to do just that &#8212; it uses standard WordPress URL rewrite API. Update: turns out that in WordPress 3.4 there are new default redirects (/admin, [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to use something like <code>example.com/backend</code> or <code>example.com/dash</code> to access your WordPress dashboard or login area? <del>Here is a simple snippet of PHP for your <em>functionality</em> plugin or <code>functions.php</code> to do just that &#8212; it uses standard WordPress URL rewrite API.</del></p>
<p><strong>Update:</strong> turns out that in WordPress 3.4 there are new default redirects (<code>/admin</code>, <code>/dashboard</code> and <code>/login</code>) implemented in the core (see <a href="http://core.trac.wordpress.org/changeset/19880">this ticket</a>). So here is a better way to add your own redirects which will work only if you don&#8217;t have a page or post with the same name (slug) already:</p>
<h3>Updated Version:</h3>
<pre>add_action('template_redirect', 'add_my_custom_redirects');
function add_my_custom_redirects() {
	if (!is_404())
		return;
	$current_uri = untrailingslashit($_SERVER['REQUEST_URI']);
	$my_admin_uris = array(
		home_url('dash', 'relative'),
		home_url('your-custom-uri', 'relative')
	);
	if (in_array($current_uri, $my_admin_uris)) {
 		wp_redirect(admin_url());
 		exit;
	}
}</pre>
<h3>The Obsolete Version:</h3>
<pre>add_filter('generate_rewrite_rules', 'add_my_custom_rewrites');
function add_my_custom_rewrites($wp_rewrite) {
    $my_rewrites = array(
	'dash' =&gt; 'wp-admin'
    );
    $wp_rewrite-&gt;rules = $my_rewrites + $wp_rewrite-&gt;rules;
}</pre>
<h4>Related posts</h4><ol>
<li><a href='http://konstruktors.com/blog/wordpress/3594-wordpress-dashboard-quick-login/' rel='bookmark' title='Enable WordPress Dashboard Quick&nbsp;Login'>Enable WordPress Dashboard Quick&nbsp;Login</a></li>
<li><a href='http://konstruktors.com/blog/web-design/570-wordpress-dashboard-ui-idea-3/' rel='bookmark' title='WordPress Dashboard UI Idea&nbsp;#3'>WordPress Dashboard UI Idea&nbsp;#3</a></li>
<li><a href='http://konstruktors.com/blog/wordpress/270-baltic-amber-1-32-removed-youhave-from-dashboard/' rel='bookmark' title='Baltic Amber 1.32 &#8212; removed .youare section from your WordPress&nbsp;Dashboard'>Baltic Amber 1.32 &#8212; removed .youare section from your WordPress&nbsp;Dashboard</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://konstruktors.com/blog/wordpress/3529-custom-redirect-to-wordpress-login-dashboard/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>How to Add Post Categories and Tags as #Hashtags to Tweets Automatically with the Simple Twitter Connect&#160;Plugin</title>
		<link>http://konstruktors.com/blog/wordpress/3478-add-post-categories-tags-as-hashtags-to-tweets-automatically-stc-plugin/</link>
		<comments>http://konstruktors.com/blog/wordpress/3478-add-post-categories-tags-as-hashtags-to-tweets-automatically-stc-plugin/#comments</comments>
		<pubDate>Wed, 15 Feb 2012 00:16:03 +0000</pubDate>
		<dc:creator>Kaspars</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://konstruktors.com/?p=3478</guid>
		<description><![CDATA[Simple Twitter Connect is a really useful, simple and well coded plugin by Otto (@Otto42) that allows you to post tweets right from your WordPress dashboard or automatically after publishing new posts. A standard tweet containing a prefix (such as &#8220;New blog post:&#8221;), post title and a link to that post is generated automatically by the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ottopress.com/wordpress-plugins/simple-twitter-connect/">Simple Twitter Connect</a> is a really useful, simple and well coded plugin by <a href="http://ottopress.com/">Otto</a> (<a href="https://twitter.com/#!/Otto42">@Otto42</a>) that allows you to post tweets right from your WordPress dashboard or automatically after publishing new posts.</p>
<p>A standard tweet containing a prefix (such as &#8220;New blog post:&#8221;), post title and a link to that post is generated automatically by the plugin. Wouldn&#8217;t it be nice to include also <strong>post categories and tags as hashtags</strong> in order to add additional metadata along with the post title? Like so:</p>
<div id="attachment_3483" class="wp-caption aligncenter" style="width: 510px"><a href="http://konstruktors.com/wp-content/uploads/2012/02/twitter-publisher-before-after.jpg"><img class="size-medium wp-image-3483" title="Post categories and tags added as hashtags in Twitter Publisher using Simple Twitter Connect plugin" src="http://konstruktors.com/wp-content/uploads/2012/02/twitter-publisher-before-after-500x292.jpg" alt="Post categories and tags added as hashtags in Twitter Publisher using Simple Twitter Connect plugin" width="500" height="292" /></a><p class="wp-caption-text">Post categories and tags replaced or added to tweet as hashtags</p></div>
<p>Thanks to the <code>stc_publish_text</code> filter supplied with the plugin there is an easy way to do it. Add this snippet to your theme&#8217;s <code>functions.php</code>:</p>
<pre>add_filter('stc_publish_text', 'add_taxonomies_to_tweets', 10, 2);
function add_taxonomies_to_tweets($output, $id) {
	if ($cats = get_the_category($id))
		foreach ($cats as $c =&gt; $cat)
			$output = add_taxonomy_hashtag($output, $cat-&gt;cat_name);
	if ($tags = get_the_tags($id))
		foreach ($tags as $t =&gt; $tag)
			$output = add_taxonomy_hashtag($output, $tag-&gt;name);
	return $output;
}
function add_taxonomy_hashtag($tweet, $tax) {
	if (stripos($tax, ' ')) // Remove whitespace
		$tax = str_replace(' ', '', $tax);
	if (strlen($tweet) + 1 &gt; 140) { // Check if the new tweet is not too long
		return $tweet;
	} elseif (stripos($tweet, $tax)) {  // Replace an existing word with a tag
		return str_replace($tax, '#' . $tax, $tweet);
	} elseif (strlen($tweet) + strlen($tax) + 1 &lt; 140) { // or simply append it
		return $tweet . ' #' . $tax;
	}
	return $tweet;
}</pre>
<h4>Related posts</h4><ol>
<li><a href='http://konstruktors.com/blog/wordpress/3203-how-to-automatically-add-image-credit-or-source-url-to-photo-captions-in-wordpress/' rel='bookmark' title='How to Automatically Add Image Credit or Source URL to Photo Captions in&nbsp;WordPress'>How to Automatically Add Image Credit or Source URL to Photo Captions in&nbsp;WordPress</a></li>
<li><a href='http://konstruktors.com/blog/wordpress/1850-automatically-escape-html-entities-of-code-fragments-in-comments/' rel='bookmark' title='Automatically Escape HTML Entities of Code Fragments in&nbsp;Comments'>Automatically Escape HTML Entities of Code Fragments in&nbsp;Comments</a></li>
<li><a href='http://konstruktors.com/blog/wordpress/2667-how-to-add-shortlink-support-to-twitter-tools/' rel='bookmark' title='How to Add Shortlink Support to Twitter&nbsp;Tools'>How to Add Shortlink Support to Twitter&nbsp;Tools</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://konstruktors.com/blog/wordpress/3478-add-post-categories-tags-as-hashtags-to-tweets-automatically-stc-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Round 2 of Tumblr vs. WordPress vs. Blogger:&#160;FIGHT!</title>
		<link>http://konstruktors.com/blog/wordpress/3419-stats-tumblr-vs-wordpress-vs-blogger/</link>
		<comments>http://konstruktors.com/blog/wordpress/3419-stats-tumblr-vs-wordpress-vs-blogger/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 08:00:54 +0000</pubDate>
		<dc:creator>Kaspars</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://konstruktors.com/?p=3419</guid>
		<description><![CDATA[Tumblr is up almost 70% from last December, steadily gaining share. WordPress seems to have followed a similar path on par with an audience size close to Tumblr. Lastly, Blogger seems to be on a steady albeit conservative growth path. via Round 2 of Tumblr vs. WordPress vs. Blogger: FIGHT! Related posts WordPress Plugin of [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://blog.compete.com/2012/02/08/round-2-of-tumbr-vs-wordpress-vs-blogger-fight/"><img class="size-medium wp-image-3426 aligncenter" title="Visits to Blogger, WordPress and Tumblr" src="http://konstruktors.com/wp-content/uploads/2012/02/Visits-to-Blogger-WordPress-and-Tumblr1-500x358.png" alt="Visits to Blogger, WordPress and Tumblr" width="500" height="358" /></a></p>
<blockquote><p>Tumblr is up almost 70% from last December, steadily gaining share. WordPress seems to have followed a similar path on par with an audience size close to Tumblr. Lastly, Blogger seems to be on a steady albeit conservative growth path.</p></blockquote>
<p>via <a href="http://blog.compete.com/2012/02/08/round-2-of-tumbr-vs-wordpress-vs-blogger-fight/">Round 2 of Tumblr vs. WordPress vs. Blogger: FIGHT!</a></p>
<h4>Related posts</h4><ol>
<li><a href='http://konstruktors.com/blog/wordpress/163-php-speedy-wordpress-plugin-of-the-year/' rel='bookmark' title='WordPress Plugin of the Year: PHP&nbsp;Speedy'>WordPress Plugin of the Year: PHP&nbsp;Speedy</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://konstruktors.com/blog/wordpress/3419-stats-tumblr-vs-wordpress-vs-blogger/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Away Until February&#160;2012</title>
		<link>http://konstruktors.com/blog/wordpress/3397-away-until-february-2012/</link>
		<comments>http://konstruktors.com/blog/wordpress/3397-away-until-february-2012/#comments</comments>
		<pubDate>Sun, 18 Dec 2011 15:05:24 +0000</pubDate>
		<dc:creator>Kaspars</dc:creator>
				<category><![CDATA[Meta]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://konstruktors.com/?p=3397</guid>
		<description><![CDATA[I am participating in the Dakar rally 2012 from January 1 to 15th in Argentina, Chile and Peru. We have built the world&#8217;s first electric off-road rally car OSCar eO and our aim is to win the &#8220;Alternative Energy&#8221; category. Plugin Updates I know that the latest WordPress update (version 3.3) broke both Widget Context [...]]]></description>
			<content:encoded><![CDATA[<p>I am participating in the <a href="http://dakar.com">Dakar rally 2012</a> from January 1 to 15th in Argentina, Chile and Peru. We have built the world&#8217;s first <a href="http://oscareo.lv">electric off-road rally car</a> <strong>OSCar eO</strong> and our aim is to win the &#8220;Alternative Energy&#8221; category.</p>
<h3>Plugin Updates</h3>
<p>I know that the latest WordPress update (version 3.3) broke both Widget Context and Tabbed Widgets plugins. I&#8217;ll be able to fix them only by the end of January 2012. Please check the <a href="http://wordpress.org/tags/widget-context?forum_id=10">WordPress forum</a> for temporary fixes.</p>
<p>Wish you all happy holidays and don&#8217;t forget to follow us in the Dakar rally (live on <a href="http://www.dakar.com">dakar.com</a> and on your TV) and see how we&#8217;re changing the perception of what electric cars can do!</p>
<h4>Related posts</h4><ol>
<li><a href='http://konstruktors.com/blog/wordpress/105-suggestions-for-writing-flexible-and-usable-plugin/' rel='bookmark' title='Suggestions for writing flexible and usable&nbsp;plugin'>Suggestions for writing flexible and usable&nbsp;plugin</a></li>
<li><a href='http://konstruktors.com/blog/free-software/1589-whitehouse-gov-runs-drupal/' rel='bookmark' title='WhiteHouse.gov Runs&nbsp;Drupal'>WhiteHouse.gov Runs&nbsp;Drupal</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://konstruktors.com/blog/wordpress/3397-away-until-february-2012/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Use Sticky Posts as Category&#160;Description</title>
		<link>http://konstruktors.com/blog/wordpress/3364-sticky-posts-as-category-description/</link>
		<comments>http://konstruktors.com/blog/wordpress/3364-sticky-posts-as-category-description/#comments</comments>
		<pubDate>Wed, 09 Nov 2011 14:24:56 +0000</pubDate>
		<dc:creator>Kaspars</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://konstruktors.com/?p=3364</guid>
		<description><![CDATA[On putukrejums.lv blog we use the &#8216;sticky&#8217; posts to add introductory information to all category pages (see here, for example). This approach is better than using the category description field because it allows for all the usual formatting options. Here is how to add sticky posts on top of their respective category index pages and hide them [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://konstruktors.com/wp-content/uploads/2011/11/putukrejums-sticky-posts-category-introduction.jpg"><img class="alignnone size-medium wp-image-3369" title="Sticky posts as Category Description" src="http://konstruktors.com/wp-content/uploads/2011/11/putukrejums-sticky-posts-category-introduction-500x330.jpg" alt="Sticky posts as Category Description" width="500" height="330" /></a></p>
<p>On <a href="http://putukrejums.lv">putukrejums.lv</a> blog we use the &#8216;sticky&#8217; posts to add introductory information to all category pages (<a href="http://putukrejums.lv/tavas-kazas/">see here</a>, for example). This approach is better than using the category description field because it allows for all the usual formatting options.<span id="more-3364"></span></p>
<p>Here is how to add sticky posts on top of their respective category index pages and hide them from the rest of pages and indexes:</p>
<pre>add_action('pre_get_posts', 'alter_stickies');
function alter_stickies($query) {
	if (!$query-&gt;is_category &amp;&amp; !$query-&gt;is_single)
		$query-&gt;set('post__not_in', get_option('sticky_posts'));
}
add_filter('posts_orderby', 'sticky_orderby');
function sticky_orderby($orderby){
	global $wpdb;
	if (is_category())
		$orderby = "Field(". $wpdb-&gt;prefix ."posts.ID," . implode(',', get_option('sticky_posts')) . ") DESC, " . $orderby;
 	return $orderby;
}</pre>
<p>Add the <code>is-sticky</code> class to the post wrap for additional formatting control:</p>
<pre>add_filter('post_class', 'add_stickies_class');
function add_stickies_class($classes) {
	if (is_sticky())
		$classes[] = 'is-sticky';
	return $classes;
}</pre>
<h3>Redirect Sticky Posts to Their Category Index Page</h3>
<p>We don&#8217;t want the sticky posts to be available as individual posts that can be access via their permalinks because this information is already being displayed at the top of every category index page. Here is a simple filter to redirect all sticky posts to their category index pages:</p>
<pre>add_action('template_redirect', 'redirect_stickies');
function redirect_stickies() {
	global $wp_query;
	if (!is_single())
		return;
	$stickies = get_option('sticky_posts');
	if (empty($stickies))
		return;
 	if (in_array($wp_query-&gt;post-&gt;ID, $stickies))
		if ($cats = get_the_category($wp_query-&gt;post-&gt;ID))
			if ($cat = end($cats))
				wp_redirect(get_category_link($cat-&gt;cat_ID), '302');
}</pre>
<h4>Related posts</h4><ol>
<li><a href='http://konstruktors.com/blog/wordpress/3177-exclude-sticky-posts-from-adjacent-post-links/' rel='bookmark' title='How to Exclude Sticky Posts from Adjacent Post&nbsp;Links'>How to Exclude Sticky Posts from Adjacent Post&nbsp;Links</a></li>
<li><a href='http://konstruktors.com/blog/wordpress/3335-remove-view-all-posts-filed-under-category-widget/' rel='bookmark' title='How to Remove &#8220;View all posts filed under&#8221; Prefix from Link Title Attribute in Category&nbsp;Widget'>How to Remove &#8220;View all posts filed under&#8221; Prefix from Link Title Attribute in Category&nbsp;Widget</a></li>
<li><a href='http://konstruktors.com/blog/wordpress/3478-add-post-categories-tags-as-hashtags-to-tweets-automatically-stc-plugin/' rel='bookmark' title='How to Add Post Categories and Tags as #Hashtags to Tweets Automatically with the Simple Twitter Connect&nbsp;Plugin'>How to Add Post Categories and Tags as #Hashtags to Tweets Automatically with the Simple Twitter Connect&nbsp;Plugin</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://konstruktors.com/blog/wordpress/3364-sticky-posts-as-category-description/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Remove &#8220;View all posts filed under&#8221; Prefix from Link Title Attribute in Category&#160;Widget</title>
		<link>http://konstruktors.com/blog/wordpress/3335-remove-view-all-posts-filed-under-category-widget/</link>
		<comments>http://konstruktors.com/blog/wordpress/3335-remove-view-all-posts-filed-under-category-widget/#comments</comments>
		<pubDate>Tue, 01 Nov 2011 14:57:13 +0000</pubDate>
		<dc:creator>Kaspars</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://konstruktors.com/?p=3335</guid>
		<description><![CDATA[add_filter('wp_list_categories', 'remove_category_link_prefix'); function remove_category_link_prefix($output) { return str_replace('View all posts filed under ', '', $output); } Related posts Use Sticky Posts as Category&#160;Description How to Exclude Sticky Posts from Adjacent Post&#160;Links Remove Inline CSS and Line Breaks in WordPress&#160;Galleries]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-3349" title="Remove link prefix from categories widget in WordPress" src="http://konstruktors.com/wp-content/uploads/2011/11/site-categories-remove-title-links-500x236.jpg" alt="Remove link prefix from categories widget in WordPress" width="500" height="236" /></p>
<pre>add_filter('wp_list_categories', 'remove_category_link_prefix');
function remove_category_link_prefix($output) {
	return str_replace('View all posts filed under ', '', $output);
}</pre>
<h4>Related posts</h4><ol>
<li><a href='http://konstruktors.com/blog/wordpress/3364-sticky-posts-as-category-description/' rel='bookmark' title='Use Sticky Posts as Category&nbsp;Description'>Use Sticky Posts as Category&nbsp;Description</a></li>
<li><a href='http://konstruktors.com/blog/wordpress/3177-exclude-sticky-posts-from-adjacent-post-links/' rel='bookmark' title='How to Exclude Sticky Posts from Adjacent Post&nbsp;Links'>How to Exclude Sticky Posts from Adjacent Post&nbsp;Links</a></li>
<li><a href='http://konstruktors.com/blog/wordpress/2920-remove-inline-css-line-breaks-galleries/' rel='bookmark' title='Remove Inline CSS and Line Breaks in WordPress&nbsp;Galleries'>Remove Inline CSS and Line Breaks in WordPress&nbsp;Galleries</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://konstruktors.com/blog/wordpress/3335-remove-view-all-posts-filed-under-category-widget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
