<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>BlueOwlCreative  &#187;  Topic: Sidebar and template</title>
		<atom:link href="https://blueowlcreative.com/support_wp/forums/topic/sidebar-and-template/feed/" rel="self" type="application/rss+xml" />
		<link>https://blueowlcreative.com/support_wp/forums/topic/sidebar-and-template/feed/</link>
		<description></description>
		<pubDate>Fri, 28 Aug 2026 04:54:25 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.5.3-5249</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://blueowlcreative.com/support_wp/forums/topic/sidebar-and-template/#post-28088</guid>
					<title><![CDATA[Sidebar and template]]></title>
					<link>https://blueowlcreative.com/support_wp/forums/topic/sidebar-and-template/#post-28088</link>
					<pubDate>Sat, 16 Apr 2016 18:19:37 +0000</pubDate>
					<dc:creator>Elyes95200</dc:creator>

					<description>
						<![CDATA[
						<p>Hello,<br />
I create an empty template for my custom post type but the sidebar is always displayed as right sidebar !<br />
Thank you for your help</p>
<pre><code>&lt;?php 

/**
 * Template Name: Liste Categories Formations
 *
 * 
 * @package WordPress
 */

get_header(); ?&gt;
		
&lt;div &lt;?php post_class(&#039;&#039;); ?&gt; id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &gt;
	&lt;div class=&quot;container&quot;&gt;
		&lt;div class=&quot;section&quot;&gt;
			&lt;?php 
			// Check Sidebar Layout
			$sidebar_layout = boc_post_sidebar_layout();

			// IF Sidebar Left
			if($sidebar_layout == &#039;left-sidebar&#039;){
				get_sidebar();
			}
	
			if($sidebar_layout != &#039;full-width&#039;){
				echo &quot;&lt;div class=&#039;post_content col span_3_of_4&#039;&gt;&quot;;
			}else {
				echo &quot;&lt;div class=&#039;post_content&#039;&gt;&quot;;
			}
			?&gt;

					&lt;div class=&quot;section&quot;&gt;
								
						
				
					
					
			

			
					&lt;/div&gt;
	
			
			&lt;?php 
			// Close &quot;post_content&quot;
			echo &quot;&lt;/div&gt;&quot;;

			// IF Sidebar Right
			if($sidebar_layout == &#039;right-sidebar&#039;){
				get_sidebar();
			}
			?&gt;
		&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;
&lt;!-- Post :: END --&gt;	  
	  

	
&lt;?php get_footer(); ?&gt;	</code></pre>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://blueowlcreative.com/support_wp/forums/topic/sidebar-and-template/#post-28102</guid>
					<title><![CDATA[Reply To: Sidebar and template]]></title>
					<link>https://blueowlcreative.com/support_wp/forums/topic/sidebar-and-template/#post-28102</link>
					<pubDate>Mon, 18 Apr 2016 08:21:59 +0000</pubDate>
					<dc:creator>BlueOwl</dc:creator>

					<description>
						<![CDATA[
						<p>Where exactly are you setting your template to have a left sidebar? <img src="https://blueowlcreative.com/support_wp/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /> </p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

