Friday, June 28, 2013

How to add menu to footere in wordpress?

The following single line code add in footer where you want to show menu bar.


Syantax:

<?php wp_nav_menu(array('menu' => 'name')); ?>
                          where name = Menu slug name.

Example:

<?php wp_nav_menu(array('menu' => 'my-custom-menu')); ?>

No comments:

Post a Comment