<?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: More tag and sidebar not functioning correctly with custom templates</title>
		<link>http://www.kriesi.at/support/topic/more-tag-and-sidebar-not-functioning-correctly-with-custom-templates</link>
		<description>Support Forum - Topic: More tag and sidebar not functioning correctly with custom templates</description>
		<language>en-US</language>
		<pubDate>Thu, 20 Jun 2013 12:12: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/more-tag-and-sidebar-not-functioning-correctly-with-custom-templates" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Beard on "More tag and sidebar not functioning correctly with custom templates"</title>
			<link>http://www.kriesi.at/support/topic/more-tag-and-sidebar-not-functioning-correctly-with-custom-templates#post-22630</link>
			<pubDate>Tue, 12 Jul 2011 23:02:08 +0000</pubDate>
			<dc:creator>Chris Beard</dc:creator>
			<guid isPermaLink="false">22630@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Glad Dude could help you :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rmjh on "More tag and sidebar not functioning correctly with custom templates"</title>
			<link>http://www.kriesi.at/support/topic/more-tag-and-sidebar-not-functioning-correctly-with-custom-templates#post-22584</link>
			<pubDate>Tue, 12 Jul 2011 16:39:22 +0000</pubDate>
			<dc:creator>rmjh</dc:creator>
			<guid isPermaLink="false">22584@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Thanks so much for the speedy fix!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "More tag and sidebar not functioning correctly with custom templates"</title>
			<link>http://www.kriesi.at/support/topic/more-tag-and-sidebar-not-functioning-correctly-with-custom-templates#post-22554</link>
			<pubDate>Tue, 12 Jul 2011 06:13:04 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">22554@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey,&#60;br /&#62;
I'll report it to Kriesi. The includes/helper-templates.php file is missing the $more variable declaration and a $more = 0; in the blog function.&#60;/p&#62;
&#60;p&#62;Replace:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;function blog($element)
	{
		extract($element[&#38;#39;saved_value&#38;#39;][0]);

		global $avia_config;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;with:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;function blog($element)
	{
		extract($element[&#38;#39;saved_value&#38;#39;][0]);

		global $avia_config, $more;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;And replace:&#60;br /&#62;
&#60;code&#62;		echo &#34;&#38;lt;div class='template-blog content'&#38;gt;&#34;;&#60;br /&#62;
		get_template_part('includes/loop','index');&#60;/code&#62;&#60;br /&#62;
with this:&#60;br /&#62;
&#60;code&#62;    echo &#34;&#38;lt;div class='template-blog content'&#38;gt;&#34;;&#60;br /&#62;
    $more = 0;&#60;br /&#62;
    get_template_part( 'includes/loop', 'index' );&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rmjh on "More tag and sidebar not functioning correctly with custom templates"</title>
			<link>http://www.kriesi.at/support/topic/more-tag-and-sidebar-not-functioning-correctly-with-custom-templates#post-22510</link>
			<pubDate>Mon, 11 Jul 2011 19:37:25 +0000</pubDate>
			<dc:creator>rmjh</dc:creator>
			<guid isPermaLink="false">22510@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Example 1: Created blog by selecting this page as the Blog Page from the Theme settings - more tag is activated and sidebar looks ok&#60;br /&#62;
&#60;a href=&#34;http://www.bondeyeweb.com/projects/neutra/more-tags-work-correctly/&#34; rel=&#34;nofollow&#34;&#62;http://www.bondeyeweb.com/projects/neutra/more-tags-work-correctly/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Example 2: Created a custom template with a blog element, assigned the page to this template. More &#38;lt;!--more--&#38;gt; tags do not work correctly, they are converting in &#38;lt;span&#38;gt; rather than &#60;a&#62;. Also notice the sidebar has &#60;em&#62; tags throughout that mess with the formatting.&#60;br /&#62;
&#60;a href=&#34;http://www.bondeyeweb.com/projects/neutra/more-tags-do-not-work/&#34; rel=&#34;nofollow&#34;&#62;http://www.bondeyeweb.com/projects/neutra/more-tags-do-not-work/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Discovered this when attempting to set up two pages (using custom templates) to pull from different categories.&#60;/em&#62;&#60;/a&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
