title: How to wrap wordpress shortcode in a div
body: <p>I created following shortcode function to call a menu on a specific location on page</p>
  
  <pre><code>function servicesmenu() {
      return wp_nav_menu( array( 'theme_location' =&gt; 'services_nav', 'menu_id' =&gt; 'servicesmenu') );
  }
  add_shortcode('servicesMenu', 'servicesmenu');
  </code></pre>
  
  <p>Above code is working fine. But when i tried to wrap the shortcode in a DIV it's not wrapping, the menu generated by shortcode is coming before div id="services_rightarea"</p>
  
  <pre><code>&lt;div id="services_rightarea"&gt;
      &lt;!-- other content here --&gt;
      [servicesMenu]
  &lt;/div&gt;
  </code></pre>
  
  <p>Any solution please</p>