<?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: Sidebar on blog home page has disappeared</title>
		<link>http://www.kriesi.at/support/topic/sidebar-on-blog-home-page-has-disappeared</link>
		<description>Support Forum - Topic: Sidebar on blog home page has disappeared</description>
		<language>en-US</language>
		<pubDate>Mon, 20 May 2013 08:37:16 +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/sidebar-on-blog-home-page-has-disappeared" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "Sidebar on blog home page has disappeared"</title>
			<link>http://www.kriesi.at/support/topic/sidebar-on-blog-home-page-has-disappeared#post-89406</link>
			<pubDate>Sun, 23 Dec 2012 17:04:46 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">89406@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi! &#60;/p&#62;
&#60;p&#62; Yes, you can delete it. I used this code for debugging. &#60;/p&#62;
&#60;p&#62; Best regards,&#60;br /&#62;
Peter
&#60;/p&#62;</description>
		</item>
		<item>
			<title>potsky on "Sidebar on blog home page has disappeared"</title>
			<link>http://www.kriesi.at/support/topic/sidebar-on-blog-home-page-has-disappeared#post-89391</link>
			<pubDate>Sun, 23 Dec 2012 12:13:02 +0000</pubDate>
			<dc:creator>potsky</dc:creator>
			<guid isPermaLink="false">89391@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Thank you, it works !&#60;/p&#62;
&#60;p&#62;You added&#60;br /&#62;
&#60;pre&#62;$avia_config['current_page'] = 'blog';&#60;/pre&#62;
 below&#60;br /&#62;
