<?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 Edits</title>
	<atom:link href="http://wphacks.com/tag/wordpress-edits/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>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="" /><p>You are reading <a href="http://wphacks.com/how-to-adding-edit-buttons-to-your-wordpress-theme/">How To: Adding Edit Buttons To Your WordPress Theme</a>  © 2007 | <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-adding-edit-buttons-to-your-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

