<?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 - Tag: individual excerpt - Recent Posts</title>
		<link>http://www.kriesi.at/support/tags/individual-excerpt</link>
		<description>Support Forum - Tag: individual excerpt - Recent Posts</description>
		<language>en-US</language>
		<pubDate>Sat, 18 May 2013 14:56:21 +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/tags/individual-excerpt" rel="self" type="application/rss+xml" />

		<item>
			<title>Nick on "CORONA: Custom post excerpt is on dynamic template page with BLOG OVERVIEW 2x"</title>
			<link>http://www.kriesi.at/support/topic/corona-custom-post-excerpt-is-on-dynamic-template-page-with-blog-overview-2x#post-83327</link>
			<pubDate>Sun, 11 Nov 2012 16:52:12 +0000</pubDate>
			<dc:creator>Nick</dc:creator>
			<guid isPermaLink="false">83327@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Congratulations you're a natural. Hacking the code is the way most of us start and go from there. Thanks for putting up the process you followed and the end result. &#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Nick
&#60;/p&#62;</description>
		</item>
		<item>
			<title>colorit2 on "CORONA: Custom post excerpt is on dynamic template page with BLOG OVERVIEW 2x"</title>
			<link>http://www.kriesi.at/support/topic/corona-custom-post-excerpt-is-on-dynamic-template-page-with-blog-overview-2x#post-83247</link>
			<pubDate>Sat, 10 Nov 2012 19:36:07 +0000</pubDate>
			<dc:creator>colorit2</dc:creator>
			<guid isPermaLink="false">83247@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey guys, I'm happy ... I guess, I have more luck than brains ;-)) I only had an 8 hours training in PHP, but it seems I'm really cool in combining ;-) In a nutshell, I have combined the code at the very first post with try&#38;amp;error and now it looks like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#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;Weiterlesen →&#38;#39;,&#38;#39;avia_framework&#38;#39;));&#38;lt;/p&#38;gt;
