<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How To Hack Thesis To Have More Than Two Teasers Per Row</title>
	<atom:link href="http://www.wordpresswise.com/how-to-hack-thesis-to-have-more-than-two-teasers-per-row-32/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wordpresswise.com/how-to-hack-thesis-to-have-more-than-two-teasers-per-row-32</link>
	<description>WordPress Hints, Tips and Tutorials for getting the most from Wordpress</description>
	<lastBuildDate>Wed, 25 Jan 2012 15:26:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Russell</title>
		<link>http://www.wordpresswise.com/how-to-hack-thesis-to-have-more-than-two-teasers-per-row-32/comment-page-1#comment-921</link>
		<dc:creator>Russell</dc:creator>
		<pubDate>Sat, 16 Apr 2011 05:42:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.wordpresswise.com/?p=32#comment-921</guid>
		<description>The following code gives three teasers per row on the home page and on archive pages.
&lt;code&gt;
function add_teaser_script() {
 if (is_home() &#124;&#124; is_archive()){
  echo (&#039;&lt;script type=&quot;text/javascript&quot; src=&quot;&#039;.THESIS_CUSTOM_FOLDER.&#039;/jquery.three_teasers_per_row.js&quot;&gt;&lt;/script&gt;&#039;); 
  }
}
add_action(&#039;thesis_hook_after_html&#039;,&#039;add_teaser_script&#039;);
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>The following code gives three teasers per row on the home page and on archive pages.<br />
<code><br />
function add_teaser_script() {<br />
 if (is_home() || is_archive()){<br />
  echo ('&lt;script type="text/javascript" src="'.THESIS_CUSTOM_FOLDER.'/jquery.three_teasers_per_row.js">&lt;/script>');<br />
  }<br />
}<br />
add_action('thesis_hook_after_html','add_teaser_script');<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iphone apps</title>
		<link>http://www.wordpresswise.com/how-to-hack-thesis-to-have-more-than-two-teasers-per-row-32/comment-page-1#comment-920</link>
		<dc:creator>iphone apps</dc:creator>
		<pubDate>Fri, 15 Apr 2011 21:57:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.wordpresswise.com/?p=32#comment-920</guid>
		<description>Hi.. Russell 
Any variable changes require After past that code in required files...?
Because i done all files as your mention above , nothing change ..!
Any more tip for me ...
thanks</description>
		<content:encoded><![CDATA[<p>Hi.. Russell<br />
Any variable changes require After past that code in required files&#8230;?<br />
Because i done all files as your mention above , nothing change ..!<br />
Any more tip for me &#8230;<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil</title>
		<link>http://www.wordpresswise.com/how-to-hack-thesis-to-have-more-than-two-teasers-per-row-32/comment-page-1#comment-816</link>
		<dc:creator>Neil</dc:creator>
		<pubDate>Mon, 07 Feb 2011 15:39:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.wordpresswise.com/?p=32#comment-816</guid>
		<description>Hi Russell,
Thanks so much for your lightning-quick response! Unfortunately, I&#039;m not capable of following your suggestions :-)  I am so-oo-oo new....

So after flitting across the internet, I&#039;ve come across the following that may be relevant: exclude certain categories, include certain categories. Can you think of a way to include one category on the left and one on the right (on this page)?</description>
		<content:encoded><![CDATA[<p>Hi Russell,<br />
Thanks so much for your lightning-quick response! Unfortunately, I&#8217;m not capable of following your suggestions <img src='http://www.wordpresswise.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />   I am so-oo-oo new&#8230;.</p>
<p>So after flitting across the internet, I&#8217;ve come across the following that may be relevant: exclude certain categories, include certain categories. Can you think of a way to include one category on the left and one on the right (on this page)?<br />
<span class="cluv">Neil&#180;s last [type] ..<a class="d259de502b 816" rel="nofollow" href="http://feedproxy.google.com/~r/LookingTowardsHome/~3/d4UUuxiub2Q/">Did God create the world and everything that exists</a></span></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Russell</title>
		<link>http://www.wordpresswise.com/how-to-hack-thesis-to-have-more-than-two-teasers-per-row-32/comment-page-1#comment-815</link>
		<dc:creator>Russell</dc:creator>
		<pubDate>Mon, 07 Feb 2011 12:16:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.wordpresswise.com/?p=32#comment-815</guid>
		<description>Hi Neil,

You would need to get into some custom code to do this: either by writing a custom home page such as this &lt;a href=&quot;http://www.artofblog.com/thesis-tutorial-7-quick-customizations-to-the-home-page-loop/&quot; rel=&quot;nofollow&quot;&gt;example of Home page customization&lt;/a&gt; or my overriding the home() function in a custom loop as described on &lt;a href=&quot;http://diythemes.com/thesis/rtfm/custom-loop-api/&quot; rel=&quot;nofollow&quot;&gt;DIY themes&lt;/a&gt;. 

There is possibly a third approach where you run the two queries, one for each caetgory, merge the results into a single set and pass that as the &quot;wp_query&quot; to the standard Thesis home page. This would of course cause a problem if you did not have a enough posts in either category as the posts would end up on the wrong side. However if you have the same number of posts returned for each category it would be fine

Regards

Russell</description>
		<content:encoded><![CDATA[<p>Hi Neil,</p>
<p>You would need to get into some custom code to do this: either by writing a custom home page such as this <a href="http://www.artofblog.com/thesis-tutorial-7-quick-customizations-to-the-home-page-loop/" rel="nofollow">example of Home page customization</a> or my overriding the home() function in a custom loop as described on <a href="http://diythemes.com/thesis/rtfm/custom-loop-api/" rel="nofollow">DIY themes</a>. </p>
<p>There is possibly a third approach where you run the two queries, one for each caetgory, merge the results into a single set and pass that as the &#8220;wp_query&#8221; to the standard Thesis home page. This would of course cause a problem if you did not have a enough posts in either category as the posts would end up on the wrong side. However if you have the same number of posts returned for each category it would be fine</p>
<p>Regards</p>
<p>Russell</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil</title>
		<link>http://www.wordpresswise.com/how-to-hack-thesis-to-have-more-than-two-teasers-per-row-32/comment-page-1#comment-814</link>
		<dc:creator>Neil</dc:creator>
		<pubDate>Mon, 07 Feb 2011 11:48:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.wordpresswise.com/?p=32#comment-814</guid>
		<description>Hi,
Do you know how to tell Thesis to have teasers on the homepage, but have one column dedicated to one category and a second column dedicated to another category?
What I would like to do is post MANY news articles per day, but not let this drown out my other types of posts on the homepage (posted only twice a week).
Thanks for any help you can offer.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Do you know how to tell Thesis to have teasers on the homepage, but have one column dedicated to one category and a second column dedicated to another category?<br />
What I would like to do is post MANY news articles per day, but not let this drown out my other types of posts on the homepage (posted only twice a week).<br />
Thanks for any help you can offer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Russell</title>
		<link>http://www.wordpresswise.com/how-to-hack-thesis-to-have-more-than-two-teasers-per-row-32/comment-page-1#comment-212</link>
		<dc:creator>Russell</dc:creator>
		<pubDate>Sat, 24 Jul 2010 11:42:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.wordpresswise.com/?p=32#comment-212</guid>
		<description>Hi Carol,

The Practical Analyst site uses the &lt;a href=&quot;http://www.solostream.com/wordpress-themes/wordpress-theme-wp-clear-10/&quot; rel=&quot;nofollow&quot;&gt;wp-clear-basic&lt;/a&gt; premium theme which has a magazine style for the Home Page.  

My approach to this would NOT be to hack the thesis_loop function: I can think of three ways of trying to do this where the amount of work and the level of control both reduce as you proceed down the list:
&lt;ol&gt;
&lt;li&gt;Create a custom page template that calls query_posts() for each category and grabs the 5 most recent posts you want to feature - with a custom template you have complete freedom of layout&lt;/li&gt;
&lt;li&gt;Create a static page for the home page and embed an RSS feed for each category that reads the 5 most recent posts form that category - some simple html around the RSS feed content will produce the required two column layout &lt;/li&gt;
&lt;li&gt;Replace the normal home page query by a query_posts() call that returns all the posts you want in the correct order(the full posts first followed by the teaser posts with an even number of teasers in each category to make things simpler) and use the thesis_hook_before_content, thesis_hook_after_content and thesis_hook_before_teaser_box hook to inject the category headings and make the content box into two columns with the teaser box reduced in width using CSS. &lt;/li&gt;
&lt;/ol&gt;
I have a client who is planning to move to a magazine style home page in the next couple of months when they have a least 40 items of content of their site. I will use one of these approaches listed above and then report on this blog how I got on. I suspect I will use the second approach which uses RSS as this allows the various magazine sections to include material other than local articles such as tweets, photos from Flickr, news, etc.</description>
		<content:encoded><![CDATA[<p>Hi Carol,</p>
<p>The Practical Analyst site uses the <a href="http://www.solostream.com/wordpress-themes/wordpress-theme-wp-clear-10/" rel="nofollow">wp-clear-basic</a> premium theme which has a magazine style for the Home Page.  </p>
<p>My approach to this would NOT be to hack the thesis_loop function: I can think of three ways of trying to do this where the amount of work and the level of control both reduce as you proceed down the list:</p>
<ol>
<li>Create a custom page template that calls query_posts() for each category and grabs the 5 most recent posts you want to feature &#8211; with a custom template you have complete freedom of layout</li>
<li>Create a static page for the home page and embed an RSS feed for each category that reads the 5 most recent posts form that category &#8211; some simple html around the RSS feed content will produce the required two column layout </li>
<li>Replace the normal home page query by a query_posts() call that returns all the posts you want in the correct order(the full posts first followed by the teaser posts with an even number of teasers in each category to make things simpler) and use the thesis_hook_before_content, thesis_hook_after_content and thesis_hook_before_teaser_box hook to inject the category headings and make the content box into two columns with the teaser box reduced in width using CSS. </li>
</ol>
<p>I have a client who is planning to move to a magazine style home page in the next couple of months when they have a least 40 items of content of their site. I will use one of these approaches listed above and then report on this blog how I got on. I suspect I will use the second approach which uses RSS as this allows the various magazine sections to include material other than local articles such as tweets, photos from Flickr, news, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carol</title>
		<link>http://www.wordpresswise.com/how-to-hack-thesis-to-have-more-than-two-teasers-per-row-32/comment-page-1#comment-211</link>
		<dc:creator>Carol</dc:creator>
		<pubDate>Sat, 24 Jul 2010 04:48:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.wordpresswise.com/?p=32#comment-211</guid>
		<description>The site www.practicalanalyst.com has a cool feature where teasers are organized in boxes by category (Tools &amp; Techniques section), and this comes out-of-the-box from the wp-clear theme. Do you think to do that in Thesis I&#039;d have to hack the thesis_loop function too? Thanks!</description>
		<content:encoded><![CDATA[<p>The site <a href="http://www.practicalanalyst.com" rel="nofollow">http://www.practicalanalyst.com</a> has a cool feature where teasers are organized in boxes by category (Tools &amp; Techniques section), and this comes out-of-the-box from the wp-clear theme. Do you think to do that in Thesis I&#8217;d have to hack the thesis_loop function too? Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Russell</title>
		<link>http://www.wordpresswise.com/how-to-hack-thesis-to-have-more-than-two-teasers-per-row-32/comment-page-1#comment-206</link>
		<dc:creator>Russell</dc:creator>
		<pubDate>Wed, 14 Jul 2010 11:38:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.wordpresswise.com/?p=32#comment-206</guid>
		<description>Hi Nhan,

Please check out http://www.wordpresswise.com/three-teasers-per-row-without-hacking-thesis-405 for the jQuery solution that involves no changes to Thesis files.</description>
		<content:encoded><![CDATA[<p>Hi Nhan,</p>
<p>Please check out <a href="http://www.wordpresswise.com/three-teasers-per-row-without-hacking-thesis-405" rel="nofollow">http://www.wordpresswise.com/three-teasers-per-row-without-hacking-thesis-405</a> for the jQuery solution that involves no changes to Thesis files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Russell</title>
		<link>http://www.wordpresswise.com/how-to-hack-thesis-to-have-more-than-two-teasers-per-row-32/comment-page-1#comment-204</link>
		<dc:creator>Russell</dc:creator>
		<pubDate>Tue, 13 Jul 2010 08:52:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.wordpresswise.com/?p=32#comment-204</guid>
		<description>Not yet, however I will spend an hour on it this evening and see if I can get it done</description>
		<content:encoded><![CDATA[<p>Not yet, however I will spend an hour on it this evening and see if I can get it done</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nhan</title>
		<link>http://www.wordpresswise.com/how-to-hack-thesis-to-have-more-than-two-teasers-per-row-32/comment-page-1#comment-203</link>
		<dc:creator>Nhan</dc:creator>
		<pubDate>Tue, 13 Jul 2010 08:34:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.wordpresswise.com/?p=32#comment-203</guid>
		<description>Hi Russell, by any chance you had time to write the  jQuery solution for this?  Thanks.</description>
		<content:encoded><![CDATA[<p>Hi Russell, by any chance you had time to write the  jQuery solution for this?  Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

