<?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: &#34;Read more&#34; at dynamic template blog page is not linked</title>
		<link>http://www.kriesi.at/support/topic/read-more-at-dynamic-template-blog-page-is-not-linked</link>
		<description>Support Forum - Topic: &quot;Read more&quot; at dynamic template blog page is not linked</description>
		<language>en-US</language>
		<pubDate>Tue, 18 Jun 2013 23:11:14 +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/read-more-at-dynamic-template-blog-page-is-not-linked" rel="self" type="application/rss+xml" />

		<item>
			<title>Nick on "&#34;Read more&#34; at dynamic template blog page is not linked"</title>
			<link>http://www.kriesi.at/support/topic/read-more-at-dynamic-template-blog-page-is-not-linked#post-95855</link>
			<pubDate>Fri, 08 Feb 2013 16:14:13 +0000</pubDate>
			<dc:creator>Nick</dc:creator>
			<guid isPermaLink="false">95855@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;This is a bit abstract for me, I apologize. Would you show me a url where it works and a url where it doesn't work please?&#60;/p&#62;
&#60;p&#62;I looked at the original question you linked to, and there is more than one place where the line you needed to replace appears in the theme. Have you replaced it in just one place or all of them?&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$content = get_the_content(&#38;#39;&#38;lt;span class=&#38;quot;inner_more&#38;quot;&#38;gt;&#38;#39;.__(&#38;#39;Read more →&#38;#39;,&#38;#39;avia_framework&#38;#39;).&#38;#39;&#38;lt;/span&#38;gt;&#38;#39;);&#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 "&#34;Read more&#34; at dynamic template blog page is not linked"</title>
			<link>http://www.kriesi.at/support/topic/read-more-at-dynamic-template-blog-page-is-not-linked#post-95819</link>
			<pubDate>Fri, 08 Feb 2013 12:05:48 +0000</pubDate>
			<dc:creator>colorit2</dc:creator>
			<guid isPermaLink="false">95819@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;thanks, Nick, that works for the question with the three dots.&#60;/p&#62;
&#60;p&#62;But what about my post directly above your answer here concerning the working post &#60;strong&#62;excerpts itself&#60;/strong&#62;?&#60;/p&#62;
&#60;p&#62;The solution &#60;a href=&#34;http://www.kriesi.at/support/topic/corona-template-builder-showing-posts-with-title-and-post-excerpt#post-82827&#34;&#62;found here in the forum&#60;/a&#62;, replacing in includes/helper-templates.php this part of code&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
$content = get_the_content('&#38;lt;span class=&#34;inner_more&#34;&#38;gt;'.__('Read more  &#38;rarr;','avia_framework').'&#38;lt;/span&#38;gt;');&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;with this&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
if(is_single()){&#60;br /&#62;
$content = get_the_content('&#38;lt;span class=&#34;inner_more&#34;&#38;gt;'.__('Read more  &#38;rarr;','avia_framework').'&#38;lt;/span&#38;gt;');&#60;br /&#62;
					$content = apply_filters('the_content', $content);&#60;br /&#62;
					$content = str_replace(']]&#38;gt;', ']]&#38;gt;', $content);&#60;br /&#62;
}else{&#60;br /&#62;
					$content = apply_filters('the_excerpt', get_the_excerpt());&#60;br /&#62;
					$content .= '&#38;lt;p&#38;gt;&#60;a href=&#34;'. get_permalink().'&#34;&#62;&#38;lt;span class=&#34;inner_more&#34;&#38;gt;'.__('Read more  &#38;rarr;','avia_framework').'&#38;lt;/span&#38;gt;&#60;/a&#62;&#38;lt;/p&#38;gt;';&#60;br /&#62;
}&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;causes, that this works ONLY, if the &#60;em&#62;blog overview page&#60;/em&#62; is created with &#60;em&#62;dynamic-template-builder&#60;/em&#62; using the element &#60;strong&#62;&#34;COLUMNS&#34;&#60;/strong&#62; for the output of the posts.&#60;/p&#62;
&#60;p&#62;But as soon as you create a &#60;em&#62;blog overview page&#60;/em&#62; with &#60;em&#62;dynamic-template-builder&#60;/em&#62; using the element &#60;strong&#62;&#34;BLOG&#34;&#60;/strong&#62; to output the blog posts, then the excerpt does &#60;strong&#62;NOT&#60;/strong&#62; work/take effect.&#60;/p&#62;
&#60;p&#62;What changes must I do then?&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Nick on "&#34;Read more&#34; at dynamic template blog page is not linked"</title>
			<link>http://www.kriesi.at/support/topic/read-more-at-dynamic-template-blog-page-is-not-linked#post-95698</link>
			<pubDate>Thu, 07 Feb 2013 15:04:53 +0000</pubDate>
			<dc:creator>Nick</dc:creator>
			<guid isPermaLink="false">95698@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Please take a look at line 498 of framework/php/functions-set-avia-backend.php .. there is a function there&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;function avia_backend_truncate($string, $limit, $break=&#38;quot;.&#38;quot;, $pad=&#38;quot;...&#38;quot;)&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;that deals with the three dots and truncation. &#60;/p&#62;
&#60;p&#62;You would use it like this to set your truncation and can add a parameter to make three dots into no dots or 5 dots.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$excerpt = avia_backend_truncate($excerpt, $length,&#38;quot; &#38;quot;);&#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 "&#34;Read more&#34; at dynamic template blog page is not linked"</title>
			<link>http://www.kriesi.at/support/topic/read-more-at-dynamic-template-blog-page-is-not-linked#post-95556</link>
			<pubDate>Thu, 07 Feb 2013 01:29:41 +0000</pubDate>
			<dc:creator>colorit2</dc:creator>
			<guid isPermaLink="false">95556@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;okay, I found - partly - a solution &#60;a href=&#34;http://www.kriesi.at/support/topic/corona-template-builder-showing-posts-with-title-and-post-excerpt#post-82827&#34;&#62;here&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;This works ONLY, if the blog overview page is created with dynamic-template-builder using the element &#60;strong&#62;&#34;COLUMNS&#34;&#60;/strong&#62; for the output of the posts!&#60;/p&#62;
&#60;p&#62;But as soon as you create a blog overview page with dynamic-template-builder using the element &#60;strong&#62;&#34;BLOG&#34;&#60;/strong&#62; to output the blog posts, then the excerpt does NOT work/take effect.&#60;/p&#62;
&#60;p&#62;What changes must I do then?&#60;br /&#62;
Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>colorit2 on "&#34;Read more&#34; at dynamic template blog page is not linked"</title>
			<link>http://www.kriesi.at/support/topic/read-more-at-dynamic-template-blog-page-is-not-linked#post-95552</link>
			<pubDate>Thu, 07 Feb 2013 01:12:56 +0000</pubDate>
			<dc:creator>colorit2</dc:creator>
			<guid isPermaLink="false">95552@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;ok, I'm very sorry, but I guess, I have messed up my CORONA files too much and so I have replaced the helper-templates.php and the loop-index.php with a fresh version from Themeforest.&#60;/p&#62;
&#60;p&#62;Now the errors mentioned above are again okay, forget them please.&#60;/p&#62;
&#60;p&#62;The problem that I have now is, that the code in my functions.php to limit the excerpt to 20 words, doesn't take effect:&#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 20; // pull first 50 words
}
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;At the moment the posts can only be effectively limited using the more-tag, but I would like to have an automatic limited excerpt.&#60;br /&#62;
Why doesn't work the code in the functions.php, is there any mistake in it? I'm using dynamic templates for my blog overview pages!&#60;/p&#62;
&#60;p&#62;Thanks a lot!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>colorit2 on "&#34;Read more&#34; at dynamic template blog page is not linked"</title>
			<link>http://www.kriesi.at/support/topic/read-more-at-dynamic-template-blog-page-is-not-linked#post-95550</link>
			<pubDate>Thu, 07 Feb 2013 00:45:00 +0000</pubDate>
			<dc:creator>colorit2</dc:creator>
			<guid isPermaLink="false">95550@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I have created a dynamic template for my blog page, showing an intro from a page with its slideshow and below with the &#34;dynamic template element&#34; BLOG.&#60;/p&#62;
