<?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>author &#8211; Thesis Docs</title>
	<atom:link href="https://diythemes.com/thesis/rtfm/tag/author/feed/" rel="self" type="application/rss+xml" />
	<link>https://diythemes.com/thesis/rtfm</link>
	<description>Documentation, How-tos, and Best Practices for the Thesis WordPress Theme System</description>
	<lastBuildDate>Wed, 08 Nov 2017 15:25:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.1</generator>
	<item>
		<title>Custom Teaser Byline</title>
		<link>https://diythemes.com/thesis/rtfm/custom-teaser-byline/</link>
		
		<dc:creator><![CDATA[Shelley]]></dc:creator>
		<pubDate>Mon, 12 Oct 2009 15:10:52 +0000</pubDate>
				<category><![CDATA[Thesis 1 Documentation]]></category>
		<category><![CDATA[author]]></category>
		<category><![CDATA[author name]]></category>
		<category><![CDATA[byline]]></category>
		<category><![CDATA[category]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[edit post link]]></category>
		<category><![CDATA[primary category]]></category>
		<category><![CDATA[teasers]]></category>
		<guid isPermaLink="false">https://diythemes.com/answers/?p=524</guid>

					<description><![CDATA[<ul>
<li>Display Author, Date, and Category</li>
<li>Display Date, Edit Link, and Category (on Separate Lines)</li>
</ul>]]></description>
										<content:encoded><![CDATA[<p class="alert">The code in this article is compatible only with version 1.7 or higher of Thesis.</p>
<h3 id="auth_date_cat">Display Author, Date, and Category <a href="#auth_date_cat" title="Link to this section">∞</a></h3>
<p>This custom code will give your teasers a byline in this format:</p>
<p><code>by (author) on (date) in (category)</code></p>
<p>First, uncheck the <em>author name</em>, <em>date</em>, and <em>primary category</em> elements under <strong>Design Options &gt; Teasers &gt; Teaser Display Options</strong> to avoid duplication.</p>
<p>Then, place this code in <code>custom_functions.php</code>:</p>
<pre class="php">
function my_teaser_byline() {
	global $thesis_design;
	$date_formats = thesis_get_date_formats();
	$use_format = ($thesis_design-&gt;teasers['date']['format'] == 'custom') ? $thesis_design-&gt;teasers['date']['custom'] : $date_formats[$thesis_design-&gt;teasers['date']['format']];
	echo '&lt;span class=&quot;teaser_author&quot;&gt;';
	thesis_author();
	echo '&lt;/span&gt;';
	echo &quot;\n&quot;;
	echo '&lt;abbr class=&quot;teaser_date published&quot; title=&quot;' . get_the_time('Y-m-d') . '&quot;&gt;on ' . get_the_time($use_format) . '&lt;/abbr&gt;' . &quot;\n&quot;;
	$categories = get_the_category();
	echo '&lt;a class=&quot;teaser_category&quot; href=&quot;' . get_category_link($categories[0]-&gt;cat_ID) . '&quot;&gt;in ' . $categories[0]-&gt;cat_name . '&lt;/a&gt;' . &quot;\n&quot;;
}

add_action('thesis_hook_after_teaser_headline', 'my_teaser_byline');
</pre>
<h3 id="date_edit_cat">Display Date, Edit Link, and Category (on Separate Lines) <a href="#date_edit_cat" title="Link to this section">∞</a></h3>
<p>This version pulls together the date, edit link, and category, then adds paragraph tags to the category function to put it on a line by itself.</p>
<p>First, uncheck the <em>date</em>, <em>edit post link</em>, and <em>primary category</em> elements under <strong>Design Options &gt; Teasers &gt; Teaser Display Options</strong> to avoid duplication.</p>
<p>Then, place this code in <code>custom_functions.php</code>:</p>
<pre class="php">
function my_teaser_byline() {
	global $thesis_design;
	$date_formats = thesis_get_date_formats();
	$use_format = ($thesis_design-&gt;teasers['date']['format'] == 'custom') ? $thesis_design-&gt;teasers['date']['custom'] : $date_formats[$thesis_design-&gt;teasers['date']['format']];
	echo '&lt;abbr class=&quot;teaser_date published&quot; title=&quot;' . get_the_time('Y-m-d') . '&quot;&gt;' . get_the_time($use_format) . '&lt;/abbr&gt;' . &quot;\n&quot;;
	edit_post_link(__('edit', 'thesis'), '&lt;span class=&quot;edit_post&quot;&gt;[', ']&lt;/span&gt;');
	echo &quot;\n&quot;;
	$categories = get_the_category();
	echo '&lt;p&gt;&lt;a class=&quot;teaser_category&quot; href=&quot;' . get_category_link($categories[0]-&gt;cat_ID) . '&quot;&gt;' . $categories[0]-&gt;cat_name . '&lt;/a&gt;&lt;/p&gt;' . &quot;\n&quot;;
}

add_action('thesis_hook_after_teaser_headline', 'my_teaser_byline');
</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Style Threaded Comments</title>
		<link>https://diythemes.com/thesis/rtfm/style-threaded-comments/</link>
		
		<dc:creator><![CDATA[Shelley]]></dc:creator>
		<pubDate>Thu, 25 Jun 2009 12:27:27 +0000</pubDate>
				<category><![CDATA[Thesis 1 Documentation]]></category>
		<category><![CDATA[author]]></category>
		<category><![CDATA[children]]></category>
		<category><![CDATA[comments list]]></category>
		<category><![CDATA[nested]]></category>
		<category><![CDATA[threaded]]></category>
		<guid isPermaLink="false">https://diythemes.com/answers/?p=425</guid>

					<description><![CDATA[How to customize your threaded comment styles.]]></description>
										<content:encoded><![CDATA[<p>Place this code in <code>custom.css</code>:</p>
<pre class="css">
/* Re-style the author and children comments */
.custom dl#comment_list .bypostauthor { background: transparent; } /* Reset Thesis default */
.custom dl#comment_list dd { padding-top: 0; } /* Reset Thesis default */
.custom dl#comment_list dd,
   .custom dl#trackback_list dd { padding-left: 0; } /* Reset Thesis default */
.custom dl#comment_list dl dd .format_text { margin-bottom: 0; } /* Reset Thesis default */
.custom dl#comment_list dd div,
   .custom dl#trackback_list dd div { padding-left: 0.9em; }
.custom dl#comment_list dl dd div { padding-left: 1.5em; }
.custom dl#comment_list dt.bypostauthor,
   .custom dl#comment_list dd.bypostauthor>div { background: #E7F8FB none repeat scroll 0 0; }
.custom dl#comment_list dl.children { background: #FFF; padding-left: 1em; padding-top: 1em; }
.custom dl#comment_list dl.children dt { padding-top: 1em; }
.custom dl#comment_list p.reply { margin-bottom: 1em; }
</pre>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
