title: Codeigniter if controller
body: <p>First of all sorry if its a noob question.</p>
  
  <p>But is it posibble to do this in codeingiter, like if i have a sidebar but i only want to load it in 2 pages </p>
  
  <pre><code>if(controller == 'blog') {
     //load sidebar
  }
  </code></pre>
  
  <p>just like in wordpress if is_page</p>