<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress &#8250; Support Topic: Template Tags/the excerpt</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Topic: Template Tags/the excerpt</description>
<language>en</language>
<pubDate>Thu, 26 Nov 2009 14:18:44 +0000</pubDate>

<item>
<title>henkholland on "Template Tags/the excerpt"</title>
<link>http://wordpress.org/support/topic/286302#post-1160892</link>
<pubDate>Mon, 03 Aug 2009 05:23:29 +0000</pubDate>
<dc:creator>henkholland</dc:creator>
<guid isPermaLink="false">1160892@http://wordpress.org/support/</guid>
<description>&#60;p&#62;it is looking good now Micadz!
&#60;/p&#62;</description>
</item>
<item>
<title>micadz on "Template Tags/the excerpt"</title>
<link>http://wordpress.org/support/topic/286302#post-1143513</link>
<pubDate>Sun, 19 Jul 2009 08:13:40 +0000</pubDate>
<dc:creator>micadz</dc:creator>
<guid isPermaLink="false">1143513@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Thanks for the info. Tried all suggested options but failed miserably ... not sure why it works for you and not for me. Arghhh
&#60;/p&#62;</description>
</item>
<item>
<title>henkholland on "Template Tags/the excerpt"</title>
<link>http://wordpress.org/support/topic/286302#post-1128765</link>
<pubDate>Tue, 07 Jul 2009 10:15:10 +0000</pubDate>
<dc:creator>henkholland</dc:creator>
<guid isPermaLink="false">1128765@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hi micadz, &#60;/p&#62;
&#60;p&#62;I don't see it working in Featured; the left one is still lower. And in the &#60;code&#62;index.php&#60;/code&#62; you supplied I do not see that you applied Esmi's trick.&#60;br /&#62;
I still would try to change this:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div class=&#38;quot;featured-content&#38;quot;&#38;gt;
	 &#38;lt;?php the_excerpt(); ?&#38;gt;
	&#38;lt;p class=&#38;quot;moretext&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;&#38;lt;?php the_permalink() ?&#38;gt;&#38;quot;&#38;gt;Continue Reading...&#38;lt;/a&#38;gt;&#38;lt;/p&#38;gt;
    &#38;lt;/div&#38;gt; &#38;lt;!-- END Featured-Content --&#38;gt;

   	&#38;lt;/div&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;into this:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div class=&#38;quot;featured-content&#38;quot;&#38;gt;
	 &#38;lt;?php the_excerpt(); ?&#38;gt;

    &#38;lt;/div&#38;gt; &#38;lt;!-- END Featured-Content --&#38;gt;
&#38;lt;p class=&#38;quot;moretext&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;&#38;lt;?php the_permalink() ?&#38;gt;&#38;quot;&#38;gt;Continue Reading...&#38;lt;/a&#38;gt;&#38;lt;/p&#38;gt;
   	&#38;lt;/div&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;that is putting the p class moretext below te next div&#60;/p&#62;
&#60;p&#62;If that works you have to do the same for latest-content which controls your Latest Posts.&#60;/p&#62;
&#60;p&#62;INSTEAD of the above:&#60;/p&#62;
&#60;p&#62;Also in style.css doing this cleaned up featured:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;.featured-content p {style.css (regel 118)
height:170px;
margin-top:1em;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;     I added height 170px&#60;/p&#62;
&#60;p&#62;Also in style.css doing this cleaned up the latest posts:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;.latest-content p {style.css (regel 180)
color:#222222;
font-size:1.2em;
height:55px;
line-height:1.5;
margin-bottom:1.5em;
margin-top:8px;
text-align:left;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;   I added the height of 55px&#60;/p&#62;
&#60;p&#62;Normally I use Stylizer, but you can see all this in Firefox, by using Firebug to show and test the code (you cannot save from firebug so the changes are temporarily and only visible on your computer, not for the public unless you copy them into your style.css)&#60;/p&#62;
&#60;p&#62;Have a go and try it.
&#60;/p&#62;</description>
</item>
<item>
<title>micadz on "Template Tags/the excerpt"</title>
<link>http://wordpress.org/support/topic/286302#post-1126897</link>
<pubDate>Sun, 05 Jul 2009 17:59:08 +0000</pubDate>
<dc:creator>micadz</dc:creator>
<guid isPermaLink="false">1126897@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hum .. still don't get it to work. Looks like with Esmi's solution, I get the featured section to work. But not sure how to line up the Lastest posts.&#60;/p&#62;
&#60;p&#62;This is my index.php. Does this help?&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php get_header(); ?&#38;gt;

