<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1-alpha-2539" -->
<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"
		>
	<channel>
		<title>WordPress.com Forums &#187; Tag: truncate_post - Recent Posts</title>
		<link>http://en.forums.wordpress.com/tags/truncate_post</link>
		<description>WordPress.com Forums &#187; Tag: truncate_post - Recent Posts</description>
		<language>en</language>
		<pubDate>Sat, 18 May 2013 11:03:32 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1-alpha-2539</generator>
				<atom:link href="http://en.forums.wordpress.com/rss/tags/truncate_post" rel="self" type="application/rss+xml" />

		<item>
			<title>supportbot on "Using more tag instead the &#039;truncate_post&#039; function"</title>
			<link>http://en.forums.wordpress.com/topic/using-more-tag-instead-the-truncate_post-function#post-1035520</link>
			<pubDate>Tue, 09 Oct 2012 19:33:12 +0000</pubDate>
			<dc:creator>supportbot</dc:creator>
			<guid isPermaLink="false">1035520@http://en.forums.wordpress.com/</guid>
			<description><![CDATA[<p>You did not specify a blog address or reason for posting when you created this topic.</p>
<p>This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you'll find help at the <a href="http://wordpress.org/support/">WordPress.org forums</a>.</p>
<p>If you don't understand the difference between WordPress.com and WordPress.org, you may find <a href="http://support.wordpress.com/com-vs-org/">this information</a> helpful.</p>
<p>If you forgot to include a link to your blog, you can reply and include it below.  It'll help people to answer your question.</p>
<p>This is an automated message.
</p>
]]></description>
					</item>
		<item>
			<title>imischievousboy on "Using more tag instead the &#039;truncate_post&#039; function"</title>
			<link>http://en.forums.wordpress.com/topic/using-more-tag-instead-the-truncate_post-function#post-1035519</link>
			<pubDate>Tue, 09 Oct 2012 19:33:11 +0000</pubDate>
			<dc:creator>imischievousboy</dc:creator>
			<guid isPermaLink="false">1035519@http://en.forums.wordpress.com/</guid>
			<description><![CDATA[<p>Hello,</p>
<p>I have a problem. I'm trying to make a loop without the function "truncate_post", instead of this I want to use the function "the_content()" with the &#60;--!more--&#62; tag. I need help, please!</p>
<p>Here we have the code from Widely theme:</p>
<p><code>//The Loop&lt;br /&gt;
            if ( have_posts() ) : while ( have_posts() ) : the_post();&lt;br /&gt;
                    $data = get_post_meta( $post-&gt;ID, GD_THEME, true );&lt;br /&gt;
                    $title = the_title(&#039;&#039;,&#039;&#039;,FALSE);&lt;br /&gt;
                    $title = strtoupper($title);&lt;br /&gt;
                    if ($title&lt;&gt;substr($title,0,165)) {&lt;br /&gt;
                        $dots = &quot;...&quot;;&lt;br /&gt;
                    }else {&lt;br /&gt;
                        $dots = &quot;&quot;;&lt;br /&gt;
                    }&lt;br /&gt;
                    ?&gt;&lt;/p&gt;
&lt;p&gt;            &lt;div class=&quot;blog-one-post&quot;&gt;&lt;br /&gt;
                        &lt;?php $imagedata = simplexml_load_string(get_the_post_thumbnail()); ?&gt;&lt;br /&gt;
                        &lt;?php&lt;br /&gt;
                        $comments = get_comments(&quot;post_id=$post-&gt;ID&quot;);&lt;br /&gt;
                        $num_of_comments = 0;&lt;br /&gt;
                        foreach((get_the_category()) as $category) {&lt;br /&gt;
                            $post_category = $category-&gt;cat_name;&lt;br /&gt;
                            $post_category_id = $category-&gt;cat_ID;&lt;br /&gt;
                            $cat_slug=get_cat_slug($post_category_id);&lt;br /&gt;
                        }&lt;/p&gt;
&lt;p&gt;                        foreach($comments as $comm) :&lt;br /&gt;
                            $num_of_comments++;&lt;br /&gt;
                        endforeach;&lt;br /&gt;
                        $written = $post-&gt;post_author;&lt;br /&gt;
                        $user = get_user_by(&#039;id&#039;,$written);&lt;br /&gt;
                        $written = $user-&gt;nickname;&lt;br /&gt;
                        ?&gt;&lt;/p&gt;
&lt;p&gt;                &lt;div class=&quot;blog-post-title&quot;&gt;&lt;a&gt;&quot;&gt;&lt;?php $title()); ?&gt;&lt;/a&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;                        &lt;?php if (has_post_thumbnail()) { ?&gt;&lt;br /&gt;
                &lt;div class=&quot;blog-page-image-holder&quot;&gt;&lt;br /&gt;
                    &lt;div class=&quot;blog-page-image-center&quot;&gt;&lt;br /&gt;
                        &lt;span class=&quot;blog-page-image&quot;&gt;&lt;br /&gt;
                            &lt;a&gt;&quot;&gt;&lt;img src=&quot;&lt;?php echo get_template_directory_uri();?&gt;/script/timthumb.php?src=&lt;?php print $imagedata-&gt;attributes()-&gt;src;?&gt;&amp;w=804&amp;h=242&amp;zc=1&amp;q=100&quot; alt=&quot;&lt;?php the_title(); ?&gt;&quot; class=&quot;hoverimg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
                        &lt;/span&gt;&lt;br /&gt;
                    &lt;/div&gt;&lt;br /&gt;
                &lt;/div&gt;&lt;!--Closes blog-page-image-holder--&gt;&lt;br /&gt;
                            &lt;?php }?&gt;&lt;/p&gt;
&lt;p&gt;                &lt;div class=&quot;blog-info-holder&quot;&gt;&lt;br /&gt;
                    &lt;div class=&quot;info-text&quot;&gt; &lt;a&gt;&quot;&gt;&lt;img src=&quot;&lt;?php echo get_template_directory_uri(); ?&gt;/style/img/by.png&quot; /&gt;&lt;br /&gt;&lt;?php echo $written; ?&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
                    &lt;div class=&quot;info-text&quot;&gt;&lt;img src=&quot;&lt;?php echo get_template_directory_uri(); ?&gt;/style/img/calendar-post.png&quot; /&gt;&lt;br /&gt;&lt;?php the_time(&#039;F&#039;);?&gt; &lt;?php the_time(&#039;d&#039;);?&gt;, &lt;?php the_time(&#039;Y&#039;);?&gt;&lt;/div&gt;&lt;br /&gt;
                &lt;/div&gt;&lt;/p&gt;
&lt;p&gt;                &lt;div class=&quot;blog-content-holder&quot;&gt;&lt;br /&gt;
                    &lt;div class=&quot;blog-post-text&quot;&gt;&lt;?php truncate_post(&#039;600&#039;);?&gt;&lt;/div&gt;&lt;br /&gt;
                    &lt;a&gt;&quot;&gt;More..&lt;/a&gt;&lt;br /&gt;
                &lt;/div&gt;</code>
</p>
]]></description>
					</item>

	</channel>
</rss>
