title: How can I make , a footer section, visible only in my wordpress frontpage?
body: <p>I have created 5 widgets sections for my template footer. Now I would like to know, how is possible to make a footer section only visible in my front page theme and the other widgets in all other pages? So footer 5 widget appears in front page and the footer4 in other pages!</p>
  
  <p>Here is what I wrote, but it doesn't work!</p>
  
  <pre><code>&lt;?php if (is_home()): if ( function_exists('dynamic_sidebar') &amp;&amp; dynamic_sidebar(is_active_sidebar('footer5'))){?&gt;
   &lt;div class="col-xs-12 col-sm-6 col-md-3"&gt;
   &lt;?php get_dynamic_sidebar('footer5'); ?&gt;
   &lt;/div&gt;&lt;?php }?&gt;
   &lt;?php elseif(is_active_sidebar('footer4')) : ?&gt;
   &lt;div class="col-xs-12 col-sm-6 col-md-3 socialiconsfooter"&gt;
   &lt;?php dynamic_sidebar('footer4'); ?&gt;
   &lt;/div&gt;&lt;?php endif; ?&gt;
  </code></pre>