&#38;lt;div id=&#38;quot;featured&#38;quot;&#38;gt;
&#38;lt;h2&#38;gt;Featured&#38;lt;/h2&#38;gt;
	 &#38;lt;!-- Edit Below --&#38;gt;
	&#38;lt;?php query_posts(&#38;#39;cat=3&#38;amp;showposts=2&#38;#39;); ?&#38;gt;
    &#38;lt;?php while (have_posts()) : the_post(); ?&#38;gt;
    &#38;lt;div class=&#38;quot;front-post&#38;quot;&#38;gt;
    &#38;lt;div class=&#38;quot;featured-post&#38;quot;&#38;gt;
        &#38;lt;div class=&#38;quot;featured-title&#38;quot;&#38;gt;
            &#38;lt;h2&#38;gt;&#38;lt;a href=&#38;quot;&#38;lt;?php the_permalink() ?&#38;gt;&#38;quot; rel=&#38;quot;bookmark&#38;quot; title=&#38;quot;Permanent Link to &#38;lt;?php the_title_attribute(); ?&#38;gt;&#38;quot;&#38;gt;&#38;lt;?php the_title(); ?&#38;gt;

&#38;lt;/a&#38;gt;&#38;lt;/h2&#38;gt;
        &#38;lt;/div&#38;gt;
        &#38;lt;div class=&#38;quot;featured-image&#38;quot;&#38;gt;
            &#38;lt;?php image_attachment(&#38;#39;image&#38;#39;, 303, 231); ?&#38;gt;
        &#38;lt;/div&#38;gt;
    &#38;lt;/div&#38;gt; &#38;lt;!-- END Featured-post --&#38;gt;
    &#38;lt;div class=&#38;quot;postMeta-featured&#38;quot;&#38;gt;&#38;lt;span class=&#38;quot;date&#38;quot;&#38;gt;&#38;lt;?php the_time(&#38;#39;F j, Y&#38;#39;) ?&#38;gt;&#38;lt;/span&#38;gt;&#38;lt;span class=&#38;quot;comments&#38;quot;&#38;gt;&#38;lt;?php comments_popup_link(&#38;#39;0&#38;#39;, &#38;#39;1&#38;#39;, &#38;#39;%&#38;#39;); ?&#38;gt;&#38;lt;/span&#38;gt;&#38;lt;/div&#38;gt; &#38;lt;div class=&#38;quot;clear&#38;quot;&#38;gt;&#38;lt;/div&#38;gt;
     &#38;lt;div class=&#38;quot;featured-content&#38;quot;&#38;gt;
	 &#38;lt;?php the_excerpt(); ?&#38;gt;
	&#38;lt;p class=&#38;quot;moretext&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;&#38;lt;?php the_permalink() ?&#38;gt;&#38;quot;&#38;gt;Continue Reading...&#38;lt;/a&#38;gt;&#38;lt;/p&#38;gt;
    &#38;lt;/div&#38;gt; &#38;lt;!-- END Featured-Content --&#38;gt;
   	&#38;lt;/div&#38;gt;
    &#38;lt;?php endwhile; ?&#38;gt;
    &#38;lt;!-- Edit Below 2 --&#38;gt;
    &#38;lt;?php query_posts(&#38;#39;cat=3&#38;amp;showposts=1&#38;amp;offset=2&#38;#39;); ?&#38;gt;
    &#38;lt;?php while (have_posts()) : the_post(); ?&#38;gt;
    &#38;lt;div class=&#38;quot;front-post-last&#38;quot;&#38;gt; &#38;lt;!-- Featured-Last --&#38;gt;
    &#38;lt;div class=&#38;quot;featured-post&#38;quot;&#38;gt;
        &#38;lt;div class=&#38;quot;featured-title&#38;quot;&#38;gt;
            &#38;lt;h2&#38;gt;&#38;lt;a href=&#38;quot;&#38;lt;?php the_permalink() ?&#38;gt;&#38;quot; rel=&#38;quot;bookmark&#38;quot; title=&#38;quot;Permanent Link to &#38;lt;?php the_title_attribute(); ?&#38;gt;&#38;quot;&#38;gt;&#38;lt;?php the_title(); ?&#38;gt;
