Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Hemant Acharya

    (@hemant-acharya)

    Hi dapering,

    Theme currently supports one primary menu on only one location (Off canvas). I am updating the theme soon to add an option to make it permanently stay on page for more magazine looks. Obviously, it isn’t what you are asking for but it might help.

    You can use plugins to add horizontal menu. For example this site https://ssccglexam.in/ uses PixelHunter theme along with horizontal menu.

    Thanks
    -Hemant

    Thread Starter dapering

    (@dapering)

    Hello Hemant
    Could you elaborate on the steps to add the horizontal menu?
    Something like the site you pointed to might work for me, but I do not know how to do it.
    Thanks
    Diego

    Theme Author Hemant Acharya

    (@hemant-acharya)

    Hi,

    I looked at some menu plugins on WordPress repository and unfortunately most of them require some sort of modification to the theme files. ??

    The owner of the site I pointed to, once asked on the forums related to menu. So, I knew other menus can be integrated to PixelHunter theme. But the process is not so intuitive.

    If you are comfortable messing with code and want to try. Follow these steps.

    1> Register a new secondary menu at functions.php
    Change FROM

    register_nav_menus( array(
    		'primary' => __( 'Primary Menu', 'pixelhunter' )
    	) );

    TO

    register_nav_menus( array(
    		'primary' => __( 'Primary Menu', 'pixelhunter' ),
    		'secondary' => __('Secondary Menu', 'pixelhunter')
    	) );

    2> Call the secondary menu we just registered on functions.php file at header.php below closing </header> tag like
    <?php wp_nav_menu( array( 'theme_location' => 'secondary' ) ); ?>

    3> Install ‘Drop Down Menu Widget’ Plugin from WordPress repository.
    4> Check ‘Use Theme Location’ and point ‘Theme Location’ to ‘Secondary Menu’ and save.

    Thanks,
    -Hemant

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Permanent Navigation menu on top or below banner’ is closed to new replies.