<?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>attribution &#8211; Thesis Docs</title>
	<atom:link href="https://diythemes.com/thesis/rtfm/tag/attribution/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, 28 Aug 2019 16:47:35 +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>Add Post Image Attribution</title>
		<link>https://diythemes.com/thesis/rtfm/add-post-image-attribution/</link>
		
		<dc:creator><![CDATA[Shelley]]></dc:creator>
		<pubDate>Mon, 03 Aug 2009 16:03:15 +0000</pubDate>
				<category><![CDATA[Thesis 1 Documentation]]></category>
		<category><![CDATA[attribution]]></category>
		<category><![CDATA[custom fields]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[source]]></category>
		<guid isPermaLink="false">https://diythemes.com/answers/?p=473</guid>

					<description><![CDATA[An easy way to add an attribution link to posts which include Post Images.]]></description>
										<content:encoded><![CDATA[<p>On the <strong>Edit post</strong> panel, at the bottom of the <em>Custom Fields</em> section, click &#8220;Enter new&#8221;.</p>
<p>In the &#8220;Name&#8221; field, type <code>image_source</code>, and in the &#8220;Value&#8221; field, paste the URL you wish to use to link to as the attribution/source.</p>
<p>Click the &#8220;Add Custom Field&#8221; button; and then the &#8220;Publish/Update Post&#8221; button.</p>
<p>Then, place this code in <code>custom_functions.php</code>:</p>
<pre>
function image_source() {
global $post;
$source = get_post_meta($post-&gt;ID, 'image_source', true);
  if ($source)
    echo '&lt;p&gt;&lt;a href=&quot;' . $source . '&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Image Source&lt;/a&gt;&lt;/p&gt;';
}

add_action('thesis_hook_after_post','image_source');
</pre>
<p>Note: After the first time you add the <code>image_source</code> custom field to a post, you&#8217;ll then be able to simply choose it from the drop down selector under &#8220;Add new custom field&#8221;, rather than having to choose &#8220;Enter new&#8221; again.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Customize the Footer</title>
		<link>https://diythemes.com/thesis/rtfm/customize-footer/</link>
		
		<dc:creator><![CDATA[Shelley]]></dc:creator>
		<pubDate>Mon, 04 May 2009 12:20:58 +0000</pubDate>
				<category><![CDATA[Thesis 1 Documentation]]></category>
		<category><![CDATA[admin link]]></category>
		<category><![CDATA[attribution]]></category>
		<category><![CDATA[categories]]></category>
		<category><![CDATA[category]]></category>
		<category><![CDATA[copyright]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[logout]]></category>
		<guid isPermaLink="false">https://diythemes.com/answers/?p=204</guid>

					<description><![CDATA[<ul>
<li>Remove Thesis Attribution</li>
<li>Add Copyright</li>
<li>Place Admin Link on Same Line as Attribution</li>
<li>Display Category List</li>
</ul>]]></description>
										<content:encoded><![CDATA[<p><strong>IMPORTANT:</strong> Unless you have purchased the Developer&#8217;s Option, you must leave the attribution link and its wording intact. In other words, the following code must appear in your footer AS IS:</p>
<pre class="html">
&lt;a href=&quot;https://diythemes.com/thesis/&quot;&gt;Thesis WordPress Theme&lt;/a&gt;
</pre>
<h3 id="remove_attribution">Remove Thesis Attribution <a href="#remove_attribution" title="Link to this section">∞</a></h3>
<p>Place this code in <code>custom_functions.php</code>:</p>
<pre class="php">
remove_action('thesis_hook_footer', 'thesis_attribution');
</pre>
<h3 id="copyright">Add Copyright <a href="#copyright" title="Link to this section">∞</a></h3>
<p>Place this code in <code>custom_functions.php</code>:</p>
<pre class="php">
function copyright() {
		echo '&lt;p&gt;Copyright &amp;copy; 2008&amp;ndash;' . date('Y') . '&lt;/p&gt;';
}
add_action('thesis_hook_footer', 'copyright', '99');
</pre>
<h3 id="admin_attribution">Place Admin Link on Same Line as Attribution <a href="#admin_attribution" title="Link to this section">∞</a></h3>
<p>Place this code in <code>custom_functions.php</code>:</p>
<pre class="php">
function my_footer() {
	echo '&lt;p&gt;Get smart with the &lt;a href=&quot;https://diythemes.com/thesis/&quot;&gt;Thesis WordPress Theme&lt;/a&gt; from DIYthemes. ';
	wp_loginout();
	echo '&lt;/p&gt;';
}
remove_action('thesis_hook_footer', 'thesis_attribution');
add_action('thesis_hook_footer', 'my_footer');
</pre>
<h3 id="category_list">Display Category List <a href="#category_list" title="Link to this section">∞</a></h3>
<p>Place this code in <code>custom_functions.php</code>:</p>
<pre class="php">
function footer_cats() {
echo '&lt;ul&gt;';
wp_list_categories('title_li=');
echo '&lt;/ul&gt;';
}
add_action('thesis_hook_footer', 'footer_cats',99);
</pre>
<p>Place this code in <code>custom.css</code>:</p>
<pre class="css">
.custom #footer {
  text-align:center;
}
.custom #footer ul,
 .custom #footer li {
  display:inline;
}
</pre>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
