<?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>WPThemes.com - WordPress Themes &#187; WordPress Hacks</title>
	<atom:link href="http://www.wpthemes.com/category/wordpress-hacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wpthemes.com</link>
	<description>All about WordPress, WP Themes, WP Plugins, WP SEO, Tips, Hacks and Tutorials</description>
	<lastBuildDate>Sat, 07 Jan 2012 20:12:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<image>
<link>http://www.wpthemes.com</link>
<url>http://www.wpthemes.com/wp-content/plugins/maxblogpress-favicon/icons/favicon-67.ico</url>
<title>WPThemes.com - WordPress Themes</title>
</image>
		<item>
		<title>WP Hacks: How to update WordPress or Plugins With Stored Passwords</title>
		<link>http://www.wpthemes.com/wp-hacks-how-to-update-wordpress-or-plugins-with-stored-passwords/</link>
		<comments>http://www.wpthemes.com/wp-hacks-how-to-update-wordpress-or-plugins-with-stored-passwords/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 17:18:00 +0000</pubDate>
		<dc:creator>WP Themes</dc:creator>
				<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WiredTree VPS Hosting]]></category>
		<category><![CDATA[WordPress Auto Upgrade Password]]></category>
		<category><![CDATA[WordPress Saved FTP Information]]></category>

		<guid isPermaLink="false">http://www.wpthemes.com/?p=2369</guid>
		<description><![CDATA[Most Web Hosting companies configure WordPress so that it automatically updates whenever you click on upgrade WordPress or WordPress plugins.  Some web hosting companies have this feature turned off.  If you have an VPS Hosting or Dedicated Server, ask them to install suPHP, if not you can add the following codes to your config.php file [...]
Related posts:<ol>
<li><a href='http://www.wpthemes.com/how-to-reset-wordpress-admin-password-manually-phpmyadmin/' rel='bookmark' title='How to Reset WordPress Admin Password Manually via phpMydmin'>How to Reset WordPress Admin Password Manually via phpMydmin</a></li>
<li><a href='http://www.wpthemes.com/top-10-wordpress-hacks-from-june-2009/' rel='bookmark' title='Top 10 WordPress hacks from June 2009'>Top 10 WordPress hacks from June 2009</a></li>
<li><a href='http://www.wpthemes.com/hostgator-coupon-code-june-2009-1-cent-first-month/' rel='bookmark' title='HostGator Coupon Code June 2009 &#8211; 1 Cent First Month'>HostGator Coupon Code June 2009 &#8211; 1 Cent First Month</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Most Web Hosting companies configure WordPress so that it automatically updates whenever you click on upgrade WordPress or WordPress plugins.  Some web hosting companies have this feature turned off.  If you have an VPS Hosting or Dedicated Server, ask them to install suPHP, if not you can add the following codes to your config.php file so WordPress automatically remember your FTP login and password.</p>

<div class="wp_syntax"><div class="code"><pre class="language" style="font-family:monospace;">define(&quot;FTP_HOST&quot;, &quot;mywebsite.com&quot;);
define(&quot;FTP_USER&quot;, &quot;username&quot;);
define(&quot;FTP_PASS&quot;, &quot;mypassword&quot;);</pre></div></div>

<p>For VPS Hosting, we recommend <a href="http://www.wpthemes.com/go/wiredtree.php">WiredTree</a>, <a href="http://www.wpthemes.com/go/servint.php">ServInt </a>and <a href="http://www.wpthemes.com/go/futurehosting.php">Future Hosting</a><br />
For Shared Hosting, we  recommend <a href="http://www.wpthemes.com/go/hostgator.php">HostGator</a></p>
<p>Related posts:<ol>
<li><a href='http://www.wpthemes.com/how-to-reset-wordpress-admin-password-manually-phpmyadmin/' rel='bookmark' title='How to Reset WordPress Admin Password Manually via phpMydmin'>How to Reset WordPress Admin Password Manually via phpMydmin</a></li>
<li><a href='http://www.wpthemes.com/top-10-wordpress-hacks-from-june-2009/' rel='bookmark' title='Top 10 WordPress hacks from June 2009'>Top 10 WordPress hacks from June 2009</a></li>
<li><a href='http://www.wpthemes.com/hostgator-coupon-code-june-2009-1-cent-first-month/' rel='bookmark' title='HostGator Coupon Code June 2009 &#8211; 1 Cent First Month'>HostGator Coupon Code June 2009 &#8211; 1 Cent First Month</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wpthemes.com/wp-hacks-how-to-update-wordpress-or-plugins-with-stored-passwords/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Top 10 WordPress hacks from June 2009</title>
		<link>http://www.wpthemes.com/top-10-wordpress-hacks-from-june-2009/</link>
		<comments>http://www.wpthemes.com/top-10-wordpress-hacks-from-june-2009/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 02:01:44 +0000</pubDate>
		<dc:creator>Keenan Payne</dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WP Hacks]]></category>

		<guid isPermaLink="false">http://www.wpthemes.com/?p=1523</guid>
		<description><![CDATA[Cats Who Code has put together an awesome list of the top 10 WordPress hacks from June 2009. The list has some hacks that I&#8217;ve never seen before on other websites, and are pretty unique and well-worth checking-out. Here&#8217;s one, and click over to see the full list of hacks: Make your WordPress theme translatable [...]
Related posts:<ol>
<li><a href='http://www.wpthemes.com/namecheap-domains-coupon-code-for-june-2009/' rel='bookmark' title='Namecheap Domains Coupon Code for June 2009'>Namecheap Domains Coupon Code for June 2009</a></li>
<li><a href='http://www.wpthemes.com/woothemes-4-for-1-sale/' rel='bookmark' title='WooThemes 4 for 1 Sale! &#8211; June 17, 2009'>WooThemes 4 for 1 Sale! &#8211; June 17, 2009</a></li>
<li><a href='http://www.wpthemes.com/hostgator-coupon-code-june-2009-1-cent-first-month/' rel='bookmark' title='HostGator Coupon Code June 2009 &#8211; 1 Cent First Month'>HostGator Coupon Code June 2009 &#8211; 1 Cent First Month</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-1524" src="http://www.wpthemes.com/wp-content/uploads/2009/07/wordpress-hacks.jpg" alt="wordpress-hacks" width="200" height="200" /><a href="http://www.catswhocode.com/blog/top-10-wordpress-hacks-from-june-09">Cats Who Code</a> has put together an awesome list of the top 10 WordPress hacks from June 2009. The list has some hacks that I&#8217;ve never seen before on other websites, and are pretty unique and well-worth checking-out. Here&#8217;s one, and click over to see the full list of hacks:</p>
<blockquote>
<h2>Make your WordPress theme translatable</h2>
<p>Using the power of .po files and this short code snippets, you can make your WordPress theme available in a wide variety of languages. This code have to be pasted in your functions.php file. The .po files should be located under your wp-content/themes/your-theme-name/languages directory.</p>
<pre>// Make theme available for translation
// Translations can be filed in the /languages/ directory
load_theme_textdomain( 'your-theme', TEMPLATEPATH . '/languages' );

$locale = get_locale();
$locale_file = TEMPLATEPATH . "/languages/$locale.php";
if ( is_readable($locale_file) )
	require_once($locale_file);</pre>
</blockquote>
<p>Related posts:<ol>
<li><a href='http://www.wpthemes.com/namecheap-domains-coupon-code-for-june-2009/' rel='bookmark' title='Namecheap Domains Coupon Code for June 2009'>Namecheap Domains Coupon Code for June 2009</a></li>
<li><a href='http://www.wpthemes.com/woothemes-4-for-1-sale/' rel='bookmark' title='WooThemes 4 for 1 Sale! &#8211; June 17, 2009'>WooThemes 4 for 1 Sale! &#8211; June 17, 2009</a></li>
<li><a href='http://www.wpthemes.com/hostgator-coupon-code-june-2009-1-cent-first-month/' rel='bookmark' title='HostGator Coupon Code June 2009 &#8211; 1 Cent First Month'>HostGator Coupon Code June 2009 &#8211; 1 Cent First Month</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wpthemes.com/top-10-wordpress-hacks-from-june-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automatically get tr.im urls for your blog posts</title>
		<link>http://www.wpthemes.com/automatically-get-trim-urls-for-your-blog-posts/</link>
		<comments>http://www.wpthemes.com/automatically-get-trim-urls-for-your-blog-posts/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 20:16:40 +0000</pubDate>
		<dc:creator>Keenan Payne</dc:creator>
				<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[tr.im]]></category>

		<guid isPermaLink="false">http://www.wpthemes.com/?p=1117</guid>
		<description><![CDATA[Before, we showed you how to automatically get tinyurl&#8217;s on your WordPress blog. Well this time, I found a tutorial that will make your WordPress blog automatically generate tr.im url&#8217;s for your blog posts. First to do this, add the following lines to your functions.php file: function getTrimUrl($url) { $tinyurl = file_get_contents("http://api.tr.im/api/trim_simple?url=".$url); return $tinyurl; } [...]
Related posts:<ol>
<li><a href='http://www.wpthemes.com/how-to-add-an-edit-link-to-all-of-your-wordpress-posts/' rel='bookmark' title='How to add an &#8220;edit&#8221; link to all of your WordPress Posts'>How to add an &#8220;edit&#8221; link to all of your WordPress Posts</a></li>
<li><a href='http://www.wpthemes.com/how-to-hide-portions-of-text-to-google-on-your-wordpress-blog/' rel='bookmark' title='How to hide portions of text to Google on your WordPress blog'>How to hide portions of text to Google on your WordPress blog</a></li>
<li><a href='http://www.wpthemes.com/display-the-total-number-of-users-of-your-wordpress-blog/' rel='bookmark' title='Display the total number of users of your WordPress blog'>Display the total number of users of your WordPress blog</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-1119" src="http://www.wpthemes.com/wp-content/uploads/2009/06/trim-150x150.png" alt="trim" width="150" height="150" />Before, we showed you how to automatically get tinyurl&#8217;s on your WordPress blog. Well this time, <a href="http://www.wprecipes.com/how-to-automatically-get-trim-urls-for-your-blog-posts">I found</a> a tutorial that will make your WordPress blog automatically generate <a href="http://tr.im/">tr.im</a> url&#8217;s for your blog posts.</p>
<p>First to do this, add the following lines to your <em>functions.php</em> file:</p>
<p style="padding-left: 30px;">
<pre>function getTrimUrl($url) {
  $tinyurl = file_get_contents("http://api.tr.im/api/trim_simple?url=".$url);
  return $tinyurl;
}</pre>
<p>Now, copy and paste the following code in your <em>single.php</em> file anywhere <strong>inside the loop</strong>:</p>
<p style="padding-left: 30px;">
<pre>&lt;?php
$turl = getTrimUrl(get_permalink($post-&gt;ID));
echo 'Short Url for this post: &lt;a href="'.$turl.'"&gt;'.$turl.'&lt;/a&gt;'
?&gt;</pre>
<p>There you go! Your WordPress blog will now automatically generate <a href="http://tr.im/">tr.im</a> URL&#8217;s.</p>
<p>Related posts:<ol>
<li><a href='http://www.wpthemes.com/how-to-add-an-edit-link-to-all-of-your-wordpress-posts/' rel='bookmark' title='How to add an &#8220;edit&#8221; link to all of your WordPress Posts'>How to add an &#8220;edit&#8221; link to all of your WordPress Posts</a></li>
<li><a href='http://www.wpthemes.com/how-to-hide-portions-of-text-to-google-on-your-wordpress-blog/' rel='bookmark' title='How to hide portions of text to Google on your WordPress blog'>How to hide portions of text to Google on your WordPress blog</a></li>
<li><a href='http://www.wpthemes.com/display-the-total-number-of-users-of-your-wordpress-blog/' rel='bookmark' title='Display the total number of users of your WordPress blog'>Display the total number of users of your WordPress blog</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wpthemes.com/automatically-get-trim-urls-for-your-blog-posts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to hide portions of text to Google on your WordPress blog</title>
		<link>http://www.wpthemes.com/how-to-hide-portions-of-text-to-google-on-your-wordpress-blog/</link>
		<comments>http://www.wpthemes.com/how-to-hide-portions-of-text-to-google-on-your-wordpress-blog/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 18:05:14 +0000</pubDate>
		<dc:creator>Keenan Payne</dc:creator>
				<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[Hide Text From Google]]></category>
		<category><![CDATA[WordPress Google]]></category>

		<guid isPermaLink="false">http://www.wpthemes.com/?p=1103</guid>
		<description><![CDATA[Want to hide portions of text in a specific post or page from google? Well, this is probably one of the simplest things you could do, but it is often now known of and overlooked. Here are is the code that you can use to hide text from google: This text will be indexed by [...]
Related posts:<ol>
<li><a href='http://www.wpthemes.com/how-to-preset-text-in-the-wordpress-post-editor/' rel='bookmark' title='How to preset text in the WordPress post editor'>How to preset text in the WordPress post editor</a></li>
<li><a href='http://www.wpthemes.com/solve-this-problem-and-get-a-job-at-google/' rel='bookmark' title='Solve this Problem and Get a Job at Google'>Solve this Problem and Get a Job at Google</a></li>
<li><a href='http://www.wpthemes.com/google-search-engine-clone-wordpress-theme/' rel='bookmark' title='Woogle &#8211; Google Search Engine Clone WordPress Theme'>Woogle &#8211; Google Search Engine Clone WordPress Theme</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="size-thumbnail wp-image-1104 alignnone" src="http://www.wpthemes.com/wp-content/uploads/2009/06/favicon-150x150.jpg" alt="favicon" width="150" height="150" /></p>
<p>Want to hide portions of text in a specific post or page from google? Well, this is probably one of the simplest things you could do, but it is often now known of and overlooked. Here are is the code that you can use to hide text from google:</p>
<pre style="padding-left: 30px;">This text will be indexed by Google...
&lt;!--googleoff: all--&gt; ...but not that one! &lt;!--googleon: all&gt;</pre>
<p>All of the text and code within those codes will not be indexed by Google. Simple huh?</p>
<p><a href="http://www.wprecipes.com/how-to-hide-portions-of-text-to-google-on-your-wordpress-blog">Source</a></p>
<p>Related posts:<ol>
<li><a href='http://www.wpthemes.com/how-to-preset-text-in-the-wordpress-post-editor/' rel='bookmark' title='How to preset text in the WordPress post editor'>How to preset text in the WordPress post editor</a></li>
<li><a href='http://www.wpthemes.com/solve-this-problem-and-get-a-job-at-google/' rel='bookmark' title='Solve this Problem and Get a Job at Google'>Solve this Problem and Get a Job at Google</a></li>
<li><a href='http://www.wpthemes.com/google-search-engine-clone-wordpress-theme/' rel='bookmark' title='Woogle &#8211; Google Search Engine Clone WordPress Theme'>Woogle &#8211; Google Search Engine Clone WordPress Theme</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wpthemes.com/how-to-hide-portions-of-text-to-google-on-your-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display your tags in a dropdown menu</title>
		<link>http://www.wpthemes.com/display-your-tags-in-a-dropdown-menu/</link>
		<comments>http://www.wpthemes.com/display-your-tags-in-a-dropdown-menu/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 17:49:29 +0000</pubDate>
		<dc:creator>Keenan Payne</dc:creator>
				<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[Dropdown Menu]]></category>
		<category><![CDATA[Dropdown Tags]]></category>

		<guid isPermaLink="false">http://www.wpthemes.com/?p=1099</guid>
		<description><![CDATA[Categories can be shown in a drop-down menu with no problem whatsoever, so shouldn&#8217;t the same concept apply to that of tag clouds? Well WP Hacks and figured out a way to do just that, with very little effort. First, copy and paste the following code into your functions.php file: 1 2 3 4 5 [...]
Related posts:<ol>
<li><a href='http://www.wpthemes.com/top-10-wordpress-hacks-from-june-2009/' rel='bookmark' title='Top 10 WordPress hacks from June 2009'>Top 10 WordPress hacks from June 2009</a></li>
<li><a href='http://www.wpthemes.com/display-the-author-who-edited-a-post-last/' rel='bookmark' title='Display the Author Who Edited a Post Last'>Display the Author Who Edited a Post Last</a></li>
<li><a href='http://www.wpthemes.com/how-to-widgetize-a-wordpress-blog-theme/' rel='bookmark' title='How to widgetize a WordPress blog theme'>How to widgetize a WordPress blog theme</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="size-medium wp-image-1101 alignnone" src="http://www.wpthemes.com/wp-content/uploads/2009/06/800px-web_2_0_map_svg-300x225.png" alt="800px-web_2_0_map_svg" width="300" height="225" /></p>
<p>Categories can be shown in a drop-down menu with no problem whatsoever, so shouldn&#8217;t the same concept apply to that of tag clouds? Well <a href="http://wphacks.com/how-to-display-wordpress-tags-dropdown-menu/">WP Hacks</a> and figured out a way to do<em> just</em> that, with very little effort.</p>
<p>First, copy and paste the following code into your <em>functions.php </em>file:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
</pre></td><td class="code"><pre class="language" style="font-family:monospace;">&nbsp;
&lt;?php
function dropdown_tag_cloud( $args = '' ) {
	$defaults = array(
		'smallest' =&gt; 8, 'largest' =&gt; 22, 'unit' =&gt; 'pt', 'number' =&gt; 45,
		'format' =&gt; 'flat', 'orderby' =&gt; 'name', 'order' =&gt; 'ASC',
		'exclude' =&gt; '', 'include' =&gt; ''
	);
	$args = wp_parse_args( $args, $defaults );
&nbsp;
	$tags = get_tags( array_merge($args, array('orderby' =&gt; 'count', 'order' =&gt; 'DESC')) ); // Always query top tags
&nbsp;
	if ( empty($tags) )
		return;
&nbsp;
	$return = dropdown_generate_tag_cloud( $tags, $args ); // Here's where those top tags get sorted according to $args
	if ( is_wp_error( $return ) )
		return false;
	else
		echo apply_filters( 'dropdown_tag_cloud', $return, $args );
}
&nbsp;
function dropdown_generate_tag_cloud( $tags, $args = '' ) {
	global $wp_rewrite;
	$defaults = array(
		'smallest' =&gt; 8, 'largest' =&gt; 22, 'unit' =&gt; 'pt', 'number' =&gt; 45,
		'format' =&gt; 'flat', 'orderby' =&gt; 'name', 'order' =&gt; 'ASC'
	);
	$args = wp_parse_args( $args, $defaults );
	extract($args);
&nbsp;
	if ( !$tags )
		return;
	$counts = $tag_links = array();
	foreach ( (array) $tags as $tag ) {
		$counts[$tag-&gt;name] = $tag-&gt;count;
		$tag_links[$tag-&gt;name] = get_tag_link( $tag-&gt;term_id );
		if ( is_wp_error( $tag_links[$tag-&gt;name] ) )
			return $tag_links[$tag-&gt;name];
		$tag_ids[$tag-&gt;name] = $tag-&gt;term_id;
	}
&nbsp;
	$min_count = min($counts);
	$spread = max($counts) - $min_count;
	if ( $spread &lt;= 0 )
		$spread = 1;
	$font_spread = $largest - $smallest;
	if ( $font_spread &lt;= 0 )
		$font_spread = 1;
	$font_step = $font_spread / $spread;
&nbsp;
	// SQL cannot save you; this is a second (potentially different) sort on a subset of data.
	if ( 'name' == $orderby )
		uksort($counts, 'strnatcasecmp');
	else
		asort($counts);
&nbsp;
	if ( 'DESC' == $order )
		$counts = array_reverse( $counts, true );
&nbsp;
	$a = array();
&nbsp;
	$rel = ( is_object($wp_rewrite) &amp;&amp; $wp_rewrite-&gt;using_permalinks() ) ? ' rel=&quot;tag&quot;' : '';
&nbsp;
	foreach ( $counts as $tag =&gt; $count ) {
		$tag_id = $tag_ids[$tag];
		$tag_link = clean_url($tag_links[$tag]);
		$tag = str_replace(' ', '&amp;nbsp;', wp_specialchars( $tag ));
		$a[] = &quot;\t&lt;option value='$tag_link'&gt;$tag ($count)&lt;/option&gt;&quot;;
	}
&nbsp;
	switch ( $format ) :
	case 'array' :
		$return =&amp; $a;
		break;
	case 'list' :
		$return = &quot;&lt;ul class='wp-tag-cloud'&gt;\n\t&lt;li&gt;&quot;;
		$return .= join(&quot;&lt;/li&gt;\n\t&lt;li&gt;&quot;, $a);
		$return .= &quot;&lt;/li&gt;\n&lt;/ul&gt;\n&quot;;
		break;
	default :
		$return = join(&quot;\n&quot;, $a);
		break;
	endswitch;
&nbsp;
	return apply_filters( 'dropdown_generate_tag_cloud', $return, $tags, $args );
}
?&gt;</pre></td></tr></table></div>

<p>Now, just paste the following code wherever you want your drop-down menu of tags to show (usually in the sidebar.php file):</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="language" style="font-family:monospace;">&nbsp;
&lt;select name=&quot;tag-dropdown&quot; onchange=&quot;document.location.href=this.options[this.selectedIndex].value;&quot;&gt;
	&lt;option value=&quot;#&quot;&gt;Liste d'auteurs&lt;/option&gt;
	&lt;?php dropdown_tag_cloud('number=0&amp;order=asc'); ?&gt;
&lt;/select&gt;</pre></td></tr></table></div>

<p>Related posts:<ol>
<li><a href='http://www.wpthemes.com/top-10-wordpress-hacks-from-june-2009/' rel='bookmark' title='Top 10 WordPress hacks from June 2009'>Top 10 WordPress hacks from June 2009</a></li>
<li><a href='http://www.wpthemes.com/display-the-author-who-edited-a-post-last/' rel='bookmark' title='Display the Author Who Edited a Post Last'>Display the Author Who Edited a Post Last</a></li>
<li><a href='http://www.wpthemes.com/how-to-widgetize-a-wordpress-blog-theme/' rel='bookmark' title='How to widgetize a WordPress blog theme'>How to widgetize a WordPress blog theme</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wpthemes.com/display-your-tags-in-a-dropdown-menu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Display Today&#8217;s Date on your Blog</title>
		<link>http://www.wpthemes.com/display-todays-date-on-your-blog/</link>
		<comments>http://www.wpthemes.com/display-todays-date-on-your-blog/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 22:39:13 +0000</pubDate>
		<dc:creator>Keenan Payne</dc:creator>
				<category><![CDATA[Design Hacking]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress Date]]></category>

		<guid isPermaLink="false">http://www.wpthemes.com/?p=525</guid>
		<description><![CDATA[Want to show the date on your WordPress blog just anywhere? Well, here&#8217;s a simple little hack with just a little bit of code that you can place anywhere for the date to be shown. Here&#8217;s that code, and you can place it anywhere that suits your needs: &#60;?php echo date('l jS F Y'); ?&#62; [...]
Related posts:<ol>
<li><a href='http://www.wpthemes.com/display-the-total-number-of-users-of-your-wordpress-blog/' rel='bookmark' title='Display the total number of users of your WordPress blog'>Display the total number of users of your WordPress blog</a></li>
<li><a href='http://www.wpthemes.com/wp-hacks-how-to-remove-date-from-posts/' rel='bookmark' title='WordPress Hacks &#8211; How to Remove Date from Posts'>WordPress Hacks &#8211; How to Remove Date from Posts</a></li>
<li><a href='http://www.wpthemes.com/display-the-total-number-of-your-twitter-followers-on-your-wordpress-blog/' rel='bookmark' title='Display the total number of your Twitter followers on your WordPress blog'>Display the total number of your Twitter followers on your WordPress blog</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-526" src="http://www.wpthemes.com/wp-content/uploads/2009/05/measure_clock_askul_taf-300x300.jpg" alt="measure_clock_askul_taf" width="199" height="199" />Want to show the date on your WordPress blog just anywhere? Well, here&#8217;s a simple little hack with just a little bit of code that you can place anywhere for the date to be shown.</p>
<p>Here&#8217;s <em>that</em> code, and you can place it anywhere that suits your needs:</p>
<pre style="padding-left: 90px;">&lt;?php echo date('l jS F Y'); ?&gt;</pre>
<p>You can futher format the date, but that seems like a little too much for me to get into. You can check out further documentation on that at the official <a href="http://php.net/manual/en/function.date.php">php</a> website.</p>
<p>Related posts:<ol>
<li><a href='http://www.wpthemes.com/display-the-total-number-of-users-of-your-wordpress-blog/' rel='bookmark' title='Display the total number of users of your WordPress blog'>Display the total number of users of your WordPress blog</a></li>
<li><a href='http://www.wpthemes.com/wp-hacks-how-to-remove-date-from-posts/' rel='bookmark' title='WordPress Hacks &#8211; How to Remove Date from Posts'>WordPress Hacks &#8211; How to Remove Date from Posts</a></li>
<li><a href='http://www.wpthemes.com/display-the-total-number-of-your-twitter-followers-on-your-wordpress-blog/' rel='bookmark' title='Display the total number of your Twitter followers on your WordPress blog'>Display the total number of your Twitter followers on your WordPress blog</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wpthemes.com/display-todays-date-on-your-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display the Author Who Edited a Post Last</title>
		<link>http://www.wpthemes.com/display-the-author-who-edited-a-post-last/</link>
		<comments>http://www.wpthemes.com/display-the-author-who-edited-a-post-last/#comments</comments>
		<pubDate>Sat, 30 May 2009 22:37:09 +0000</pubDate>
		<dc:creator>Keenan Payne</dc:creator>
				<category><![CDATA[Design Hacking]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress Authors]]></category>

		<guid isPermaLink="false">http://www.wpthemes.com/?p=528</guid>
		<description><![CDATA[Want to display the author who last edited any given post? Well, here&#8217;s some simple code you can use to have that show on all of your posts. To first create the function for the task that we are going to do, copy and paste the following code into your theme&#8217;s functions.php file: if (!function_exists('get_the_modified_author')) [...]
Related posts:<ol>
<li><a href='http://www.wpthemes.com/how-to-get-the-word-count-in-a-post/' rel='bookmark' title='How to Get the Word Count in a Post'>How to Get the Word Count in a Post</a></li>
<li><a href='http://www.wpthemes.com/how-to-preset-text-in-the-wordpress-post-editor/' rel='bookmark' title='How to preset text in the WordPress post editor'>How to preset text in the WordPress post editor</a></li>
<li><a href='http://www.wpthemes.com/display-todays-date-on-your-blog/' rel='bookmark' title='Display Today&#8217;s Date on your Blog'>Display Today&#8217;s Date on your Blog</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-529" src="http://www.wpthemes.com/wp-content/uploads/2009/05/default-avatar-thumb-thumb6599242.jpg" alt="default-avatar-thumb-thumb6599242" width="186" height="186" />Want to display the author who last edited any given post? Well, here&#8217;s some simple code you can use to have that show on all of your posts.</p>
<p>To first create the function for the task that we are going to do, copy and paste the following code into your theme&#8217;s <em>functions.php</em> file:</p>
<pre style="padding-left: 30px;">if (!function_exists('get_the_modified_author')) {
  function get_the_modified_author() {
    global $post;
    if ( $last_id = get_post_meta($post-&gt;ID, '_edit_last', true) ) {
      $last_user = get_userdata($last_id);
      return apply_filters('the_modified_author', $last_user-&gt;display_name);
    }
  }
}

if (!function_exists('the_modified_author')) {
  function the_modified_author() {
    echo get_the_modified_author();
  }
}</pre>
<p>If you know what all of that mumbo-jumbo (php) means, then you should know that it&#8217;s as simple as pasting:</p>
<pre style="padding-left: 30px;">&lt;?php the_modified_author(); ?&gt;</pre>
<p>anywhere you want for the modified author of any given post. Just make sure that you put that code within you&#8217;re WordPress theme&#8217;s loop somewhere.</p>
<p>Related posts:<ol>
<li><a href='http://www.wpthemes.com/how-to-get-the-word-count-in-a-post/' rel='bookmark' title='How to Get the Word Count in a Post'>How to Get the Word Count in a Post</a></li>
<li><a href='http://www.wpthemes.com/how-to-preset-text-in-the-wordpress-post-editor/' rel='bookmark' title='How to preset text in the WordPress post editor'>How to preset text in the WordPress post editor</a></li>
<li><a href='http://www.wpthemes.com/display-todays-date-on-your-blog/' rel='bookmark' title='Display Today&#8217;s Date on your Blog'>Display Today&#8217;s Date on your Blog</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wpthemes.com/display-the-author-who-edited-a-post-last/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to preset text in the WordPress post editor</title>
		<link>http://www.wpthemes.com/how-to-preset-text-in-the-wordpress-post-editor/</link>
		<comments>http://www.wpthemes.com/how-to-preset-text-in-the-wordpress-post-editor/#comments</comments>
		<pubDate>Tue, 26 May 2009 22:31:56 +0000</pubDate>
		<dc:creator>Keenan Payne</dc:creator>
				<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[Preset Text]]></category>

		<guid isPermaLink="false">http://www.wpthemes.com/?p=518</guid>
		<description><![CDATA[If you&#8217;re kind of a lazy person like I am, then here&#8217;s just the tutorial for you. Juston Tadlock has perfectly shown how to preset text in the WordPress editor. What does this mean? That you can modify your current WordPress theme&#8217;s functions.php file, and with the copying and pasting of a little code, you [...]
Related posts:<ol>
<li><a href='http://www.wpthemes.com/how-to-hide-portions-of-text-to-google-on-your-wordpress-blog/' rel='bookmark' title='How to hide portions of text to Google on your WordPress blog'>How to hide portions of text to Google on your WordPress blog</a></li>
<li><a href='http://www.wpthemes.com/display-the-author-who-edited-a-post-last/' rel='bookmark' title='Display the Author Who Edited a Post Last'>Display the Author Who Edited a Post Last</a></li>
<li><a href='http://www.wpthemes.com/how-to-get-the-word-count-in-a-post/' rel='bookmark' title='How to Get the Word Count in a Post'>How to Get the Word Count in a Post</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-519" src="http://www.wpthemes.com/wp-content/uploads/2009/05/wordpress_logo-300x300.png" alt="wordpress_logo" width="189" height="189" />If you&#8217;re kind of a lazy person like I am, then here&#8217;s just the tutorial for you. <a href="http://justintadlock.com/archives/2009/04/05/how-to-preset-text-in-the-wordpress-post-editor">Juston Tadlock</a> has perfectly shown how to preset text in the WordPress editor. What does this mean? That you can modify your current WordPress theme&#8217;s functions.php file, and with the copying and pasting of a little code, you now have the ability for text to be shown at the bottom of your post, however much you want (with xhtml if you want), without actually putting it in the post editor.</p>
<p>Make note though, this text will show on all of the posts that you make <em>after</em> you modify the theme file, so it will not show up on any of your past posts that you have made.</p>
<p>How do you accomplish this hack? Well, open up your theme&#8217;s <em>functions.php </em>file, and copy and paste the following code:</p>
<pre style="padding-left: 30px;"><code>&lt;?php
add_filter( 'default_content', 'my_editor_content' );
function my_editor_content( $content ) {
	$content = "This is some custom content I'm adding to the post editor because I hate re-typing it.";
	return $content;
}
?&gt;</code></pre>
<p>After doing that, you can change the text to whatever you want, and if you want to, can edit it with some xhtml-markup. And that&#8217;s it!</p>
<p>Related posts:<ol>
<li><a href='http://www.wpthemes.com/how-to-hide-portions-of-text-to-google-on-your-wordpress-blog/' rel='bookmark' title='How to hide portions of text to Google on your WordPress blog'>How to hide portions of text to Google on your WordPress blog</a></li>
<li><a href='http://www.wpthemes.com/display-the-author-who-edited-a-post-last/' rel='bookmark' title='Display the Author Who Edited a Post Last'>Display the Author Who Edited a Post Last</a></li>
<li><a href='http://www.wpthemes.com/how-to-get-the-word-count-in-a-post/' rel='bookmark' title='How to Get the Word Count in a Post'>How to Get the Word Count in a Post</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wpthemes.com/how-to-preset-text-in-the-wordpress-post-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display the total number of users of your WordPress blog</title>
		<link>http://www.wpthemes.com/display-the-total-number-of-users-of-your-wordpress-blog/</link>
		<comments>http://www.wpthemes.com/display-the-total-number-of-users-of-your-wordpress-blog/#comments</comments>
		<pubDate>Fri, 15 May 2009 02:01:52 +0000</pubDate>
		<dc:creator>Keenan Payne</dc:creator>
				<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress News]]></category>
		<category><![CDATA[WordPress Display User]]></category>

		<guid isPermaLink="false">http://www.wpthemes.com/?p=404</guid>
		<description><![CDATA[Pro Blog Tutorials has again brought to us another very useful and practical tutorial in the WordPress realm. With this simple code and WordPress hack, you will be able to show the total number of  users for your WordPress blog, anywhere you want in your template. Just place the following code anywhere in your template [...]
Related posts:<ol>
<li><a href='http://www.wpthemes.com/display-the-total-number-of-your-twitter-followers-on-your-wordpress-blog/' rel='bookmark' title='Display the total number of your Twitter followers on your WordPress blog'>Display the total number of your Twitter followers on your WordPress blog</a></li>
<li><a href='http://www.wpthemes.com/how-to-number-your-comments/' rel='bookmark' title='How to Number Your Comments'>How to Number Your Comments</a></li>
<li><a href='http://www.wpthemes.com/display-todays-date-on-your-blog/' rel='bookmark' title='Display Today&#8217;s Date on your Blog'>Display Today&#8217;s Date on your Blog</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-408" src="http://www.wpthemes.com/wp-content/uploads/2009/05/wordpress-logo-300x282.png" alt="wordpress-logo" width="139" height="130" /><a href="http://problogtuts.com/tutorials/display-the-total-number-of-users-of-your-wordpress-blog/">Pro Blog Tutorials</a> has again brought to us another very useful and practical tutorial in the WordPress realm. With this simple code and WordPress hack, you will be able to show the total number of  users for your WordPress blog, anywhere you want in your template.</p>
<p>Just place the following code anywhere in your template for the number of registered users on your WordPress blog to be shown:</p>
<pre style="padding-left: 30px;">$users = $wpdb-&gt;get_var("SELECT COUNT(ID) FROM $wpdb-&gt;users");
echo $users." registered users.";</pre>
<p>Related posts:<ol>
<li><a href='http://www.wpthemes.com/display-the-total-number-of-your-twitter-followers-on-your-wordpress-blog/' rel='bookmark' title='Display the total number of your Twitter followers on your WordPress blog'>Display the total number of your Twitter followers on your WordPress blog</a></li>
<li><a href='http://www.wpthemes.com/how-to-number-your-comments/' rel='bookmark' title='How to Number Your Comments'>How to Number Your Comments</a></li>
<li><a href='http://www.wpthemes.com/display-todays-date-on-your-blog/' rel='bookmark' title='Display Today&#8217;s Date on your Blog'>Display Today&#8217;s Date on your Blog</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wpthemes.com/display-the-total-number-of-users-of-your-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Show Username of Logged-in User</title>
		<link>http://www.wpthemes.com/show-username-of-logged-in-user/</link>
		<comments>http://www.wpthemes.com/show-username-of-logged-in-user/#comments</comments>
		<pubDate>Tue, 05 May 2009 00:09:29 +0000</pubDate>
		<dc:creator>Keenan Payne</dc:creator>
				<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress News]]></category>
		<category><![CDATA[Users]]></category>

		<guid isPermaLink="false">http://www.wpthemes.com/?p=360</guid>
		<description><![CDATA[If you want to show the username of a logged-in user in some place other than the meta sidebar widget that comes pre-loaded with WordPress, you can do so by placing the following code anywhere in your WordPress theme, and it will accomplish this simple task: &#60;?php global $current_user; if ( isset($current_user) ) {     echo [...]
Related posts:<ol>
<li><a href='http://www.wpthemes.com/how-to-number-your-comments/' rel='bookmark' title='How to Number Your Comments'>How to Number Your Comments</a></li>
<li><a href='http://www.wpthemes.com/show-latest-posts-in-the-sidebar/' rel='bookmark' title='Show latest posts in the sidebar'>Show latest posts in the sidebar</a></li>
<li><a href='http://www.wpthemes.com/display-the-total-number-of-users-of-your-wordpress-blog/' rel='bookmark' title='Display the total number of users of your WordPress blog'>Display the total number of users of your WordPress blog</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-361" src="http://www.wpthemes.com/wp-content/uploads/2009/05/standard-login-screen-large.gif" alt="standard-login-screen-large" width="209" height="209" /></p>
<p>If you want to show the username of a logged-in user in some place other than the meta sidebar widget that comes pre-loaded with WordPress, you can do so by placing the following code anywhere in your WordPress theme, and it will accomplish this simple task:</p>
<p style="padding-left: 30px;">&lt;?php global $current_user; if ( isset($current_user) ) {     echo $current_user-&gt;user_login; } ?&gt;</p>
<p>Thanks Pro Blog Tutorials for this simple little WordPress hack!</p>
<p>Related posts:<ol>
<li><a href='http://www.wpthemes.com/how-to-number-your-comments/' rel='bookmark' title='How to Number Your Comments'>How to Number Your Comments</a></li>
<li><a href='http://www.wpthemes.com/show-latest-posts-in-the-sidebar/' rel='bookmark' title='Show latest posts in the sidebar'>Show latest posts in the sidebar</a></li>
<li><a href='http://www.wpthemes.com/display-the-total-number-of-users-of-your-wordpress-blog/' rel='bookmark' title='Display the total number of users of your WordPress blog'>Display the total number of users of your WordPress blog</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wpthemes.com/show-username-of-logged-in-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