&#38;lt;/a&#38;gt;&#38;lt;/h2&#38;gt;
        &#38;lt;/div&#38;gt;
        &#38;lt;div class=&#38;quot;featured-image&#38;quot;&#38;gt;
            &#38;lt;?php image_attachment(&#38;#39;image&#38;#39;, 303, 231); ?&#38;gt;
        &#38;lt;/div&#38;gt;
    &#38;lt;/div&#38;gt; &#38;lt;!-- END Featured-post --&#38;gt;
    &#38;lt;div class=&#38;quot;postMeta-featured&#38;quot;&#38;gt;&#38;lt;span class=&#38;quot;date&#38;quot;&#38;gt;&#38;lt;?php the_time(&#38;#39;F j, Y&#38;#39;) ?&#38;gt;&#38;lt;/span&#38;gt;&#38;lt;span class=&#38;quot;comments&#38;quot;&#38;gt;&#38;lt;?php comments_popup_link(&#38;#39;0&#38;#39;, &#38;#39;1&#38;#39;, &#38;#39;%&#38;#39;); ?&#38;gt;&#38;lt;/span&#38;gt;&#38;lt;/div&#38;gt; &#38;lt;div class=&#38;quot;clear&#38;quot;&#38;gt;&#38;lt;/div&#38;gt;
     &#38;lt;div class=&#38;quot;featured-content&#38;quot;&#38;gt;
	 &#38;lt;?php the_excerpt(); ?&#38;gt;
	&#38;lt;p class=&#38;quot;moretext&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;&#38;lt;?php the_permalink() ?&#38;gt;&#38;quot;&#38;gt;Continue Reading...&#38;lt;/a&#38;gt;&#38;lt;/p&#38;gt;
    &#38;lt;/div&#38;gt; &#38;lt;!-- END Featured-Content --&#38;gt;

   	&#38;lt;/div&#38;gt;
    &#38;lt;?php endwhile; ?&#38;gt;
&#38;lt;/div&#38;gt; &#38;lt;!-- END Featured --&#38;gt;
&#38;lt;div class=&#38;quot;clear&#38;quot;&#38;gt;&#38;lt;/div&#38;gt;
&#38;lt;div id=&#38;quot;front-bottom&#38;quot;&#38;gt;
&#38;lt;div id=&#38;quot;latest-wrap&#38;quot;&#38;gt;
&#38;lt;h2&#38;gt;Latest Posts&#38;lt;/h2&#38;gt;
&#38;lt;div class=&#38;quot;content&#38;quot;&#38;gt;
&#38;lt;!-- Edit Below 3 --&#38;gt;
&#38;lt;?php query_posts(&#38;#39;cat=-3&#38;amp;showposts=50&#38;#39;); ?&#38;gt;
				&#38;lt;?php while (have_posts()) : the_post(); ?&#38;gt;
    &#38;lt;div class=&#38;quot;latest-post-wrap&#38;quot;&#38;gt;
    &#38;lt;div class=&#38;quot;latest-post&#38;quot;&#38;gt;
                &#38;lt;div class=&#38;quot;latest-title&#38;quot;&#38;gt;
            &#38;lt;h2&#38;gt;&#38;lt;a href=&#38;quot;&#38;lt;?php the_permalink() ?&#38;gt;&#38;quot; rel=&#38;quot;bookmark&#38;quot; title=&#38;quot;Permanent Link to &#38;lt;?php the_title_attribute(); ?&#38;gt;&#38;quot;&#38;gt;&#38;lt;?php the_title(); ?&#38;gt;
