Title: theme cosmoswp
Last modified: July 7, 2020

---

# theme cosmoswp

 *  [ghenry003](https://wordpress.org/support/users/ghenry003/)
 * (@ghenry003)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/theme-cosmoswp/)
 * Good day. I am trying to set up a mega menu on a site with the theme cosmoswp.
   The settings of the Max Mega menu plugin do not apply to the Primary menu. We
   found a temporary solution to using the plugin as a widget, but I would like 
   to receive instructions on how to configure the Max Mega menu plugin for the 
   Primary menu in the cosmoswp theme.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftheme-cosmoswp%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/theme-cosmoswp/#post-13093961)
 * Hi ghenry003,
 * There’s no harm in using the Widget if that’s what works for you.
 * It sounds like cosmoswp is not specifying the ‘theme_location’ parameter in its
   call to wp_nav_menu. If you go to Mega Menu > Menu Locations, you can find the
   correct PHP code to output the menu (which can be used to replace the themes 
   menu output code, usually in the header.php file).
 * Regards,
    Tom
 *  Thread Starter [ghenry003](https://wordpress.org/support/users/ghenry003/)
 * (@ghenry003)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/theme-cosmoswp/#post-13094185)
 * good day. I went through Mega Menu> Menu Locations and I did not find PHP code
   there. I am using the free version of your plugin.
 *  Thread Starter [ghenry003](https://wordpress.org/support/users/ghenry003/)
 * (@ghenry003)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/theme-cosmoswp/#post-13094254)
 * I’m sorry. I found the php code and pasted it into header.php. Something corrected
   and everything works.
    Question: if the theme is updated my fixes will remain?
 *  Thread Starter [ghenry003](https://wordpress.org/support/users/ghenry003/)
 * (@ghenry003)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/theme-cosmoswp/#post-13098824)
 * Unfortunately, after editing with the php code, there were even more problems
   than it was. for me this solution is not suitable. I will be grateful if you 
   suggest another solution for my problem.
 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/theme-cosmoswp/#post-13099418)
 * Hi ghenry003,
 * What were the problems, and what is the reason for not wanting to use the widget?
   It is common nowadays, especially with the prevalence of page builders (Elementor
   etc) to use a widget to output the menu.
 * Regards,
    Tom

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘theme cosmoswp’ is closed to new replies.

 * ![](https://ps.w.org/megamenu/assets/icon-128x128.png?rev=1489843)
 * [Max Mega Menu](https://wordpress.org/plugins/megamenu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/megamenu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/megamenu/)
 * [Active Topics](https://wordpress.org/support/plugin/megamenu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/megamenu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/megamenu/reviews/)

## Tags

 * [plugin settings](https://wordpress.org/support/topic-tag/plugin-settings/)

 * 5 replies
 * 2 participants
 * Last reply from: [megamenu](https://wordpress.org/support/users/megamenu/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/theme-cosmoswp/#post-13099418)
 * Status: not resolved