<?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>WordPress Hacks &#187; WordPress Hacks</title>
	<atom:link href="http://wphacks.com/tag/wordpress-hacks/feed/" rel="self" type="application/rss+xml" />
	<link>http://wphacks.com</link>
	<description>WordPress Themes, Plugins, Hacks, Tutorials, and more!</description>
	<lastBuildDate>Thu, 02 Feb 2012 15:20:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>All Killer WordPress Websites are Built Around These Concepts</title>
		<link>http://wphacks.com/all-killer-wordpress-websites-are-built-around-these-concepts/</link>
		<comments>http://wphacks.com/all-killer-wordpress-websites-are-built-around-these-concepts/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 20:42:15 +0000</pubDate>
		<dc:creator>MattDunlap</dc:creator>
				<category><![CDATA[WordPress Tips]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress List]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=2682</guid>
		<description><![CDATA[I've been coding with Wordpress for a long time now. All the way back to when there was a my-hacks.php file. Shortly thereafter wordpress introduced plugins and widgets. Over those years I go back to a few concepts that make blogs really functional. ]]></description>
			<content:encoded><![CDATA[<p style="float: right;margin: 4px;"><a href="http://www.inboundwriter.com/wordpress?utm_source=iw-plugin&utm_medium=Banner%2B300x250&utm_content=SEO&utm_campaign=WPHacks" target="_blank"><img border="0" src="http://wphacks.com/wp-content/themes/WPHacks/images/300x250.gif" width="300" height="250"></a></p><p><em>This guest post was written by <a href="http://mattdunlap.org/">Matt Dunlap</a> who blogs about website development. If you have webmaster or WordPress knowledge and are interested in <a href="../write">writing a post for WordPress Hacks</a>,  please <a href="../contact">contact us</a>.</em></p>
<p>I&#8217;ve been coding with WordPress for a long time now. All the way back to when there was a my-hacks.php file. Shortly thereafter WordPress introduced plugins and widgets. Over all these years I find myself going back to a few key WordPress concepts that make blogs really functional.</p>
<ol>
<li><strong>Popularity of Posts &#8211; </strong>The plugin I use, and hack often, is Alex King&#8217;s popularity plugin. If you download it from wordpress.org, it works great, but if you really want to make some cool features, you are going to have to hack it.The popularity plugin displays the most popular posts based on time frame, or category in a list (&lt;li&gt;)by default. I&#8217;ve hacked it to get the the raw posts, so I can do my own formatting. You can see an example in my &#8220;hot list&#8221;.</li>
<li><strong>Related Content &#8211; </strong>Notice how I didn&#8217;t say related posts. Finding related content goes much deeper then posts or pages.Related content is a must to build loyal readers (repeat visitors). You have to guide your readers and help them find content <strong>THEY</strong> are interested in. Remember, most people will find your content from Google, so feed them some related content and grow your user base. Related posts are easy to get, you simple have to a fulltext index to your database. You can then match terms to keywords.</li>
<li><strong>Categories &#8211; </strong>WordPress is nothing more then a way to organize your content, hence the term CMS (Content Management System). 80% of my traffic from Google comes from a relation to WordPress categories. Either trying to display <a href="http://wphacks.com/how-to-display-wordpress-categories-without-children/">top level categories without children</a>, or trying to build a top menu/submenu navigation menu.Working with categories in WordPress can be pretty frustrating. I wish there was better information. Luckily there are a lot of help from the WordPress Community.</li>
<li> <strong>Images &#8211; </strong>Magazine themes are the most popular style of theme on the Internet. It&#8217;s all about the cool graphics and images to get reader to click on posts. Content sliders and featured content sections with large graphics can be a pain to manually update, which is why you need to learn how to manipulate the images from your posts.</li>
</ol>
<p>There you have it. If you want to be a WordPress hacker and make killer websites, you gotta have a good working knowledge of those four topics.  Thanks for reading my post, and as always, don&#8217;t be scared to ask me for help.</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=2682&type=feed" alt="" /><p></p><p>You are reading <a href="http://wphacks.com/all-killer-wordpress-websites-are-built-around-these-concepts/">All Killer WordPress Websites are Built Around These Concepts</a>  © 2010 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>

<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/all-killer-wordpress-websites-are-built-around-these-concepts/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>How To: Add a Twitter Link to Your WordPress Blog</title>
		<link>http://wphacks.com/add-twitter-link-to-wordpress-blog/</link>
		<comments>http://wphacks.com/add-twitter-link-to-wordpress-blog/#comments</comments>
		<pubDate>Wed, 05 May 2010 01:16:44 +0000</pubDate>
		<dc:creator>Kyle Eslick</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[Twitter Code]]></category>
		<category><![CDATA[Twitter WordPress]]></category>
		<category><![CDATA[WordPress Code]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress How-To]]></category>
		<category><![CDATA[WordPress Tips]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=2591</guid>
		<description><![CDATA[Twitter is all the rage these days and it doesn&#8217;t seem like it will be going anywhere any time soon.  With that said, it often surprises me that many WordPress blog owners  don&#8217;t offer a convenient way for their readers to retweet their content.  Anyone can grab a Twitter WordPress plugin to tweet their new content as [...]]]></description>
			<content:encoded><![CDATA[<p>Twitter is all the rage these days and it doesn&#8217;t seem like it will be going anywhere any time soon.  With that said, it often surprises me that many WordPress blog owners  don&#8217;t offer a convenient way for their readers to retweet their content.  Anyone can grab a Twitter WordPress plugin to tweet their new content as it is published, but what about your older content?</p>
<p>Rather than passing up all that potential traffic, I&#8217;ve found that offering a link somewhere within your post (optimally at the bottom of each post) is a great way to help your readers and incoming search engine traffic to promote your content for you.  When people find great content they like to share it with others, so why not make it easy for them?</p>
<p>Not only is adding a &#8220;Tweet This!&#8221; link a great choice, but it is really easy to do.  Chances are if you do a search on Google for code to use you&#8217;ll find something <a href="http://wphacks.com/how-to-adding-a-twitter-link-wordpress-theme/">like the following</a>:</p>
<p><code>&lt;a href="http://twitter.com/home?status=Currently reading &lt;?php the_permalink(); ?&gt;" title="Click to send this page to Twitter!" target="_blank"&gt;Tweet This!&lt;/a&gt;</code></p>
<p>This code works just fine, but is not the most optimal solution in my opinion.  Depending on the permalink structure your WordPress blog uses, combined with the length of your domain name, it may be difficult to fit the link into a 140 character tweet.  It also doesn&#8217;t leave room for the person to add their own comments to the tweet.</p>
<p>As a proposed solution, I recommend using some WordPress code like the following:</p>
<p><code>&lt;a href="http://twitter.com/home?status=RT @HackWordPress &lt;?php the_title ();?&gt; &lt;?php echo get_settings('home'); ?&gt;/?p=&lt;?php the_ID(); ?&gt;"&gt;Tweet This&lt;/a&gt;</code></p>
<p>This code will automatically insert the &#8220;RT&#8221; and your Twitter account name (the above example uses our Twitter account, <a href="http://twitter.com/HackWordpress">@HackWordPress</a>) then use the ID form of your post with the tweet.  When people click the link in the tweet, they will then be redirected to the actual post using your blog&#8217;s selected permalink structure, making a convenient and typically short URL.</p>
<p>Have you integrated Twitter into your WordPress blog? Share your strategies in the comments!</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=2591&type=feed" alt="" /><p>You are reading <a href="http://wphacks.com/add-twitter-link-to-wordpress-blog/">How To: Add a Twitter Link to Your WordPress Blog</a>  © 2010 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>

<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/add-twitter-link-to-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Page Sensitive Multi-Level Navigation</title>
		<link>http://wphacks.com/page-sensitive-multi-level-navigation/</link>
		<comments>http://wphacks.com/page-sensitive-multi-level-navigation/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 15:56:01 +0000</pubDate>
		<dc:creator>V Scott Ellis</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[WordPress Code]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress Navigation]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=2409</guid>
		<description><![CDATA[While most sites don&#8217;t need incredibly deep page navigation there are situations that justify a hierarchy beyond the typical 2 &#8211; 3 levels.  Unfortunately that can be cumbersome for top navigation drop-downs (more than 1 level of drop down is too much IMHO) so another solution needs to be found.  I ran into just such [...]]]></description>
			<content:encoded><![CDATA[<p>While most sites don&#8217;t need incredibly deep page navigation there are situations that justify a hierarchy beyond the typical 2 &#8211; 3 levels.  Unfortunately that can be cumbersome for top navigation drop-downs (more than 1 level of drop down is too much IMHO) so another solution needs to be found.  I ran into just such a situation for a client and while I&#8221;m also not a fan of left hand navigation it was the decision of the client to utilize it in conjunction with their top navigation, and in retrospect it made sense for them. To keep things easily navigable we also implemented breadcrumbs (which is a good practice anyway).</p>
<p>The mission was to display sub-pages of the current page you are on in the left nav and once you hit the bottom of the hierarchy to show pages which are parallel to that page within the same branch of the hierarchy.</p>
<p>After some digging and experimentation I came up with the following which executes perfectly in only a few lines of code.</p>
<p><code>&lt;?php<br />
$children = wp_list_pages("title_li=&amp;child_of=".$post-&gt;ID."&amp;echo=0&amp;depth=1");<br />
if ($children == "")<br />
$children = wp_list_pages("title_li=&amp;child_of=".$post-&gt;post_parent."&amp;echo=0&amp;depth=1");<br />
?&gt;<br />
&lt;ul&gt;<br />
&lt;?php echo $children; ?&gt;<br />
&lt;/ul&gt;<br />
&lt;?php endif; ?&gt;</code></p>
<p>Of course you style to taste&#8230;</p>
<p>That&#8217;s it! Used in conjunction with a standard WordPress top-navigation and breadcrumbs you can easily display page sensitive multi-level navigation for your super-complex multi-level site!</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=2409&type=feed" alt="" /><p>You are reading <a href="http://wphacks.com/page-sensitive-multi-level-navigation/">Page Sensitive Multi-Level Navigation</a>  © 2009 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>

<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/page-sensitive-multi-level-navigation/feed/</wfw:commentRss>
		<slash:comments>31</slash:comments>
		</item>
		<item>
		<title>Security Reminder: Upgrading Your WordPress Blogs</title>
		<link>http://wphacks.com/security-reminder-upgrading-your-wordpress-blogs/</link>
		<comments>http://wphacks.com/security-reminder-upgrading-your-wordpress-blogs/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 20:40:21 +0000</pubDate>
		<dc:creator>Kyle Eslick</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Upgrade WordPress]]></category>
		<category><![CDATA[WordPress Blogs]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress Security]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=2339</guid>
		<description><![CDATA[While I was away over the weekend, it appears that a large number of bloggers who use WordPress have been hacked and a lot of damage has been done.  It seems this problem has shown up for a large number of people, including some very high profile bloggers.  Among them was Robert Scoble, whose blog [...]]]></description>
			<content:encoded><![CDATA[<p>While I was away over the weekend, it appears that a large number of bloggers who use WordPress have been hacked and a lot of damage has been done.  It seems this problem has shown up for a large number of people, including some very high profile bloggers.  Among them was <a href="http://scobleizer.com/2009/09/05/i-dont-feel-safe-with-wordpress-hackers-broke-in-and-took-things/">Robert Scoble</a>, whose blog was among those websites which were hacked.   Damages on Scoble&#8217;s site included porn information being placed in old posts, 2 entire months of content being deleted, and more.  Of course the porn then led to his blog being completely banned from Google!   Scoble is not the only one having these problems, however, and even lesser known bloggers have been attacked.  You can read more in this <a href="http://wordpress.org/support/topic/307518">WordPress support forum thread</a>.</p>
<p>If you are wondering what the one thing all of these WordPress sites have in common, the problem is they were all using old versions of WordPress.   As someone that owns and operates well over 100 WordPress installations, I certainly understand the pain it can be to upgrade to the latest version of WordPress every time a new release happens, but I hope this goes to show why it is so important to take the time to upgrade all of your WordPress installations be using the most recent version of WordPress.</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=2339&type=feed" alt="" /><p>You are reading <a href="http://wphacks.com/security-reminder-upgrading-your-wordpress-blogs/">Security Reminder: Upgrading Your WordPress Blogs</a>  © 2009 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>

<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/security-reminder-upgrading-your-wordpress-blogs/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Separating Trackbacks from Comments in WordPress 2.7+</title>
		<link>http://wphacks.com/separating-trackbacks-from-comments-in-wordpress-2-7/</link>
		<comments>http://wphacks.com/separating-trackbacks-from-comments-in-wordpress-2-7/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 15:39:11 +0000</pubDate>
		<dc:creator>Kyle Eslick</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Seperating Trackbacks from Comments]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress 2.7]]></category>
		<category><![CDATA[WordPress Code]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress How-To]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=2287</guid>
		<description><![CDATA[Back when WordPress 2.7 was released, the WordPress team introduced a completely revamped comment form that included integration of threaded comments into the core software, introducing some dramatic changes with how comments are handled.   Unfortunately, this change broke one of the most popular comment hacks, separating trackbacks from comments. Since then, several people have stepped [...]]]></description>
			<content:encoded><![CDATA[<p>Back when <a href="http://wphacks.com/wordpress-27-now-available-for-download/">WordPress 2.7 was released</a>, the WordPress team introduced a completely revamped comment form that included integration of threaded comments into the core software, introducing some dramatic changes with how comments are handled.   Unfortunately, this change broke one of the most popular comment hacks, <a href="http://wphacks.com/how-to-separate-wordpress-comments-and-trackbacks/">separating trackbacks from comments</a>.</p>
<p>Since then, several people have stepped up and shared some great hacks for separating trackbacks from comment in WordPress 2.7 or newer blogs .  So far the best guide I&#8217;ve found came from Sivel.net, which can be viewed <a href="http://sivel.net/2008/10/wp-27-comment-separation/">here</a>.  Click over and follow those steps get everything separated.</p>
<p><em>Note: The above guide is only for people using WordPress 2.7 or newer installations.  For people using WordPress 2.6 or earlier, you&#8217;ll want to use <a href="http://wphacks.com/how-to-separate-wordpress-comments-and-trackbacks/">this tutorial</a>.</em></p>
<p>Once you&#8217;ve got the comments successfully separated from the trackbacks, there are a couple additional tweaks you may want to do to clean up how things look (it really depends on preference I suppose).   The first is to clean up your trackbacks/pingbacks by only displaying the title instead of an excerpt and everything else.   In order to do this, you&#8217;ll need to find the following code in your comments.php file:</p>
<p><code>&lt;ol&gt;<br />
&lt;?php wp_list_comments('type=pings'); ?&gt;<br />
</code></p>
<p>Now <strong>replace</strong> that code with the following:</p>
<p><code>&lt;ol&gt;<br />
&lt;?php wp_list_comments('type=pings&amp;callback=list_pings'); ?&gt;<br />
</code></p>
<p>Lastly, you&#8217;ll need to add the following code to your functions.php file (which can be created if you don&#8217;t already have one):</p>
<p><code>&lt;?php<br />
function list_pings($comment, $args, $depth) {<br />
$GLOBALS['comment'] = $comment;<br />
?&gt;<br />
&lt;li id="comment-&lt;?php comment_ID(); ?&gt;"&gt;&lt;?php comment_author_link(); ?&gt;<br />
&lt;?php } ?&gt;<br />
</code></p>
<p>That should clean up the trackbacks/pingbacks section and you can also apply the same changes if you use a plugin to display tweetbacks.</p>
<p>The other thing you may want to do is fix the comment count to only show actual comments, filtering out the trackbacks/pingbacks which are included in your comment count by default.   Simply add the following code to your functions.php file (which again can be created if you don&#8217;t already have one):</p>
<p><code>&lt;?php<br />
add_filter('get_comments_number', 'comment_count', 0);<br />
function comment_count( $count ) {<br />
if ( ! is_admin() ) {<br />
global $id;<br />
$comments_by_type = &amp;separate_comments(get_comments('status=approve&amp;post_id=' . $id));<br />
return count($comments_by_type['comment']);<br />
} else {<br />
return $count;<br />
}<br />
}<br />
?&gt;<br />
</code></p>
<p>So there you go.  Anyone have any other tips for cleaning up your comment form?</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=2287&type=feed" alt="" /><p>You are reading <a href="http://wphacks.com/separating-trackbacks-from-comments-in-wordpress-2-7/">Separating Trackbacks from Comments in WordPress 2.7+</a>  © 2009 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>

<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/separating-trackbacks-from-comments-in-wordpress-2-7/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Few Improvements to the WPHacks.com Design</title>
		<link>http://wphacks.com/few-improvements-to-the-wphacks-com-design/</link>
		<comments>http://wphacks.com/few-improvements-to-the-wphacks-com-design/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 21:44:33 +0000</pubDate>
		<dc:creator>Kyle Eslick</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Theme Update]]></category>
		<category><![CDATA[WordPress Hacks]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=2275</guid>
		<description><![CDATA[This post is just a heads up to let everyone know that the WordPress Hacks theme has been updated with a few new features added, courtesy of my friends at Blog Design Studio.  Some you will notice right away, while others you may not.  Here are the notable changes included with this new update: Threaded Comments &#8211; Now [...]]]></description>
			<content:encoded><![CDATA[<p>This post is just a heads up to let everyone know that the WordPress Hacks theme has been updated with a few new features added, courtesy of my friends at <a href="http://blogdesignstudio.com/">Blog Design Studio</a>.  Some you will notice right away, while others you may not. </p>
<p>Here are the notable changes included with this new update:</p>
<ol>
<li><strong>Threaded Comments</strong> &#8211; Now that the discussions have increased in the comments of our posts, I felt that it was important to support threaded comments, which became available way back when WordPress 2.7 was released.    You can now reply to individual comments without them falling all the way to the bottom of the page.</li>
<li><strong>Twitter Integration</strong> &#8211; Twitter is quickly replacing FeedDemon as my &#8220;feed reader&#8221; of choice, and I know I&#8217;m not the only one.  As a result, I felt it was important to integrate Twitter into the WPHacks.com design.  You&#8217;ll now find recent tweets in the sidebar, a tweet this button below each of our posts, and the comments section now supports the Tweetbacks plugin, displaying your tweets about WordPress Hacks content.</li>
<li><strong>Author Profiles</strong> &#8211; Single pages now display author profile information below each post.  If you have written for us in the past and have your own author page, you may want to contact me to request I update the information, or you can login to your author account and update your profile page!  </li>
</ol>
<p>The remaining changes were mostly &#8220;under the hood&#8221; things done to clean up the code a little bit and make sure everything was running smoothly.  If you have any questions or notice anything that isn&#8217;t appearing correctly, please <a href="http://wphacks.com/contact/">let me know</a>!</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=2275&type=feed" alt="" /><p>You are reading <a href="http://wphacks.com/few-improvements-to-the-wphacks-com-design/">Few Improvements to the WPHacks.com Design</a>  © 2009 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>

<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/few-improvements-to-the-wphacks-com-design/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>WordPress News &amp; Notes &#8211; July 24, 2009</title>
		<link>http://wphacks.com/wordpress-news-notes-july-24-2009/</link>
		<comments>http://wphacks.com/wordpress-news-notes-july-24-2009/#comments</comments>
		<pubDate>Sat, 25 Jul 2009 02:51:05 +0000</pubDate>
		<dc:creator>Alex Denning</dc:creator>
				<category><![CDATA[News & Notes]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[WordPress Comments]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress Loops]]></category>
		<category><![CDATA[WordPress News]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=2200</guid>
		<description><![CDATA[These days there are so many excellent WordPress blogs and articles, it can be hard to keep up with all the brilliant WordPress articles around, so here are some great articles I&#8217;ve saved on my feed reader; feel free to add some posts you&#8217;ve found around the web in the comments. First up, &#8216;10 Handy [...]]]></description>
			<content:encoded><![CDATA[<p>These days there are so many excellent WordPress blogs and articles, it can be hard to keep up with all the brilliant WordPress articles around, so here are some great articles I&#8217;ve saved on my feed reader; feel free to add some posts you&#8217;ve found around the web in the comments.</p>
<ol>
<li>First up, &#8216;<a href="http://www.smashingmagazine.com/2009/07/23/10-wordpress-comments-hacks/">10 Handy WordPress Comments Hacks</a>&#8216; on Smashing Magazine by Jean-Baptiste Jung of <a href="http://wprecipes.com">WP Recipes</a> fame.</li>
<li>Next, a post on Chris Coyier and Jeff Starr&#8217;s Digging into WordPress caught my eye: &#8216;<a href="http://diggingintowordpress.com/2009/06/including-jquery-in-wordpress-the-right-way/">Include jQuery in WordPress (the right way)</a>&#8216;. In this post, as you might have guessed, Chris shows how to include jQuery the right way &#8211; using the copy of jQuery built into WordPress.</li>
<li>Third, a post on WPWebHost in two parts &#8211; &#8216;Securing your WordPress Install the Foolproof Way&#8217; &#8211; parts <a href="http://wpwebhost.com/securing-your-wordpress-install-the-foolproof-way-part-1/">one </a>and <a href="http://wpwebhost.com/securing-your-wordpress-install-the-foolproof-way-part-2/">two</a>. A couple of tips in there that you might not have thought of.</li>
<li>Another post that caught my eye was &#8216;<a href="http://www.catswhocode.com/blog/multiple-wordpress-loops">Multiple WordPress Loops Explained</a>&#8216;. I would say more, but it&#8217;s pretty self explanatory.</li>
<li>A post that has been around a while, but is worth mentioning anyway &#8211; WPCandy presents <a href="http://wpcandy.com/articles/10-things-you-can-do-with-wordpress-besides-blogging.html">&#8217;10 Things You Can Do With WordPress Besides Blogging</a>&#8216;. Again, pretty self explanatory, but definately worth a look.</li>
<li>And finally, a little plug for a post I wrote the other day &#8211; &#8216;<a href="http://wpshout.com/10-tips-to-improve-your-wordpress-theme/">10 Tips to Improve Your WordPress Theme</a>&#8216;. Check it out. Some rather nice tips in there.</li>
</ol>
<p>And there we have it. Six links of note!  Add your own in the comments.</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=2200&type=feed" alt="" /><p>You are reading <a href="http://wphacks.com/wordpress-news-notes-july-24-2009/">WordPress News &#038; Notes &#8211; July 24, 2009</a>  © 2009 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>

<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/wordpress-news-notes-july-24-2009/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to: Use Thumbnails Generated by WordPress</title>
		<link>http://wphacks.com/how-to-use-thumbnails-generated-by-wordpress/</link>
		<comments>http://wphacks.com/how-to-use-thumbnails-generated-by-wordpress/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 15:25:11 +0000</pubDate>
		<dc:creator>Alex Denning</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Media]]></category>
		<category><![CDATA[WordPress Code]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress Tips]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=2183</guid>
		<description><![CDATA[One of ten brilliant tips that I shared yesterday on my blog &#8211; display images on your blog&#8217;s homepage without any custom fields or any additional functions.php script, something I first saw on  WebDeveloperPlus. How do you do it? First log in, on the sidebar select &#8216;Media&#8217; (which is under &#8216;Settings&#8217;). You&#8217;ll then be taken [...]]]></description>
			<content:encoded><![CDATA[<p>One of ten brilliant tips that <a href="http://wpshout.com/10-tips-to-improve-your-wordpress-theme/">I shared yesterday on my blog</a> &#8211; display images on your blog&#8217;s homepage without any custom fields or any additional functions.php script, something I first saw on  <a href="http://webdeveloperplus.com/wordpress/how-to-use-thumbnails-generated-by-wordpress-in-your-theme/">WebDeveloperPlus</a>.</p>
<p>How do you do it? First log in, on the sidebar select &#8216;Media&#8217; (which is under &#8216;Settings&#8217;). You&#8217;ll then be taken to a page with an option to change the thumbnail size of images. Change that to whatever size you want your images to appear as. Next, insert the code below onto your homepage, archive page, whatever.</p>
<p><code>&lt;?php<br />
//Get images attached to the post<br />
$args = array(<br />
'post_type' =&gt; 'attachment',<br />
'post_mime_type' =&gt; 'image',<br />
'numberposts' =&gt; -1,<br />
'order' =&gt; 'ASC',<br />
'post_status' =&gt; null,<br />
'post_parent' =&gt; $post-&gt;ID<br />
);<br />
$attachments = get_posts($args);<br />
if ($attachments) {<br />
foreach ($attachments as $attachment) {<br />
$img = wp_get_attachment_thumb_url( $attachment-&gt;ID );<br />
break; }<br />
//Display image<br />
} ?&gt;<br />
</code></p>
<p>Then, to display your image you can just echo out the $img tag we just created:</p>
<p><code>&lt;img src="&lt;?php echo $img; ?&gt;" alt=" " /&gt;<br />
</code><br />
And there we have it. I told you it was easy! This is one of the tips from a post I wrote yesterday on WPShout &#8211; &#8216;<a href="http://wpshout.com/10-tips-to-improve-your-wordpress-theme/">10 Tips to Improve Your WordPress Theme</a>&#8216;.</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=2183&type=feed" alt="" /><p>You are reading <a href="http://wphacks.com/how-to-use-thumbnails-generated-by-wordpress/">How to: Use Thumbnails Generated by WordPress</a>  © 2009 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>

<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/how-to-use-thumbnails-generated-by-wordpress/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Alex Denning: A New Contributor to WordPress Hacks</title>
		<link>http://wphacks.com/alex-denning-a-new-contributor-to-wordpress-hacks/</link>
		<comments>http://wphacks.com/alex-denning-a-new-contributor-to-wordpress-hacks/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 11:49:02 +0000</pubDate>
		<dc:creator>Alex Denning</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Alex Denning]]></category>
		<category><![CDATA[Nometech]]></category>
		<category><![CDATA[WordPress Blog]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress Shout]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=2176</guid>
		<description><![CDATA[Editor&#8217;s Note: Although Alex has published a few posts here in the past, he is going to ramp up his submissions over the coming weeks, so we decided he would do an introduction post.  If you&#8217;d like to write for WordPress Hacks, you can get more information here, then contact us. After Kyle announced in [...]]]></description>
			<content:encoded><![CDATA[<p><em>Editor&#8217;s Note: Although Alex has published a few posts here in the past, he is going to ramp up his submissions over the coming weeks, so we decided he would do an introduction post.  If you&#8217;d like to write for WordPress Hacks, you can get more information <a href="http://wphacks.com/write/">here</a>, then <a href="http://wphacks.com/contact/">contact us</a>.</em></p>
<p>After Kyle announced in <a href="../where-to-find-wordpress-news/">his last post</a> that he would not be able to resume WPHacks&#8217; regular posting schedule for awhile, I volunteered to step up to the plate; for the next fortnight I&#8217;ll be taking Kyle&#8217;s place and plan to be posting at least once every other day!</p>
<h3>Me.</h3>
<p>For those of you who don&#8217;t know, I&#8217;m Alex Denning. I&#8217;ve written the odd post here on <a href="http://wphacks.com/">WordPress Hacks</a>, as well as occasionally writing posts for <a href="http://catswhocode.com/">CatsWhoCode</a> and <a href="http://problogdesign.com/">ProBlogDesign</a>. Recently I started my own WordPress blog, <a href="http://wpshout.com/">WPShout.com</a>, and I also am the editor of Nometet.com.  I&#8217;m on <a href="http://www.twitter.com/alexdenning">Twitter too</a>!</p>
<h3>What I&#8217;ll be posting</h3>
<p>As I said, I&#8217;ll be posting at least once every other day with a bit of discussion, some nice WordPress hacks, some WordPress news, etc. However, I haven&#8217;t got enough post ideas for the entire two weeks; any suggestions for posts would be greatly appreciated in the comments.</p>
<h3>A quick plug</h3>
<p>As with everything in life, my posting here does too have an ulterior motive; I&#8217;ve briefly mentioned my blog already, but I&#8217;ll expand: my blog has just (I say just, ie today!) changed its name from Nometech.com to WPShout.com and it has also got an exciting new design. As you&#8217;re reading WordPress Hacks, that implies you&#8217;re a WordPress fan, so I&#8217;ll make a quick prod in the direction of the <a href="http://feeds2.feedburner.com/nometech">WPShout RSS feed</a>; a couple of times a week I publish in depth posts related to WordPress. I&#8217;d hope the content speaks for itself, so go take a look!</p>
<h3>Wrapping up</h3>
<p>I think that&#8217;s everything! As I said, any post suggestions or questions?  Please do leave a comment below, and here&#8217;s to an excellent next two weeks!</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=2176&type=feed" alt="" /><p>You are reading <a href="http://wphacks.com/alex-denning-a-new-contributor-to-wordpress-hacks/">Alex Denning: A New Contributor to WordPress Hacks</a>  © 2009 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>

<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/alex-denning-a-new-contributor-to-wordpress-hacks/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Follow WordPress Hacks on Twitter!</title>
		<link>http://wphacks.com/follow-wordpress-hacks-on-twitter/</link>
		<comments>http://wphacks.com/follow-wordpress-hacks-on-twitter/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 19:41:40 +0000</pubDate>
		<dc:creator>Kyle Eslick</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Hack WordPress]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WPHacks Twitter]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=2152</guid>
		<description><![CDATA[Based upon the emails we get each month from readers who are trying to find our Twitter feed, I feel this post is probably long overdue, but I wanted to point out to our readership that we do in fact have a Twitter page!   If you&#8217;d like to follow WPHacks.com on Twitter, you can get our updates here (@HackWordPress).  Our Twitter [...]]]></description>
			<content:encoded><![CDATA[<p>Based upon the emails we get each month from readers who are trying to find our Twitter feed, I feel this post is probably long overdue, but I wanted to point out to our readership that we do in fact have a Twitter page!   If you&#8217;d like to follow WPHacks.com on Twitter, you can get our updates <a href="http://twitter.com/HackWordPress">here</a> (@HackWordPress). </p>
<p>Our Twitter feed includes notification each time we publish a post here on WPHacks.com, but as an added bonus, you will also get some retweets of our favorite WordPress-related content published by others. </p>
<p><em>Note:</em>  If you&#8217;d like to follow my personal tweets also, you can do so <a href="http://twitter.com/KyleEslick">here</a>.  (@KyleEslick)</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=2152&type=feed" alt="" /><p>You are reading <a href="http://wphacks.com/follow-wordpress-hacks-on-twitter/">Follow WordPress Hacks on Twitter!</a>  © 2009 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>

<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/follow-wordpress-hacks-on-twitter/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