&#60;p&#62;So far so good, but:&#60;br /&#62;
&#60;strong&#62;&#60;br /&#62;
- The &#34;read more&#34; (German: &#34;weiterlesen&#34;) is not linked&#60;/p&#62;
&#60;p&#62;- how can I get rid of the last three points at the end of the post excerpt?&#60;br /&#62;
&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;&#60;img src=&#34;http://i49.tinypic.com/2qkt309.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62;I have following code in my &#60;strong&#62;functions.php (to limit the post excerpt):&#60;/strong&#62;&#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;
function new_excerpt_more( $more ) {&#60;br /&#62;
	return;&#60;br /&#62;
}&#60;br /&#62;
add_filter('excerpt_more', 'new_excerpt_more');&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;and in &#60;strong&#62;loop-index.php&#60;/strong&#62; I have put this code (found somewhere here in the CORONA forum):&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
&#38;lt;div class=&#34;entry-content&#34;&#38;gt;&#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(__('Weiterlesen &#38;rarr;','avia_framework'));&#60;br /&#62;
echo ''.__('Weiterlesen &#38;rarr;','avia_framework').'';&#60;br /&#62;
}else{&#60;br /&#62;
the_excerpt(__('Weiterlesen &#38;rarr;','avia_framework'));&#60;br /&#62;
}&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;and in &#60;strong&#62;helper-templates.php&#60;/strong&#62; I have put this code around line 856:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
if(is_single()){&#60;br /&#62;
$content = get_the_content('&#38;lt;span class=&#34;inner_more&#34;&#38;gt;'.__('Read more  &#38;rarr;','avia_framework').'&#38;lt;/span&#38;gt;');&#60;br /&#62;
					$content = apply_filters('the_content', $content);&#60;br /&#62;
					$content = str_replace(']]&#38;gt;', ']]&#38;gt;', $content);&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I don't know PHP very well, and therefor I don't know where and how to put the linking of &#34;Read more&#34;/&#34;weiterlesen&#34; and how to get rid of the last three points at the end of the excerpt.&#60;/p&#62;
&#60;p&#62;Could you please help me out?&#60;br /&#62;
Thanks a lot!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
