title: Adding a menu using Hooks in Wordpress
body: <p>On the site: <a href="http://www.cabinetstogo.company/" rel="nofollow">http://www.cabinetstogo.company/</a> I'm using the Total Theme (<a href="http://themeforest.net/item/total-responsive-multipurpose-wordpress-theme/6339019" rel="nofollow">http://themeforest.net/item/total-responsive-multipurpose-wordpress-theme/6339019</a>) and I need to add an additional menu in the top bar by the social links. The theme author suggested I do this using hooks (<a href="http://wpexplorer-themes.com/total/docs/action-hooks/" rel="nofollow">http://wpexplorer-themes.com/total/docs/action-hooks/</a>) but it's a little beyond me. </p>
  
  <p>I have set the site up using a child theme but I have been unsuccessful in putting any functions into a functions.php file in the child theme folder without breaking the site. For example, I tried this:</p>
  
  <pre><code>&lt;?php register_nav_menu( 'top_menu', 'Top Menu' );
  
  //adds category menu on single post pages
  function top_menu()
  {
  wp_nav_menu(array('menu'=&gt;'Top')); }
  
  add_action('wpex_hook_header_before_default', 'add_top_menu'); 
  ?&gt;
  </code></pre>
  
  <p>I am using the action 'wpex_hook_header_before_default' because from what I can tell, that is the location of where i want it to go but honestly I'm quite lost.</p>
  
  <p>The theme author seems to say it's quite simple but it has not been the case for me. Any assistance would be much appreciated.</p>