&#60;pre&#62;get_header();&#60;/pre&#62;
 in file template-blog.php.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Sidebar on blog home page has disappeared"</title>
			<link>http://www.kriesi.at/support/topic/sidebar-on-blog-home-page-has-disappeared#post-89327</link>
			<pubDate>Sat, 22 Dec 2012 10:45:13 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">89327@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Fixed. The issue only occurs if no frontpage template is set. I had to replace following code in includes/helper-template-logic.php&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if($post_id &#38;amp;&#38;amp; $new = avia_post_meta($post_id, &#38;#39;layout&#38;#39;))&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;with:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$frontpage = avia_get_option(&#38;#39;frontpage&#38;#39;);
			$default_blog = ((is_home() &#124;&#124; is_front_page()) &#38;amp;&#38;amp; empty($frontpage) &#38;amp;&#38;amp; $post_type == &#38;#39;blog_layout&#38;#39;) ? true : false;

			$new = avia_post_meta($post_id, &#38;#39;layout&#38;#39;);

			if($post_id &#38;amp;&#38;amp; !empty($new) &#38;amp;&#38;amp; !$default_blog)&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I'll report the issue + fix to Kriesi.&#60;/p&#62;
&#60;p&#62;Kind regards,&#60;br /&#62;
Peter
&#60;/p&#62;</description>
		</item>
		<item>
			<title>potsky on "Sidebar on blog home page has disappeared"</title>
			<link>http://www.kriesi.at/support/topic/sidebar-on-blog-home-page-has-disappeared#post-89321</link>
			<pubDate>Sat, 22 Dec 2012 09:27:22 +0000</pubDate>
			<dc:creator>potsky</dc:creator>
			<guid isPermaLink="false">89321@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Done !
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Sidebar on blog home page has disappeared"</title>
			<link>http://www.kriesi.at/support/topic/sidebar-on-blog-home-page-has-disappeared#post-89308</link>
			<pubDate>Sat, 22 Dec 2012 07:53:41 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">89308@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi! &#60;/p&#62;
&#60;p&#62; Please create me a wordpress admin account and send me the login data to: &#60;a href=&#34;mailto:kriesi2000-dude@yahoo.com&#34;&#62;kriesi2000-dude@yahoo.com&#60;/a&#62;&#60;br /&#62;
I'd like to debug the error and check the content of $avia_config. &#60;/p&#62;
&#60;p&#62; Regards,&#60;br /&#62;
Peter
&#60;/p&#62;</description>
		</item>
		<item>
			<title>potsky on "Sidebar on blog home page has disappeared"</title>
			<link>http://www.kriesi.at/support/topic/sidebar-on-blog-home-page-has-disappeared#post-89281</link>
			<pubDate>Fri, 21 Dec 2012 20:37:06 +0000</pubDate>
			<dc:creator>potsky</dc:creator>
			<guid isPermaLink="false">89281@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Thank you very much for your reply. This is unfortunately not the behavior.&#60;/p&#62;
&#60;p&#62;Here is a sumup of my setup :&#60;br /&#62;
- The &#34;Default Blog Layout&#34; of Choice theme is set to &#34;right sidebar&#34;&#60;br /&#62;
- I set the layout in each of my posts to &#34;full-size (no sidebar)&#34;&#60;/p&#62;
&#60;p&#62;The consequence is that the list is displayed in &#34;fullsize&#34; without any sidebar anymore.&#60;/p&#62;
&#60;p&#62;In fact, if at least one post in the list is set with &#34;full-size (no sidebar)&#34; then the list is full-sized.&#60;br /&#62;
To test this, I set 2 consecutive posts with &#34;use global default&#34; templates and I set &#34;Settings &#38;gt; Reading &#38;gt; Blog pages show at most&#34; at 2.&#60;br /&#62;
When both posts are displayed in the same index page, the list has a right sidebar.&#60;br /&#62;
When posts are not displayed in the same page they are with an other full-sized post and there is no more sidebar.&#60;/p&#62;
&#60;p&#62;Here is a goal :&#60;br /&#62;
- The post list with a right-sidebar&#60;br /&#62;
- Posts with the right-sidebar or full-sized&#60;/p&#62;
&#60;p&#62;Is there a setting to reach this goal or do I have to override some php in my child-theme ?&#60;/p&#62;
&#60;p&#62;ps : I could perhaps change &#60;code&#62;avia_post_meta(&#38;#39;blog_layout&#38;#39;,&#38;#39;layout&#38;#39;)&#60;/code&#62; to always return &#34;side_right&#34; if &#34;is_single()&#34; is &#34;false&#34; ?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Devin on "Sidebar on blog home page has disappeared"</title>
			<link>http://www.kriesi.at/support/topic/sidebar-on-blog-home-page-has-disappeared#post-89259</link>
			<pubDate>Fri, 21 Dec 2012 18:46:52 +0000</pubDate>
			<dc:creator>Devin</dc:creator>
			<guid isPermaLink="false">89259@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi potsky,&#60;/p&#62;
&#60;p&#62;I believe the blog layout will always display the page layout by the most recent blog post layout. If that is the behavior you are seeing, then it would correspond to the last time I dug into this.&#60;/p&#62;
&#60;p&#62;If you want to have a single post type have a specific layout, you can just set that post type to the layout whenever you create the post.&#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Devin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>potsky on "Sidebar on blog home page has disappeared"</title>
			<link>http://www.kriesi.at/support/topic/sidebar-on-blog-home-page-has-disappeared#post-89096</link>
			<pubDate>Thu, 20 Dec 2012 14:53:41 +0000</pubDate>
			<dc:creator>potsky</dc:creator>
			<guid isPermaLink="false">89096@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Ok, I understand. All my posts have Layout set to Fullsize.&#60;br /&#62;
If at least one post have Layout set to Fullsize, the blog list is set on fullsize !&#60;/p&#62;
&#60;p&#62;But I would like to have all posts set to fullsize and the list with a right sidebar.&#60;/p&#62;
&#60;p&#62;How is it possible to achieve this ?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>potsky on "Sidebar on blog home page has disappeared"</title>
			<link>http://www.kriesi.at/support/topic/sidebar-on-blog-home-page-has-disappeared#post-89093</link>
			<pubDate>Thu, 20 Dec 2012 14:09:30 +0000</pubDate>
			<dc:creator>potsky</dc:creator>
			<guid isPermaLink="false">89093@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Adding widget in &#34;Displayed Everywhere&#34; does not change anything.&#60;/p&#62;
&#60;p&#62;In sidebar.php :&#60;/p&#62;
&#60;pre&#62;
			if(strpos($sidebar_pos, 'sidebar_left')  !== false) $sidebars_to_show = array('left');
			if(strpos($sidebar_pos, 'sidebar_right') !== false) $sidebars_to_show = array('right');
			if(strpos($sidebar_pos, 'dual-sidebar')  !== false) $sidebars_to_show = array('left','right');
error_log($sidebar_pos);
&#60;/pre&#62;
&#60;p&#62;returns fullsize instead of sidebar_right&#60;/p&#62;
&#60;p&#62;In helper-template-logic.php :&#60;br /&#62;
* avia_layout_class('main') calls&#60;br /&#62;
* avia_fetch_layout_array(), which calls&#60;br /&#62;
* avia_post_meta('blog_layout','layout') which returns full-size
&#60;/p&#62;</description>
		</item>
		<item>
			<title>potsky on "Sidebar on blog home page has disappeared"</title>
			<link>http://www.kriesi.at/support/topic/sidebar-on-blog-home-page-has-disappeared#post-89091</link>
			<pubDate>Thu, 20 Dec 2012 13:39:39 +0000</pubDate>
			<dc:creator>potsky</dc:creator>
			<guid isPermaLink="false">89091@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Now i tried to add widgets for categories Life and Info, then I removed them and... no more sidebar anywhere !&#60;br /&#62;
...&#60;/p&#62;
&#60;p&#62;Is it possible to fix this in mysql directly ?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>potsky on "Sidebar on blog home page has disappeared"</title>
			<link>http://www.kriesi.at/support/topic/sidebar-on-blog-home-page-has-disappeared#post-89089</link>
			<pubDate>Thu, 20 Dec 2012 13:13:32 +0000</pubDate>
			<dc:creator>potsky</dc:creator>
			<guid isPermaLink="false">89089@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Something I notice :&#60;br /&#62;
- Blog on home page is full width and does not have the sidebar&#60;br /&#62;
- Blog for category Info is OK, it has the sidebar &#60;a href=&#34;https://www.potsky.com/category/info/&#34; rel=&#34;nofollow&#34;&#62;https://www.potsky.com/category/info/&#60;/a&#62;&#60;br /&#62;
- Blog for category Life is not OK, it has the sidebar but it is empty ! &#60;a href=&#34;https://www.potsky.com/category/life/&#34; rel=&#34;nofollow&#34;&#62;https://www.potsky.com/category/life/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Widget in the sidebar are set in the &#34;Apparence&#38;gt;Widget&#38;gt;Sidebar Blog&#34; panel.&#60;/p&#62;
&#60;p&#62;Help !
&#60;/p&#62;</description>
		</item>
		<item>
			<title>potsky on "Sidebar on blog home page has disappeared"</title>
			<link>http://www.kriesi.at/support/topic/sidebar-on-blog-home-page-has-disappeared#post-89086</link>
			<pubDate>Thu, 20 Dec 2012 12:50:58 +0000</pubDate>
			<dc:creator>potsky</dc:creator>
			<guid isPermaLink="false">89086@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hello !&#60;/p&#62;
&#60;p&#62;the right sidebar on my homepage has disappeared when I've changed the value&#60;br /&#62;
Layout and settings &#38;gt; Slideshow behavior on overview pages&#60;/p&#62;
&#60;p&#62;Of course, the value of  Layout and settings &#38;gt; Default Blog Layout is right sidebar.&#60;/p&#62;
&#60;p&#62;I tried to change a lot of things but nothing to do...Tried to deal with :&#60;br /&#62;
- menus (create a static frontpage and a blog page, it works but I need to have the blog page in home)&#60;br /&#62;
- change widgets, etc...&#60;br /&#62;
- create a child theme&#60;br /&#62;
- ...&#60;/p&#62;
&#60;p&#62;The problem seems to be in file template-blog.php, at the end the function get_sidebar(); returns nothing...&#60;/p&#62;
&#60;p&#62;My site : &#60;a href=&#34;https://www.potsky.com&#34; rel=&#34;nofollow&#34;&#62;https://www.potsky.com&#60;/a&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
