Support » Themes and Templates » [Resolved] How to add native support for menus to Prosense theme

[Resolved] How to add native support for menus to Prosense theme

  • Hi All,

    My website uses the Prosense theme, which does not natively support the new menus feature.

    I would like to add native support to my theme as I prefer having a horizontal menu versus a sidebar menu. The drop down menu bar I currently have does not render well in all browsers, and I’d like to find a better solution.

    I’ve come across a few articles about adding support for menus but they seem aimed at theme developers and I do not understand what I actually need to do and in which files. I have made a number of changes to my theme already, mostly via trial and error, but have very limited coding experience.

    Can anyone offer some guidance?

    I’ve considered changing themes altogether, to one that does offer this menu support, but I’m concerned about the potential mess my visitors will see until I have customised everything on the new theme.

    Any advice much appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello… Anyone?



    Forum Moderator

    Thanks Esmi – I’ll give it a try!

    OK, I feel I’m getting closer. The instructions seem clear…. except for where exactly I should place the code.

    Below is what’s in my theme functions file.

    Where would I add the edits mentioned in those instructions? Can I just append them to the end? Do they need some opening and closing <?php and ?> ?

    if ( function_exists(‘register_sidebar’) )
    function widget_mytheme_search() {
    <form method=”get” id=”searchform” action=”<?php echo $_SERVER[‘PHP_SELF’]; ?>”><p><input type=”text” value=”Search this site” name=”s” id=”s” onfocus=”if (this.value == ‘Search…’) {this.value = ”;}” onblur=”if (this.value == ”) {this.value = ‘Search…’;}” /></p></form>
    if ( function_exists(‘register_sidebar_widget’) )
    register_sidebar_widget(__(‘Search’), ‘widget_mytheme_search’);


    Well I added the edits to the end of the functions file, before the ?> and that went OK.

    But when I added the line
    <?php wp_nav_menu( array( ‘theme_location’ => ‘header-menu’ ) ); ?>

    in my header file, replacing the current html menu code that’s in there, it made a huge mess of my site…

    For anyone who needs help with this, the thread that helped me to finally get this to work is here:


Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] How to add native support for menus to Prosense theme’ is closed to new replies.