&#38;lt;/a&#38;gt;&#38;lt;/h2&#38;gt;
        &#38;lt;/div&#38;gt;
        &#38;lt;div class=&#38;quot;latest-image&#38;quot;&#38;gt;
            &#38;lt;?php image_attachment(&#38;#39;image&#38;#39;, 162, 118); ?&#38;gt;
        &#38;lt;/div&#38;gt;
        &#38;lt;/div&#38;gt;
             &#38;lt;div class=&#38;quot;latest-content&#38;quot;&#38;gt;
             &#38;lt;div class=&#38;quot;postMeta-front&#38;quot;&#38;gt;&#38;lt;span class=&#38;quot;date&#38;quot;&#38;gt;&#38;lt;?php the_time(&#38;#39;F j, Y&#38;#39;) ?&#38;gt;&#38;lt;/span&#38;gt;&#38;lt;span class=&#38;quot;comments&#38;quot;&#38;gt;&#38;lt;?php comments_popup_link(&#38;#39;0&#38;#39;, &#38;#39;1&#38;#39;, &#38;#39;%&#38;#39;); ?&#38;gt;&#38;lt;/span&#38;gt;&#38;lt;/div&#38;gt; &#38;lt;div class=&#38;quot;clear&#38;quot;&#38;gt;&#38;lt;/div&#38;gt;
				&#38;lt;p&#38;gt;&#38;lt;?php
  $excerpt = get_the_excerpt();
  echo string_limit_words($excerpt,10);
?&#38;gt;&#38;lt;/p&#38;gt;
&#38;lt;p class=&#38;quot;moretext&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;&#38;lt;?php the_permalink() ?&#38;gt;&#38;quot;&#38;gt;Continue Reading...&#38;lt;/a&#38;gt;&#38;lt;/p&#38;gt;
    &#38;lt;/div&#38;gt;
        &#38;lt;/div&#38;gt;
				&#38;lt;?php endwhile; ?&#38;gt; &#38;lt;!-- END --&#38;gt;
&#38;lt;/div&#38;gt;
 &#38;lt;div class=&#38;quot;clear&#38;quot;&#38;gt;&#38;lt;/div&#38;gt;
 &#38;lt;/div&#38;gt;
&#38;lt;?php get_sidebar(); ?&#38;gt;
 &#38;lt;div class=&#38;quot;clear&#38;quot;&#38;gt;&#38;lt;/div&#38;gt;
 &#38;lt;/div&#38;gt;
&#38;lt;?php get_footer(); ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>henkholland on "Template Tags/the excerpt"</title>
<link>http://wordpress.org/support/topic/286302#post-1126648</link>
<pubDate>Sun, 05 Jul 2009 09:55:12 +0000</pubDate>
<dc:creator>henkholland</dc:creator>
<guid isPermaLink="false">1126648@http://wordpress.org/support/</guid>
<description>&#60;p&#62;On second thoughts, this is what I get now:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div class=&#38;quot;front-post&#38;quot;&#38;gt;
      &#38;lt;div class=&#38;quot;featured-post&#38;quot;&#38;gt;
         &#38;lt;div class=&#38;quot;featured-title&#38;quot;&#38;gt;
         &#38;lt;/div&#38;gt;
         &#38;lt;div class=&#38;quot;featured-image&#38;quot;&#38;gt;
         &#38;lt;/div&#38;gt;
      &#38;lt;/div&#38;gt;
      &#38;lt;div class=&#38;quot;postMeta-featured&#38;quot;&#38;gt;
      &#38;lt;/div&#38;gt;
         &#38;lt;div class=&#38;quot;clear&#38;quot;/&#38;gt;
      &#38;lt;div class=&#38;quot;featured-content&#38;quot;&#38;gt;
         &#38;lt;p&#38;gt;
         &#38;lt;/p&#38;gt;
         &#38;lt;p class=&#38;quot;moretext&#38;quot;&#38;gt;
         &#38;lt;a href=&#38;quot;http://www.commonpeople.sg/v1/?p=747&#38;quot;&#38;gt;Continue       Reading...&#38;lt;/a&#38;gt;
         &#38;lt;/p&#38;gt;
      &#38;lt;/div&#38;gt;
