<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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>Support Forum - Topic: How to use individual post excerpts with CORONA?</title>
		<link>http://www.kriesi.at/support/topic/how-to-use-individual-post-excerpts-with-corona</link>
		<description>Support Forum - Topic: How to use individual post excerpts with CORONA?</description>
		<language>en-US</language>
		<pubDate>Mon, 20 May 2013 19:43:52 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/how-to-use-individual-post-excerpts-with-corona" rel="self" type="application/rss+xml" />

		<item>
			<title>Devin on "How to use individual post excerpts with CORONA?"</title>
			<link>http://www.kriesi.at/support/topic/how-to-use-individual-post-excerpts-with-corona#post-82760</link>
			<pubDate>Wed, 07 Nov 2012 19:53:30 +0000</pubDate>
			<dc:creator>Devin</dc:creator>
			<guid isPermaLink="false">82760@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Glad its working for you now :)&#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Devin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>colorit2 on "How to use individual post excerpts with CORONA?"</title>
			<link>http://www.kriesi.at/support/topic/how-to-use-individual-post-excerpts-with-corona#post-82714</link>
			<pubDate>Wed, 07 Nov 2012 16:32:37 +0000</pubDate>
			<dc:creator>colorit2</dc:creator>
			<guid isPermaLink="false">82714@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Works now perfect, thank you all together for your help!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "How to use individual post excerpts with CORONA?"</title>
			<link>http://www.kriesi.at/support/topic/how-to-use-individual-post-excerpts-with-corona#post-82654</link>
			<pubDate>Wed, 07 Nov 2012 12:56:50 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">82654@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi! &#60;/p&#62;
