How to add custom navigation menus in Word press?
-
Upload
rashi-singh -
Category
Technology
-
view
28 -
download
0
description
Transcript of How to add custom navigation menus in Word press?
How to add Custom Navigation Menus in Word Press?
• The custom navigationmenu feature on wordpress would turn yoursite a more user friendlyone for newbie clients.
• This feature makes youorganize menu and onecan create drop downmenus also.
All Rights Reserved@EffortsUnlimited 2014
Functions of Custom Navigation Menu
• One can add new items tothe menu and many morethings can be done with thisfeature.
• The function of drag anddrop makes it easily usable.
• This new feature won’t bepresent in old themes untiland unless the authorupdates their themes.
All Rights Reserved@EffortsUnlimited 2014
Benefits of Custom Navigation Menu
• You can constructmultiple menus, addmore categories andpages to the menu.
• One can add customizedlinks to the menu also.
• One can organize menusas well as drop downmenus with simplifieddrag and drop option.
All Rights Reserved@EffortsUnlimited 2014
Code for Customized Navigation Menu
• With customized backgrounds,header images and thumbnails, thecustomized navigation menu needsto be enabled with theme’sfunctions.php file. You can add codebelow your php file(php functions).
Use code:
Add_theme_support
(‘menus’);
• How to make customized navigationmenus in the word press theme
<?phpwp_nav_menu(array(‘sort_column’=>’menuorder’,’container_class’=>’menu-header’);?>.
All Rights Reserved@EffortsUnlimited 2014
Customized Menu Themes in Word Press
• For customized menuthemes:
• If you are making use ofmore than one menu, thenone needs to choose eitherthe menu ID,menu name aswell as menu slug.
• The parameters used are:$sid, $menu and $slug .
All Rights Reserved@EffortsUnlimited 2014
Thank You for watching our video
All Rights Reserved@EffortsUnlimited 2014