<?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 Tutorial</title>
	<atom:link href="http://wphacks.com/tag/wordpress-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://wphacks.com</link>
	<description>WordPress Themes, Plugins, Hacks, Tutorials, and more!</description>
	<lastBuildDate>Fri, 25 May 2012 20:07:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Fixing the Unresponsive Script Problem in WordPress 2.5+</title>
		<link>http://wphacks.com/fixing-unresponsive-script-problem-wordpress-25/</link>
		<comments>http://wphacks.com/fixing-unresponsive-script-problem-wordpress-25/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 08:00:10 +0000</pubDate>
		<dc:creator>Kyle Eslick</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unresponsive Script]]></category>
		<category><![CDATA[WordPress Error]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress How-To]]></category>
		<category><![CDATA[WordPress Tutorial]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=923</guid>
		<description><![CDATA[Yesterday in my post about moving your blog to a new domain, I mentioned that there is a problem that presents itself when posts are imported into WordPress 2.5 or later.   A quick search determined that I wasn&#8217;t the only one having this problem, so I decided to document how to fix this problem here (or [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday in my post about <a href="http://wphacks.com/how-to-move-wordpress-blog-new-domain-name/">moving your blog to a new domain</a>, I mentioned that there is a problem that presents itself when posts are imported into WordPress 2.5 or later.   A quick search determined that I wasn&#8217;t the only one having this problem, so I decided to document how to fix this problem here (or at least how I was able to fix it).</p>
<p>Here are the steps I took to fix the problem with the unresponsive script in the Write panel (requires CPanel/PHPMyAdmin access):</p>
<ol>
<li>Please make a backup of your database in case you run into any problems.  These are the steps that worked for me to fix the problem, but I can&#8217;t guarantee they will work for everyone. </li>
<li>Login in to your CPanel.   This is usually found at http://yourdomain.com/cpanel/ and usually uses your FTP password.</li>
<li>Access your PHPMyAdmin (in CPanel this is usually found at the bottom of the MySQL Databases page).</li>
<li>Click on the MySQL database you created for your new WordPress installation in the menu on the left.</li>
<li>Click on <strong>wp_postmeta</strong> in the list of tables on the left.</li>
<li>Click the <strong>Browse</strong> icon.</li>
<li>Click on the <strong>post_id</strong> tab once to sort the list from 0 to higher.</li>
<li>Now you&#8217;ll need to delete anything with a post_id of 0.  Depending on how many posts were imported, there may be a lot of zeroes.  I had about 600 of them to delete.</li>
</ol>
<p>The best way to do this is to locate the boxes with &#8220;row(s) starting from record #&#8221; between them.  In the front box put 100 (or whatever number of your choice) and always put 1 in the right box.   Click Show.  You can use the select all button and verify all of them are zero.   Uncheck any that aren&#8217;t zero and click Delete.  Repeat until all zeroes are gone.</p>
<p>Now open your Write panel in your new blog&#8217;s dashboard and everything should be good!</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=923&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/fixing-unresponsive-script-problem-wordpress-25/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How To: Move Your WordPress Blog to a New Domain</title>
		<link>http://wphacks.com/how-to-move-wordpress-blog-new-domain-name/</link>
		<comments>http://wphacks.com/how-to-move-wordpress-blog-new-domain-name/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 08:00:50 +0000</pubDate>
		<dc:creator>Kyle Eslick</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[Moving WordPress]]></category>
		<category><![CDATA[WordPress How-To]]></category>
		<category><![CDATA[WordPress Tutorial]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=875</guid>
		<description><![CDATA[Last Friday I announced that our site has moved from Hack WordPress.com to where we are now, at WPHacks.com.   Towards the end of the post we got a lot of positive feedback from people wanting to know what all was involved with the process, so I&#8217;ve decided to attempt to document it here. Here are [...]]]></description>
			<content:encoded><![CDATA[<p>Last Friday <a href="http://wphacks.com/hack-wordpress-rebrands-as-wphacks-com/">I announced that our site has moved</a> from Hack WordPress.com to where we are now, at <a href="http://wphacks.com/hack-wordpress-rebrands-as-wphacks-com/">WPHacks.com</a>.   Towards the end of the post we got a lot of positive feedback from people wanting to know what all was involved with the process, so I&#8217;ve decided to attempt to document it here.</p>
<p>Here are the initial steps you&#8217;ll want to take when moving to a new domain name.</p>
<p><strong>Existing Domain:</strong></p>
<ul>
<li><strong>Export Your WordPress Posts</strong> &#8211; You can find the Export option under the Manage tab in your WordPress dashboard.  You&#8217;ll want to save the file somewhere on your hard drive where you can find it a little later.</li>
<li><strong>Download Your wp-content Folder</strong> &#8211; This step requires FTP access.  You&#8217;ll want to copy over your wp-content folder on to your hard drive or place it somewhere you can find it later so that you can upload it to your new domain.  This should grab all of your existing plugins, themes, uploads (pictures), etc.   You&#8217;ll also want to download your favicon and Robots.txt file (if you have either).</li>
<li><strong>Sub Domains and Sub Directories</strong> &#8211; This won&#8217;t apply to everyone, but if you&#8217;ve set up any sub domains or sub directories for your blog, you&#8217;ll want to grab the same files from them as well.</li>
</ul>
<p><strong>New Domain:</strong></p>
<ul>
<li><strong>Install WordPress on the New Domain</strong> &#8211; This can be done manually or via Fantastico if you have CPanel.</li>
<li><strong>Upload Your wp-content Folder</strong> &#8211; This requires FTP access to complete.  Just override the existing wp-content folder from your fresh WordPress install.</li>
<li><strong>Import All WordPress Posts</strong> &#8211; You can find the Import option under the Manage tab in your WordPress dashboard.  When it asks for the import file, use the one that was exported and saved on your hard drive earlier.</li>
<li><strong>Activate Your Theme &amp; Plugins</strong> &#8211; Head into the Design and Plugins tabs and make sure you have the same theme and same plugins activated as the old domain name.</li>
<li><strong>Update Your Settings to Match the Old Domain</strong> &#8211; Update all of your settings to match the old domain, including all of your plugin settings you just activated.</li>
<li><strong>Inspect Your Theme</strong> &#8211; View your theme with your plugins activated and settings in place to ensure that everything looks like it matches the old site on the new domain.  Test some of the functionality as well to ensure everything is working properly.</li>
<li><strong>Upload and Run the Update URL&#8217;s Plugin</strong> &#8211; The <a href="http://www.velvetblues.com/web-development-blog/wordpress-plugin-update-urls/">Update URL&#8217;s WordPress plugin</a> is brand new (just came out this month) WordPress plugin and the timing couldn&#8217;t have been more perfect for me!  Once activated, simply enter your old domain URL and the new one.  It will go through all of your old posts and update the domain part of the URL with the new one, and it only takes a matter of seconds.  Note:  I won&#8217;t update anchor text, only the domain in the URL.</li>
<li><strong>Repeat Steps for Sub Domains and Sub Directories</strong> &#8211; Upload and setup your sub domains and sub directories using the same steps above.</li>
</ul>
<p><strong>Domain Move Troubleshooting:</strong></p>
<ul>
<li>For some reason, since WordPress 2.5, the export/import feature of WordPress works great but sometimes causes problems with an unresponsive script error whenever you access the Write panel.  I will be publishing a post tomorrow that explains how to fix this error, so make sure you are <a href="http://feeds.feedburner.com/HackWordpress">subscribed to our feed</a>.</li>
</ul>
<p>Once the move is completed and everything seems to be working well, here is a mini checklist of extra things to do before making the move official:</p>
<ul>
<li><strong>Update Your Feedburner Feed</strong> &#8211; You need to edit your feed details in your Feedburner account with the new domain&#8217;s source feed (example: http://yourdomain.com/feed/)</li>
<li><strong>Update Your Email Address</strong> &#8211; This one is optional.  Setup an email account on your new domain name (for example, I setup Kyle AT WPHacks DOT com for the new site).  I recommend using Google Apps which makes it really easy and lets you take advantage of the Gmail spam guards that Google has in place (plus all of the other Gmail features).</li>
<li><strong>Update Your Gravatar</strong> &#8211; This one is optional as well.  Log in to your Gravatar account and add the new email address you just setup.</li>
<li><strong>Update Your PPC Campaigns</strong> &#8211; If you purchase PPC advertising with AdWords, Yahoo, or whoever, you&#8217;ll want to update the destination URLs.</li>
</ul>
<p>Once you&#8217;re done, all that is left is to go to your domain registrar and forward the old domain to the new domain (also known as a 301 redirect).   Depending on your registrar, this is usually really easy and self-explanatory.  I would also wait 6-12 hours to make an announcement on the new domain name so that the DNS can resolve at the new domain name (it can sometimes take up to 48 hours).   Depending on your web hosting, you may also be able to do the forward there to avoid this problem.</p>
<p>Doing this will cause all links to your old domain name to be redirected to the equivalent URL on the new domain name (assuming you use the same URL structure on the new site).   It will also let Google and the other search engines know you have moved.  Usually within a week, depending on the search engine, they will have gone through and updated their index with the new domain URL&#8217;s.</p>
<p>This of course means that you shouldn&#8217;t use any human traffic, but you will take a hit when it comes to your search engine rankings.   This is because the links are pointed towards the old domain name, so when Google determines your rankings, they will see the new URL has zero backlinks.  This is why it is beneficial if you can get people to update the links in their sidebars or posts to the new domain URL.</p>
<p>Any questions?  Need clarification on anything?  Please let me know in the comments below!</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=875&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/how-to-move-wordpress-blog-new-domain-name/feed/</wfw:commentRss>
		<slash:comments>90</slash:comments>
		</item>
		<item>
		<title>Collection of WordPress Videos Found on YouTube</title>
		<link>http://wphacks.com/collection-of-wordpress-videos-found-on-youtube/</link>
		<comments>http://wphacks.com/collection-of-wordpress-videos-found-on-youtube/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 08:00:23 +0000</pubDate>
		<dc:creator>Kyle Eslick</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[WordPress Templates]]></category>
		<category><![CDATA[WordPress Tutorial]]></category>
		<category><![CDATA[WordPress Videos]]></category>
		<category><![CDATA[WordPress.com]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=1069</guid>
		<description><![CDATA[I spent a little time on YouTube and found a few good WordPress videos that I thought everyone might enjoy! Step-by-Step Tutorial on How to Blog on WordPress.com Video How to Embed a YouTube Video in WordPress Video How To Create A Custom WordPress Page Template Video The Best WordPress Plugins Video]]></description>
			<content:encoded><![CDATA[<p>I spent a little time on YouTube and found a few good WordPress videos that I thought everyone might enjoy!</p>
<h3>Step-by-Step Tutorial on How to Blog on WordPress.com Video</h3>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="src" value="http://www.youtube.com/v/MWYi4_COZMU&amp;hl=en&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/MWYi4_COZMU&amp;hl=en&amp;fs=1" allowfullscreen="true"></embed></object></p>
<h3>How to Embed a YouTube Video in WordPress Video</h3>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="src" value="http://www.youtube.com/v/NopuJ_OYjsk&amp;hl=en&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/NopuJ_OYjsk&amp;hl=en&amp;fs=1" allowfullscreen="true"></embed></object></p>
<h3>How To Create A Custom WordPress Page Template Video</h3>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="src" value="http://www.youtube.com/v/IAi3ZM1h4SY&amp;hl=en&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/IAi3ZM1h4SY&amp;hl=en&amp;fs=1" allowfullscreen="true"></embed></object></p>
<h3>The Best WordPress Plugins Video</h3>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="src" value="http://www.youtube.com/v/ocZntJTh7Ik&amp;hl=en&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/ocZntJTh7Ik&amp;hl=en&amp;fs=1" allowfullscreen="true"></embed></object></p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=670&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/collection-of-wordpress-videos-found-on-youtube/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Ultimate Guide to the WordPress Loop</title>
		<link>http://wphacks.com/ultimate-guide-wordpress-loop-tutorial/</link>
		<comments>http://wphacks.com/ultimate-guide-wordpress-loop-tutorial/#comments</comments>
		<pubDate>Tue, 08 Apr 2008 14:44:18 +0000</pubDate>
		<dc:creator>Kyle Eslick</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[WordPress Code]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress Loop]]></category>
		<category><![CDATA[WordPress Tutorial]]></category>

		<guid isPermaLink="false">http://wphacks.com/?p=471</guid>
		<description><![CDATA[One of my favorite parts about using WordPress for my blogs is getting to work with PHP code, which I find to be much easier to write/hack.   For those that are shy around code, it really isn&#8217;t that difficult to get ahold of the basics of PHP, so WordPress is the right place for you.  [...]]]></description>
			<content:encoded><![CDATA[<p>One of my favorite parts about using WordPress for my blogs is getting to work with PHP code, which I find to be much easier to write/hack.   For those that are shy around code, it really isn&#8217;t that difficult to get ahold of the basics of PHP, so WordPress is the right place for you. </p>
<p>One great area to start is learning how the WordPress loop works.  This is a basic function of blogging used to display the most recent X number of posts on your blog&#8217;s homepage (for traditional blogs).   Rather than go into to much detail here, I&#8217;d like to point you towards a new post by Themelab which is designed to be the <a href="http://www.themelab.com/2008/04/04/the-ultimate-guide-to-the-wordpress-loop/">Utlimate Guide to the WordPress loop</a>. </p>
<p>This post definitely lives up to its name and goes beyond just showing you how to do something.  It actually explains how and why it works, and includes screenshots with many of the examples.   If you have any interest in learning about the WordPress loop you may want to read through this post and/or bookmark it for future reference. </p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=220&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/ultimate-guide-wordpress-loop-tutorial/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How To: Changing Colors in WordPress 2.5</title>
		<link>http://wphacks.com/how-to-changing-colors-in-wordpress-25/</link>
		<comments>http://wphacks.com/how-to-changing-colors-in-wordpress-25/#comments</comments>
		<pubDate>Wed, 19 Mar 2008 03:00:01 +0000</pubDate>
		<dc:creator>Kyle Eslick</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[WordPress 2.5]]></category>
		<category><![CDATA[WordPress How-To]]></category>
		<category><![CDATA[WordPress Tutorial]]></category>

		<guid isPermaLink="false">http://wphacks.com/how-to-changing-colors-in-wordpress-25/</guid>
		<description><![CDATA[Probably the most talked about feature in WordPress 2.5 is the new design for the dashboard that was supposed to be released in WordPress 2.4.  The design has taken a lot of heat since the initial demo was released as many WordPress bloggers don&#8217;t seem to like it.   I personally think that it is just [...]]]></description>
			<content:encoded><![CDATA[<p>Probably the most talked about feature in WordPress 2.5 is the new design for the dashboard that was supposed to be released in WordPress 2.4.  The design has taken a lot of heat since the <a href="http://wphacks.com/preview-the-wordpress-24-admin-panel/">initial demo was released</a> as many WordPress bloggers don&#8217;t seem to like it.   I personally think that it is just drastically different and will just taking some getting used to.  Once people are used to it people will like it.</p>
<p>Once you&#8217;ve upgraded, the good news is that you have options.  If you prefer to customize your own colors, Ozh has a nice tutorial up explaining <a href="http://planetozh.com/blog/2008/03/per-user-custom-stylesheet-in-wordpress-25/">how to make a custom stylesheet in WordPress 2.5</a>.</p>
<p>As previously mentioned, you also have the option of using a plugin such as <a href="http://wphacks.com/fluency-admin-wordpress-plugin/">Fluency Admin</a> to adjust the look of your dashboard (WordPress 2.5+).   I&#8217;m sure other plugins will be released as well, giving you a wide variety of looks to choose from.</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=190&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/how-to-changing-colors-in-wordpress-25/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Add Bio Info To Your WordPress Blog Posts</title>
		<link>http://wphacks.com/how-to-add-bio-info-to-wordpress-posts/</link>
		<comments>http://wphacks.com/how-to-add-bio-info-to-wordpress-posts/#comments</comments>
		<pubDate>Sat, 16 Feb 2008 11:00:07 +0000</pubDate>
		<dc:creator>Jeffro</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[Authors Page]]></category>
		<category><![CDATA[bio]]></category>
		<category><![CDATA[WordPress Hacks]]></category>
		<category><![CDATA[WordPress How-To]]></category>
		<category><![CDATA[WordPress Tutorial]]></category>

		<guid isPermaLink="false">http://wphacks.com/how-to-add-bio-info-to-wordpress-posts/</guid>
		<description><![CDATA[This guest post was written by Jeffro of Jeffro2pt0. Jeffro is a WordPress enthusiast who writes a lot about WordPress and maintains a WordPress Weekly podcast. If you have WordPress knowledge and are interested in writing a guest post for Hack WordPress, please contact us. Ever wanted that ability to show your bio information within [...]]]></description>
			<content:encoded><![CDATA[<p><em>This guest post was written by Jeffro of <a href="http://techie-buzz.com/"></a><a href="http://www.jeffro2pt0.com/">Jeffro2pt0</a>.  Jeffro is a WordPress enthusiast who writes a lot about WordPress and maintains a WordPress Weekly podcast.  If you have WordPress knowledge and are interested in <a href="http://wphacks.com/write/">writing a guest post for Hack WordPress</a>, please <a href="http://wphacks.com/contact/">contact us</a>.</em></p>
<p>Ever wanted that ability to show your bio information within your WordPress profile at the bottom of every post? For single user blogs, this might not be practical. But for multi-authored blogs, adding the bio info of each author at the bottom of their respective posts is a good way to give props to the author as well as providing information to the readers as to who that person is without having to refer to an about me page. The good news is that, you don&#8217;t need to install a plugin to have this functionality.</p>
<p><img src="http://wphacks.com/wp-content/uploads/2008/02/bioinfo.png" alt="BioInfo" /></p>
<p>Inside of a user profile is this nifty little box where you can place information about yourself. As you can see, I have already placed some info into the box for reference later on in the tutorial. We are going to take the information in this box and display it at the bottom of every post that is under my name.</p>
<p>The template tag we are going to focus on is <code>&lt;?php the_author_description(); ?&gt;</code> This tag doesn&#8217;t accept any parameters, so don&#8217;t bother trying to do anything funky with this tag. Now, head to your templates Style sheet and add this to it:</p>
<p><code>.postauthor { }</code></p>
<p>This will give us the opportunity to style the postauthor bit when it&#8217;s published in the post. Now that we have the template tag in order, we will need to place it within <a href="http://codex.wordpress.org/The_Loop" title="http://codex.wordpress.org/The_Loop">the loop</a>.</p>
<p>I&#8217;m not going to delve into the specifics of the loop, but in general, it deals with the information related to posts. Browse to your themes index.php file and look for something like this:</p>
<p><code>&lt; ?php the_content('Read the rest of this entry »'); ?&gt;</code></p>
<p>That is what it looks like in my theme, it may look different in yours, but this is the function that displays the content of the post. Underneath of this content function is where you would want to place the following code:<br />
<code></code><br />
<code>&lt; div class="postauthor "&gt;&lt; ?php the_author_description(); ? &gt;&lt; /div&gt;</code></p>
<p>Please keep in mind that if the code does not work, it is most likely due to the spaces which I had to add in order for the code to properly appear within this post. Simply remove the spaces, and the code should be just fine.</p>
<p>Now that you have the author description function in place, this is what it might look like on your blog:</p>
<p><img src="http://wphacks.com/wp-content/uploads/2008/02/whatitmightlooklike.png" alt="WhatItMightLookLike" /></p>
<p>If you ask me, this looks bland and boring. We need to fix that by editing the div class called Postauthor within the CSS file and give that Div class a nice look. You can style it to match your blog design, but for the sake of this tutorial, I&#8217;ll display the CSS code which makes it appear like the TAG div container shown below the Post Author.</p>
<p><code>.postauthor {<br />
color: #222222;<br />
font-family: Arial, Helvetica, sans-serif;<br />
font-size: 14px;<br />
font-weight: normal;<br />
background: #EAEAEA;<br />
border-top: 2px solid #000000;<br />
border-bottom: 1px solid #000000;<br />
width: 640px;<br />
padding: 3px;<br />
margin-bottom:5px;<br />
}</code></p>
<p>This CSS style code turns that small black text into something like this:</p>
<p><a href="http://wphacks.com/wp-content/uploads/2008/02/alldone.png" title="AllDone"><img src="http://wphacks.com/wp-content/uploads/2008/02/alldone.png" alt="AllDone" /></a></p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=158&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/how-to-add-bio-info-to-wordpress-posts/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>How To: Adding Edit Buttons To Your WordPress Theme</title>
		<link>http://wphacks.com/how-to-adding-edit-buttons-to-your-wordpress-theme/</link>
		<comments>http://wphacks.com/how-to-adding-edit-buttons-to-your-wordpress-theme/#comments</comments>
		<pubDate>Fri, 12 Oct 2007 20:00:19 +0000</pubDate>
		<dc:creator>Kyle Eslick</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[WordPress Edits]]></category>
		<category><![CDATA[WordPress How-To]]></category>
		<category><![CDATA[WordPress Themes]]></category>
		<category><![CDATA[WordPress Tutorial]]></category>

		<guid isPermaLink="false">http://wphacks.com/how-to-adding-edit-buttons-to-your-wordpress-theme/</guid>
		<description><![CDATA[I talked previously about how there are a lot of basic things WordPress theme authors can do to make a theme more functional and appealing to WordPress users, such as separating blog comments from trackbacks.  Another thing that theme authors often forget to do is add &#8220;edit&#8221; buttons to posts, pages, and comments.   Having access to these buttons [...]]]></description>
			<content:encoded><![CDATA[<p>I talked previously about how there are a lot of basic things WordPress theme authors can do to make a theme more functional and appealing to WordPress users, such as <a href="http://wphacks.com/how-to-separate-wordpress-comments-and-trackbacks/">separating blog comments from trackbacks</a>.  Another thing that theme authors often forget to do is add &#8220;edit&#8221; buttons to posts, pages, and comments.   Having access to these buttons can save blog authors a lot of time when trying to manage their blogs.  As a result, I decided to write up a quick tutorial that explains the really simple process of adding edit buttons to your WordPress theme. </p>
<p>If you&#8217;d like to add an &#8220;Edit&#8221; button on your individual <strong>posts</strong> or <strong>pages</strong>, here is the code you will want to place somewhere in your post and/or page template (usually called single.php and page.php) where you want it to display:</p>
<p><code>&lt;?php edit_post_link(__("**Edit**"), ''); ?&gt;</code></p>
<p>If you&#8217;d like to add an &#8220;Edit&#8221; button to your individual <strong>comments</strong>, here is the code you need to place somewhere in your comments loop (usually called comments.php) where you want it to display:</p>
<p><code>&lt;?php edit_comment_link(__("**Edit**"), ''); ?&gt;</code></p>
<p>A couple of quick notes about adding edit buttons to your theme:</p>
<ul>
<li>These edit links will only appear if you are logged in with the appropriate priviledges (administrator, editor, etc.).  Your traffic will not see them.</li>
<li>You can wrap them in a div or whatever you would like to and then set its position in your stylesheet to appear where you want it to. </li>
</ul>
<img src="http://wphacks.com/?ak_action=api_record_view&id=29&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/how-to-adding-edit-buttons-to-your-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