&#60;p&#62; Try to add following code to the bottom of functions.php:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function new_excerpt_more( $more ) {
	return;
}
add_filter(&#38;#39;excerpt_more&#38;#39;, &#38;#39;new_excerpt_more&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62; Best regards,&#60;br /&#62;
Peter
&#60;/p&#62;</description>
		</item>
		<item>
			<title>colorit2 on "How to use individual post excerpts with CORONA?"</title>
			<link>http://www.kriesi.at/support/topic/how-to-use-individual-post-excerpts-with-corona#post-82608</link>
			<pubDate>Wed, 07 Nov 2012 01:20:11 +0000</pubDate>
			<dc:creator>colorit2</dc:creator>
			<guid isPermaLink="false">82608@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;thanks, but I need to start from the scratch; somehow nothing is working right anymore. I deleted all these code of mine, replaced my functions.php and the loop-index.php with the original ones; and in future I won't use a &#60;em&#62;custom&#60;/em&#62; excerpt anymore.&#60;/p&#62;
&#60;p&#62;With some try&#38;amp;error I have now in my functions.php:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
/** Modify the length of post excerpts */&#60;br /&#62;
add_filter( 'excerpt_length', 'custom_excerpt_length' );&#60;br /&#62;
function custom_excerpt_length($length) {&#60;br /&#62;
    return 20; // pull first 50 words&#60;br /&#62;
}&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;and in the loop-index.php this part of code:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
				&#38;lt;?php&#60;br /&#62;
				if(strpos($avia_config['layout'], 'medium_image sidebar') !== false) echo $slider-&#38;gt;display_small('blog');&#60;br /&#62;
if(!is_single()){&#60;br /&#62;
				the_excerpt(__('Read more  ?','avia_framework'));&#60;br /&#62;
echo '&#60;a href=&#34;'. get_permalink().'&#34;&#62;'.__('Read more  &#38;rarr;','avia_framework').'&#60;/a&#62;';&#60;br /&#62;
}else{&#60;br /&#62;
the_excerpt(__('Read more  ?','avia_framework'));&#60;br /&#62;
}&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;It works fine so far, but I would like to get rid of this &#60;strong&#62;[...]&#60;/strong&#62;:&#60;/p&#62;
&#60;p&#62;&#60;img src=&#34;http://i50.tinypic.com/dddgrs.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62; How can I do this?&#60;br /&#62;
Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Devin on "How to use individual post excerpts with CORONA?"</title>
			<link>http://www.kriesi.at/support/topic/how-to-use-individual-post-excerpts-with-corona#post-82442</link>
			<pubDate>Tue, 06 Nov 2012 00:41:32 +0000</pubDate>
			<dc:creator>Devin</dc:creator>
			<guid isPermaLink="false">82442@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I believe your source function is incorrect, try:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;function custom_excerpt_length( $length ) {
	return 50;
}
add_filter( &#38;#39;excerpt_length&#38;#39;, &#38;#39;custom_excerpt_length&#38;#39;, 999 );&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This one is from the wordpress codex on the_excerpt: &#60;a href=&#34;http://codex.wordpress.org/Function_Reference/the_excerpt#Control_Excerpt_Length_using_Filters&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Function_Reference/the_excerpt#Control_Excerpt_Length_using_Filters&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Devin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>colorit2 on "How to use individual post excerpts with CORONA?"</title>
			<link>http://www.kriesi.at/support/topic/how-to-use-individual-post-excerpts-with-corona#post-82438</link>
			<pubDate>Tue, 06 Nov 2012 00:17:36 +0000</pubDate>
			<dc:creator>colorit2</dc:creator>
			<guid isPermaLink="false">82438@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Again my question:&#60;/p&#62;
&#60;p&#62;As soon as I put in my own custom excerpt in the text box for it, then nothing is limited at all, no limitation of the - individual - excerpt. How can I limit the custom excerpt?&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "How to use individual post excerpts with CORONA?"</title>
			<link>http://www.kriesi.at/support/topic/how-to-use-individual-post-excerpts-with-corona#post-81005</link>
			<pubDate>Thu, 25 Oct 2012 06:52:50 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">81005@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi! &#60;/p&#62;
&#60;p&#62; Yes, wordpress will use the custom/individual excerpt text in this case and it won't apply the excerpt_length filter to it. &#60;/p&#62;
&#60;p&#62; Regards,&#60;br /&#62;
Peter
&#60;/p&#62;</description>
		</item>
		<item>
			<title>colorit2 on "How to use individual post excerpts with CORONA?"</title>
			<link>http://www.kriesi.at/support/topic/how-to-use-individual-post-excerpts-with-corona#post-80907</link>
			<pubDate>Wed, 24 Oct 2012 15:16:04 +0000</pubDate>
			<dc:creator>colorit2</dc:creator>
			<guid isPermaLink="false">80907@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Thanks a lot, Peter, it works fine now for my excerpt.&#60;br /&#62;
&#60;strong&#62;But as mentioned above: &#60;/strong&#62;&#60;br /&#62;
how can I limit my indidivual excerpt to, let's say 50 words?&#60;/p&#62;
&#60;p&#62;I've found in &#60;a href=&#34;http://www.studiopress.com/tutorials/post-excerpts&#34;&#62;this tutorial&#60;/a&#62; this part of code, put it in CORONA's function.php, but it doesn't work, the excerpt is not limited; as said above, I use now my own individual excerpt, not using the &#34;more&#34;-tag:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;/** Modify the length of post excerpts */
add_filter( &#38;#39;excerpt_length&#38;#39;, &#38;#39;custom_excerpt_length&#38;#39; );
function custom_excerpt_length($length) {
    return 50; // pull first 50 words
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;When I delete my own custom excerpt, then this code seems to work, it shows me the first around 50 words of this post.&#60;br /&#62;
But as soon as I put in my own custom excerpt in the text box for it, then nothing is limited at all, no limitation of the - individual - excerpt.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "How to use individual post excerpts with CORONA?"</title>
			<link>http://www.kriesi.at/support/topic/how-to-use-individual-post-excerpts-with-corona#post-80879</link>
			<pubDate>Wed, 24 Oct 2012 11:37:27 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">80879@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Use following code instead:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div class=&#38;quot;entry-content&#38;quot;&#38;gt;
				&#38;lt;?php
				if(strpos($avia_config[&#38;#39;layout&#38;#39;], &#38;#39;medium_image sidebar&#38;#39;) !== false) echo $slider-&#38;gt;display_small(&#38;#39;blog&#38;#39;);
if(!is_single()){
				the_excerpt(__(&#38;#39;Read more  →&#38;#39;,&#38;#39;avia_framework&#38;#39;));
echo &#38;#39;&#38;lt;a class=&#38;quot;more-link&#38;quot; href=&#38;quot;&#38;#39;. get_permalink().&#38;#39;&#38;quot;&#38;gt;&#38;#39;.__(&#38;#39;Read more  &#38;amp;rarr;&#38;#39;,&#38;#39;avia_framework&#38;#39;).&#38;#39;&#38;lt;/a&#38;gt;&#38;#39;;

}else{
the_content(__(&#38;#39;Read more  →&#38;#39;,&#38;#39;avia_framework&#38;#39;));
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>colorit2 on "How to use individual post excerpts with CORONA?"</title>
			<link>http://www.kriesi.at/support/topic/how-to-use-individual-post-excerpts-with-corona#post-80809</link>
			<pubDate>Tue, 23 Oct 2012 18:42:46 +0000</pubDate>
			<dc:creator>colorit2</dc:creator>
			<guid isPermaLink="false">80809@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I found in another theme's forum this and changed in loop-index.php&#60;/p&#62;
&#60;p&#62;this&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div class=&#38;quot;entry-content&#38;quot;&#38;gt;&#38;lt;br /&#38;gt;
				&#38;lt;?php&#38;lt;br /&#38;gt;
				if(strpos($avia_config[&#38;#39;layout&#38;#39;], &#38;#39;medium_image sidebar&#38;#39;) !== false) echo $slider-&#38;gt;display_small(&#38;#39;blog&#38;#39;);&#38;lt;br /&#38;gt;
				the_content(__(&#38;#39;Read more  →&#38;#39;,&#38;#39;avia_framework&#38;#39;));&#38;lt;br /&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;to this&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div class=&#38;quot;entry-content&#38;quot;&#38;gt;&#38;lt;br /&#38;gt;
				&#38;lt;?php&#38;lt;br /&#38;gt;
				if(strpos($avia_config[&#38;#39;layout&#38;#39;], &#38;#39;medium_image sidebar&#38;#39;) !== false) echo $slider-&#38;gt;display_small(&#38;#39;blog&#38;#39;);&#38;lt;br /&#38;gt;
				the_excerpt(__(&#38;#39;Read more  →&#38;#39;,&#38;#39;avia_framework&#38;#39;));&#38;lt;br /&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This shows me my individual excerpt on a &#60;strong&#62;blog overview page&#60;/strong&#62;. But:&#60;/p&#62;
&#60;p&#62;a)&#60;br /&#62;
when I click the post title, then the complete post content is this individual excerpt only, and the actual post content is away, &#60;/p&#62;
&#60;p&#62;b) my individual excerpt do &#60;strong&#62;not show &#34;read more&#34;.&#60;/strong&#62; How can I add this again, too, as it is the case when using the normal &#34;more&#34; tag - and how to limit its characters to, for example 50?&#60;br /&#62;
I have put around 100 words in the individual excerpts text box for testing it and in my functions.php I put this code, that I've found anywhere, but I don't know, if it is right:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;br /&#38;gt;
/** Modify the length of post excerpts */&#38;lt;br /&#38;gt;
add_filter( &#38;#39;excerpt_length&#38;#39;, &#38;#39;custom_excerpt_length&#38;#39; );&#38;lt;br /&#38;gt;
function custom_excerpt_length($length) {&#38;lt;br /&#38;gt;
    return 50; // pull first 50 words&#38;lt;br /&#38;gt;
}&#38;lt;br /&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>colorit2 on "How to use individual post excerpts with CORONA?"</title>
			<link>http://www.kriesi.at/support/topic/how-to-use-individual-post-excerpts-with-corona#post-80802</link>
			<pubDate>Tue, 23 Oct 2012 18:17:04 +0000</pubDate>
			<dc:creator>colorit2</dc:creator>
			<guid isPermaLink="false">80802@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I would like to use my own, special, individual excerpts of posts, that should be shown on the blog overview page. These texts differ from the post's content and therefor I don't want to use the more-tag.&#60;/p&#62;
&#60;p&#62;For this I use the text box below, when writing a post, but CORONA ignores such individual excerpts and shows the complete post content.&#60;/p&#62;
&#60;p&#62;1.&#60;br /&#62;
How can I use individual excerpts of posts within the theme?&#60;/p&#62;
&#60;p&#62;2.&#60;br /&#62;
How can I limit the number of words or characters, when using these individual excerpts, in case if I write too much in the excerpt text box?&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