&#38;lt;p&#38;gt;echo &#38;#39;&#38;lt;a href=&#38;quot;&#38;#39;. get_permalink().&#38;#39;&#38;quot;&#38;gt;&#38;#39;.__(&#38;#39;Weiterlesen →&#38;#39;,&#38;#39;avia_framework&#38;#39;).&#38;#39;&#38;lt;/a&#38;gt;&#38;#39;;
}else{
echo &#38;#39;&#38;lt;div id=&#38;quot;textauszug&#38;quot;&#38;gt;&#38;#39;;
the_excerpt();
echo &#38;#39;&#38;lt;/div&#38;gt;&#38;#39;;
the_content(__(&#38;#39;Weiterlesen →&#38;#39;,&#38;#39;avia_framework&#38;#39;));
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;And now it seems to work:&#60;/p&#62;
&#60;p&#62;- at frontpage with template builder (using &#34;columns&#34;):&#60;br /&#62;
&#60;img src=&#34;http://i46.tinypic.com/152m81s.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62;- at blog overview page with template builder (using &#34;blog&#34; element):&#60;br /&#62;
&#60;img src=&#34;http://i47.tinypic.com/30xivqh.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62;and ... tatataaaa ... my styled custom excerpt in single post view:&#60;br /&#62;
&#60;img src=&#34;http://i46.tinypic.com/257ev6p.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62;I guess you are now also happy, that the &#34;pain in the neck&#34; has found it out by herself ;-)&#60;br /&#62;
Thanks guys for your patience and helpfulness all the days! Have a nice weekend!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>colorit2 on "CORONA: Custom post excerpt is on dynamic template page with BLOG OVERVIEW 2x"</title>
			<link>http://www.kriesi.at/support/topic/corona-custom-post-excerpt-is-on-dynamic-template-page-with-blog-overview-2x#post-83242</link>
			<pubDate>Sat, 10 Nov 2012 18:19:41 +0000</pubDate>
			<dc:creator>colorit2</dc:creator>
			<guid isPermaLink="false">83242@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;thanks, Nick, but sorry, I understand not a single word of what you've written. Please note, I do not know any PHP - I always use your codes and copy/paste. So I don't know what is and where to put &#60;code&#62;$already_executed=1&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I have now changed my code with yours, and now my loop-index.php is this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;!-- if there is an individual excerpt, show it, otherwise do nothing --&#38;gt;
&#38;lt;?php if(!empty($post-&#38;gt;post_excerpt) &#38;amp;&#38;amp; !isset($already_executed))
{
echo &#38;#39;&#38;lt;div id=&#38;quot;textauszug&#38;quot;&#38;gt;&#38;#39;;
the_excerpt();
echo &#38;#39;&#38;lt;/div&#38;gt;&#38;#39;;
$already_executed = &#38;quot;yes&#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;Weiterlesen →&#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;Weiterlesen →&#38;#39;,&#38;#39;avia_framework&#38;#39;).&#38;#39;&#38;lt;/a&#38;gt;&#38;#39;;
}else{
the_content(__(&#38;#39;Weiterlesen →&#38;#39;,&#38;#39;avia_framework&#38;#39;));
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This works only partly.&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;a)&#60;/strong&#62; Frontpage (created with dynamic template by using the &#34;&#60;strong&#62;column&#60;/strong&#62;&#34; element in dynamic template builder to grab the blog posts &#60;strong&#62;= okay, showing only one time the custom/individual post excerpt&#60;/strong&#62;:&#60;/p&#62;
&#60;p&#62;&#60;img src=&#34;http://i50.tinypic.com/qsp3kp.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;b)&#60;/strong&#62; Another page (created with dynamic template by using the &#34;&#60;strong&#62;column&#60;/strong&#62;&#34; element in dynamic template builder to grab the blog posts &#60;strong&#62;= okay, showing only one time the custom/individual post excerpt&#60;/strong&#62;:&#60;/p&#62;
&#60;p&#62;&#60;img src=&#34;http://i47.tinypic.com/zob51d.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;c)&#60;/strong&#62; Blog OVERVIEW PAGE (created with dynamic template by using the &#34;&#60;strong&#62;blog&#60;/strong&#62;&#34; element in dynamic template builder to grab the blog posts &#60;strong&#62;= NOT okay, showing TWICE time the custom/individual post excerpt&#60;/strong&#62;:&#60;/p&#62;
&#60;p&#62;&#60;img src=&#34;http://i48.tinypic.com/2zhi0sn.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62;Could it be, that the double custom excerpt results in the fact, that I use there the &#60;strong&#62;blog&#60;/strong&#62; element within the template builder?&#60;br /&#62;
In the other 2 cases, I use the &#34;column&#34; element within the template builder - and there all is okay (see the screenshot in my first post here)?&#60;/p&#62;
&#60;p&#62;Please look here for a screenshot with descriptions:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://i47.tinypic.com/2rx8nds.jpg&#34; rel=&#34;nofollow&#34;&#62;http://i47.tinypic.com/2rx8nds.jpg&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;------------------------------------------------------------&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;[EDIT]&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;I've been testing around with the code in the loop-index.php, but I'm not sure what I'm doing ;-)&#60;br /&#62;
I have reduced  the relevant part of code to this now (found somewhere here in a forum from &#34;Dude&#34;):&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#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;Weiterlesen →&#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;Weiterlesen →&#38;#39;,&#38;#39;avia_framework&#38;#39;).&#38;#39;&#38;lt;/a&#38;gt;&#38;#39;;
}else{
the_content(__(&#38;#39;Weiterlesen →&#38;#39;,&#38;#39;avia_framework&#38;#39;));
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This works fine on frontpage, on other pages grabbing posts with template builder, no matter if with &#34;blog&#34; or with &#34;column&#34; element within it.&#60;br /&#62;
The only thing that is not working with this code, is, that the single post does not show my custom excerpt, that I've written in the excerpt box below my text editor.&#60;br /&#62;
Maybe this is now only a small problem and easy to solve?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Nick on "CORONA: Custom post excerpt is on dynamic template page with BLOG OVERVIEW 2x"</title>
			<link>http://www.kriesi.at/support/topic/corona-custom-post-excerpt-is-on-dynamic-template-page-with-blog-overview-2x#post-83195</link>
			<pubDate>Sat, 10 Nov 2012 08:30:14 +0000</pubDate>
			<dc:creator>Nick</dc:creator>
			<guid isPermaLink="false">83195@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Off the top of my head, please make sure that your return 50; actually returns what you expect it to return and not just TRUE. Since return 0; will return FALSE and not the number 0. Since the code uses !== , you are are checking for both value and type.&#60;/p&#62;
&#60;p&#62;To make sure it executes only one time create a variable $already_executed=1; and use it to make sure that this section of code is only executed one time.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php if(!empty($post-&#38;gt;post_excerpt) &#38;amp;&#38;amp; !isset($already_executed))
{
echo &#38;#39;&#38;lt;div id=&#38;quot;textauszug&#38;quot;&#38;gt;&#38;#39;;
the_excerpt();
echo &#38;#39;&#38;lt;/div&#38;gt;&#38;#39;;
$already_executed = &#38;quot;yes&#38;quot;;
} ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Nick
&#60;/p&#62;</description>
		</item>
		<item>
			<title>colorit2 on "CORONA: Custom post excerpt is on dynamic template page with BLOG OVERVIEW 2x"</title>
			<link>http://www.kriesi.at/support/topic/corona-custom-post-excerpt-is-on-dynamic-template-page-with-blog-overview-2x#post-82943</link>
			<pubDate>Thu, 08 Nov 2012 22:07:34 +0000</pubDate>
			<dc:creator>colorit2</dc:creator>
			<guid isPermaLink="false">82943@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I just discovered, that not only at the &#60;strong&#62; blog overview page&#60;/strong&#62; (generated with dynamic template and the &#34;blog&#34; element) my custom/individual excerpt is double, but also on the single post view:&#60;/p&#62;
&#60;p&#62;&#60;img src=&#34;http://i45.tinypic.com/5n7rti.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62;Maybe something with my custom excerpt code (see above) is wrong (= double)?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>colorit2 on "CORONA: Custom post excerpt is on dynamic template page with BLOG OVERVIEW 2x"</title>
			<link>http://www.kriesi.at/support/topic/corona-custom-post-excerpt-is-on-dynamic-template-page-with-blog-overview-2x#post-82886</link>
			<pubDate>Thu, 08 Nov 2012 15:14:44 +0000</pubDate>
			<dc:creator>colorit2</dc:creator>
			<guid isPermaLink="false">82886@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I'm very sorry, but I need again your help concerning &#60;strong&#62;custom/individual&#60;/strong&#62; excerpts in CORONA - and I mean the individual, custom excerpt texts, that you can add in the field below the post editor field:&#60;/p&#62;
&#60;p&#62;&#60;img src=&#34;http://i47.tinypic.com/ji2hac.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62;Currently I have in my &#60;a href=&#34;http://pastie.org/5346105&#34;&#62;functions.php this code&#60;/a&#62;, and in my &#60;strong&#62;index-loop.php&#60;/strong&#62; this code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;!-- if there is an individual excerpt, show it, otherwise do nothing --&#38;gt;
&#38;lt;?php if(!empty($post-&#38;gt;post_excerpt)) {
echo &#38;#39;&#38;lt;div id=&#38;quot;textauszug&#38;quot;&#38;gt;&#38;#39;;
the_excerpt();
echo &#38;#39;&#38;lt;/div&#38;gt;&#38;#39;;
} ?&#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;#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;
&#60;p&#62;This works fine on my frontpage (= created with a dynamic template), on other pages created with dynamic templates, where I grab 3 of the latest blog posts of a certain category for example - &#60;strong&#62;but using the &#34;columns&#34; element for grabbing the posts&#60;/strong&#62;:&#60;/p&#62;
&#60;p&#62;&#60;img src=&#34;http://i47.tinypic.com/2iiewb5.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;But:&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;I have created a dynamic template for a &#60;strong&#62;blog overview&#60;/strong&#62; page; it shows a page's slideshow and intro text and then - as another dynamic template element - the &#34;blog&#34; element, grabbing 3 of the latest blog posts:&#60;/p&#62;
&#60;p&#62;&#60;img src=&#34;http://i45.tinypic.com/2mfemid.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;live:&#60;/strong&#62;&#60;br /&#62;
&#60;img src=&#34;http://i46.tinypic.com/21chv5z.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62;So far, so good. The only thing is, that &#60;strong&#62;there&#60;/strong&#62; - and only at this blog overview page (created with dynamic template) - my custom/individual excerpt is shown &#60;strong&#62;twice&#60;/strong&#62;.&#60;/p&#62;
&#60;p&#62;I have nearly no idea of PHP and most is done by try&#38;amp;error ;-)&#60;br /&#62;
So could you please help me out - I guess, something in the loop-index.php code is wrong, OR something needs to be added in another file, so that on such a dynamic template &#60;em&#62;using the element &#34;blog&#34;&#60;/em&#62;, the &#60;strong&#62;custom&#60;/strong&#62; excerpt is only shown &#60;strong&#62;once&#60;/strong&#62;, as it does on other normal pages using dynamic templates.&#60;/p&#62;
&#60;p&#62;But I need to mention, that on the frontpage and other content pages, where grab blog posts, I use within the template builder the &#34;columns&#34; element! And for this - wrong - blog overview page, I use within the template builder the element &#34;blog&#34;!&#60;/p&#62;
&#60;p&#62;Only at this page, the custom excerpt is shown twice:&#60;/p&#62;
&#60;p&#62;&#60;img src=&#34;http://i47.tinypic.com/j7t9o4.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62;On the frontpage and on other content pages, for which I used dynamic templates with COLUMNS to grab the posts, the custom excerpt is shown right - once a time:&#60;br /&#62;
&#60;img src=&#34;http://i47.tinypic.com/2iiewb5.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62;Thanks, appreciate your help again concerning this subject.
&#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-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>
