<?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>Website Services for Small Businesses &#187; template mods</title>
	<atom:link href="http://desperatelyseekingwp.com/tag/template-mods/feed/" rel="self" type="application/rss+xml" />
	<link>http://desperatelyseekingwp.com</link>
	<description>WordPress Specialists creating Websites for Small Business</description>
	<lastBuildDate>Tue, 22 May 2012 20:18:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Every Post needs an Author</title>
		<link>http://desperatelyseekingwp.com/2008/09/every-post-needs-an-author/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=every-post-needs-an-author</link>
		<comments>http://desperatelyseekingwp.com/2008/09/every-post-needs-an-author/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 17:01:39 +0000</pubDate>
		<dc:creator>Cathy Tibbles</dc:creator>
				<category><![CDATA[Add Style]]></category>
		<category><![CDATA[Advanced]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[php wordpress tags]]></category>
		<category><![CDATA[template mods]]></category>
		<category><![CDATA[the_author tag]]></category>
		<category><![CDATA[wordpress tags]]></category>
		<category><![CDATA[wp code]]></category>

		<guid isPermaLink="false">http://www.desperatelyseekingwp.com/?p=90</guid>
		<description><![CDATA[Every post needs an author, unless of course, you are the owner, author, and keeper of the blog.  If you would like to have your name on each post that you write, it is as simple as one line of code.  I&#8217;ve written it for you (me and the wordpress authors), and given you the [...]]]></description>
			<content:encoded><![CDATA[<p>Every post needs an author, unless of course, you are the owner, author, and keeper of the blog.  If you would like to have your name on each post that you write, it is as simple as one line of code.  I&#8217;ve written it for you (me and the wordpress authors), and given you the step by step below:</p>
<p>For most templates you will want this in the main index.php, archive.php and category.php templates.  You find these templates in the &#8220;Design&#8221; administration panel, under &#8220;Edit Themes&#8221;.  Select your current theme from the drop-down menu.  It should be automatically selected for most people.</p>
<p>Then select from the right hand column the template that you&#8217;d like to work on.  Look for this bit here:</p>
<pre>&lt;div class="post" id="post-&lt;?php the_ID(); ?&gt;"&gt;</pre>
<pre>                &lt;h2&gt;&lt;a href="&lt;?php the_permalink() ?&gt;" rel="bookmark"
title="Permanent Link to &lt;?php the_title_attribute(); ?&gt;"&gt;
&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;</pre>
<pre>                &lt;small&gt;&lt;?php the_time('F jS, Y') ?&gt; &lt;/small&gt;</pre>
<pre>                &lt;div class="entry"&gt;</pre>
<p>Select and copy this bit:</p>
<pre><strong><span style="color: #ff0000;">&lt;?php _e("By ");?&gt;&lt;?php the_author();?&gt;</span></strong></pre>
<p>And voila!  You should have something like this:</p>
<pre>&lt;div class="post" id="post-&lt;?php the_ID(); ?&gt;"&gt;</pre>
<pre>                &lt;h2&gt;&lt;a href="&lt;?php the_permalink() ?&gt;" rel="bookmark" title="Permanent Link to
&lt;?php the_title_attribute(); ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;</pre>
<pre>                &lt;small&gt;&lt;?php the_time('F jS, Y') ?&gt;
<strong><span style="color: #ff0000;">&lt;?php _e("By ");?&gt;&lt;?php the_author();?&gt;</span></strong>
&lt;/small&gt;</pre>
<pre>                &lt;div class="entry"&gt;

Any questions?</pre>
]]></content:encoded>
			<wfw:commentRss>http://desperatelyseekingwp.com/2008/09/every-post-needs-an-author/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Served from: desperatelyseekingwp.com @ 2012-05-22 16:59:44 by W3 Total Cache -->
