<?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>content &#8211; Thesis Docs</title>
	<atom:link href="https://diythemes.com/thesis/rtfm/tag/content/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 17:30:27 +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>Style Lists and List Items</title>
		<link>https://diythemes.com/thesis/rtfm/style-lists-list-items/</link>
		
		<dc:creator><![CDATA[Shelley]]></dc:creator>
		<pubDate>Mon, 11 May 2009 12:34:30 +0000</pubDate>
				<category><![CDATA[Thesis 1 Documentation]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[lists]]></category>
		<category><![CDATA[padding]]></category>
		<category><![CDATA[post styling]]></category>
		<guid isPermaLink="false">https://diythemes.com/answers/?p=227</guid>

					<description><![CDATA[<ul>
<li>All Lists</li>
<li>Post Content Lists Only</li>
<li>Sidebar Widgets Only</li>
</ul>]]></description>
										<content:encoded><![CDATA[<h3 id="all_lists">All Lists <a href="#all_lists" title="Link to this section">∞</a></h3>
<p>Place this code in <code>custom.css</code> as a starting point:</p>
<pre class="css">
.custom ul {
   list-style-image: none;
   list-style-position: outside;
   list-style-type: square;
}

.custom li {
   padding-bottom: 5px;
}
</pre>
<h3 id="post_content">Post Content Lists Only <a href="#post_content" title="Link to this section">∞</a></h3>
<p>Place this code in <code>custom.css</code> as a starting point:</p>
<pre class="css">
.custom #content ul {
   list-style-image: none;
   list-style-position: inside;
   list-style-type: disc;
}

.custom #content li {
   padding-bottom: 5px;
}
</pre>
<h3 id="sidebars">Sidebar Widgets Only <a href="#sidebars" title="Link to this section">∞</a></h3>
<p>Place this code in <code>custom.css</code> as a starting point:</p>
<pre class="css">
.custom #sidebars li.widget ul {
   list-style-image: none;
   list-style-position: inside;
   list-style-type: disc;
}

.custom #sidebars li.widget li {
   padding: 5px;
}
</pre>
<h3>Related Resources:</h3>
<ul>
<li><a href="http://www.w3schools.com/Css/css_list.asp" title="CSS List Properties">CSS List Properties</a> <cite>from W3 Schools</cite></li>
</ul>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Insert Ad After Content</title>
		<link>https://diythemes.com/thesis/rtfm/insert-ad-after-content/</link>
		
		<dc:creator><![CDATA[Shelley]]></dc:creator>
		<pubDate>Tue, 07 Apr 2009 23:29:31 +0000</pubDate>
				<category><![CDATA[Thesis 1 Documentation]]></category>
		<category><![CDATA[ads]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[insert]]></category>
		<guid isPermaLink="false">https://diythemes.com/answers/?p=53</guid>

					<description><![CDATA[<ul>
<li>Ad After Content</li>
<li>Ad on Single Post Only</li>
<li>Ad on Pages Only</li>
<li>Ad After First Post Only on Home Page</li>
</ul>]]></description>
										<content:encoded><![CDATA[<h2 id="ad_content">Ad After Content <a href="#ad_content" title="Link to this section">∞</a></h2>
<p>Place this code in <code>custom_functions.php</code>:</p>
<pre>
function after_content_ad() { ?&gt;
// INSERT YOUR AD CODE HERE
&lt;?php }

add_action('thesis_hook_after_content', 'after_content_ad', 1);
</pre>
<h2 id="ad_single">Ad on Single Post Only <a href="#ad_single" title="Link to this section">∞</a></h2>
<p>Place this code in <code>custom_functions.php</code>:</p>
<pre>
function single_post_ads() {
if (is_single()) { ?&gt;
// INSERT YOUR AD CODE HERE
&lt;?php }
}

add_action('thesis_hook_after_post', 'single_post_ads');
</pre>
<h2 id="ad_page">Ad on Pages Only <a href="#ad_page" title="Link to this section">∞</a></h2>
<p>Place this code in <code>custom_functions.php</code>:</p>
<pre>
function page_ads() {
if (is_page()) { ?&gt;
// INSERT YOUR AD CODE HERE
&lt;?php }
}

add_action('thesis_hook_after_post', 'page_ads');
</pre>
<h2 id="ad_first_post">Ad After First Post Only on Home Page <a href="#ad_first_post" title="Link to this section">∞</a></h2>
<p>Place this code in <code>custom_functions.php</code>:</p>
<pre>
function after_first_post_ad($post_count) {
  if (is_home()) {
    if ($post_count == 1) { ?&gt;
       // INSERT YOUR AD CODE HERE
    &lt;?php }
  }
}

add_action('thesis_hook_after_post', 'after_first_post_ad');
</pre>
<h2>Related Resources:</h2>
<ul>
<li><a href="https://codex.wordpress.org/Conditional_Tags">Conditional Tags</a> from the WordPress Codex</li>
<li><a href="/thesis/rtfm/api/hooks/">Thesis Hook Reference List</a> from the Thesis Documentation</li>
</ul>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