&#38;lt;/div&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;What happens when you (in &#60;code&#62;index.php&#60;/code&#62; )  move the &#38;lt;p&#38;gt;moretext etc &#38;lt;/p&#38;gt;  piece to just before the last div ; saying take it out of divclass featured content and move it beyond the next div so that it is included in divclass front-post.&#60;br /&#62;
Next give in your css the class featured content a fixed height so that the longest excerpt shown fits in the box.
&#60;/p&#62;</description>
</item>
<item>
<title>esmi on "Template Tags/the excerpt"</title>
<link>http://wordpress.org/support/topic/286302#post-1126158</link>
<pubDate>Sat, 04 Jul 2009 19:54:51 +0000</pubDate>
<dc:creator>esmi</dc:creator>
<guid isPermaLink="false">1126158@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Try editing index.php and look for &#60;code&#62;&#38;lt;div class=&#38;quot;featured-content&#38;quot;&#38;gt;&#60;/code&#62;. Immediately after that line, you should see &#60;code&#62;&#38;lt;?php the_excerpt();?&#38;gt;&#60;/code&#62;. Change it to:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div class=&#38;quot;excerpt&#38;quot;&#38;gt;
&#38;lt;?php the_excerpt();?&#38;gt;
&#38;lt;/div&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Then, edit style.css and add the following to the bottom:&#60;/p&#62;
&#60;p&#62;.excerpt {height:200px;}`
&#60;/p&#62;</description>
</item>
<item>
<title>micadz on "Template Tags/the excerpt"</title>
<link>http://wordpress.org/support/topic/286302#post-1126114</link>
<pubDate>Sat, 04 Jul 2009 18:40:06 +0000</pubDate>
<dc:creator>micadz</dc:creator>
<guid isPermaLink="false">1126114@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Thanks Henk ... tried that but it does not do it for me ... maybe it has to do with the template ... or my poor skills ... keke :)&#60;/p&#62;
&#60;p&#62;I pretty much figured out how to do most of the coding ... except this one ... don't seem to be able to find a solution and it freaks me out ... arghhh.
&#60;/p&#62;</description>
</item>
<item>
<title>henkholland on "Template Tags/the excerpt"</title>
<link>http://wordpress.org/support/topic/286302#post-1125777</link>
<pubDate>Sat, 04 Jul 2009 09:13:02 +0000</pubDate>
<dc:creator>henkholland</dc:creator>
<guid isPermaLink="false">1125777@http://wordpress.org/support/</guid>
<description>&#60;p&#62;In your &#60;code&#62;style.css&#60;/code&#62; find:&#60;br /&#62;
 &#60;code&#62;.featured-content P&#60;/code&#62; and add &#60;code&#62;height 150px&#60;/code&#62;  &#60;/p&#62;
&#60;p&#62; and in &#60;code&#62;.featured-content&#60;/code&#62;  also &#60;code&#62;height 150px&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;that did it for me.
&#60;/p&#62;</description>
</item>
<item>
<title>micadz on "Template Tags/the excerpt"</title>
<link>http://wordpress.org/support/topic/286302#post-1125683</link>
<pubDate>Sat, 04 Jul 2009 05:38:48 +0000</pubDate>
<dc:creator>micadz</dc:creator>
<guid isPermaLink="false">1125683@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Thank you esmi ....ehr ... how do I do the last option please? &#60;/p&#62;
&#60;p&#62;&#60;em&#62;Or you'd need to amend your template to incorporate a new class that encloses the_excerpt() and give that class a fixed height via CSS. &#60;/em&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>esmi on "Template Tags/the excerpt"</title>
<link>http://wordpress.org/support/topic/286302#post-1125176</link>
<pubDate>Fri, 03 Jul 2009 19:04:22 +0000</pubDate>
<dc:creator>esmi</dc:creator>
<guid isPermaLink="false">1125176@http://wordpress.org/support/</guid>
<description>&#60;p&#62;You're already using the_excerpt() and I don't think that replacing it with the_content() is really going to help. One way to get all of the Continue Reading links to line up is to use the Optional Excerpt on each Edit Post page and tweak each one until all of the links line up.&#60;/p&#62;
&#60;p&#62;Or you'd need to amend your template to incorporate a new class that encloses the_excerpt() and give that class a fixed height via CSS.
&#60;/p&#62;</description>
</item>
<item>
<title>micadz on "Template Tags/the excerpt"</title>
<link>http://wordpress.org/support/topic/286302#post-1124887</link>
<pubDate>Fri, 03 Jul 2009 15:11:21 +0000</pubDate>
<dc:creator>micadz</dc:creator>
<guid isPermaLink="false">1124887@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Currently, the Continue Reading on all my posts is not lined up. I would like all my post to be lined up and understand it can be done thru excerpts. I read the information and how you have to put the code in the loop ... but not sure where to do that. My blog is &#60;a href=&#34;http://www.commonpeople.sg/v1/&#34; rel=&#34;nofollow&#34;&#62;http://www.commonpeople.sg/v1/&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;Thank you.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
