How To Add Custom Navigation Menus to Themes in WordPress 3.0

send free sms with photos videos from mobile phones

We have already seen detailed explanation with screenshots on How to Create a Custom Navigation Menu in WordPress 3.0. Now, we are going to have a look at how we can add the newly created navigational menus to themes in WordPress 3.0

This is quite an easy task to accomplsih as long as you are not worried to edit your theme files. The videos below will assist you through a tep by step process. So, do not worry. But, as a matter of precaution, just take a backup of your files in advance.

Here are the detailed videos explaining step by step on how you can add your custom navigational menus to your themes.

Create Custom Navigational Menu for WordPress 3.0

Add the Custom Navigation Menu to themes using WordPress 3.0

The piece of code that we have added to Header.php after deleting the original navigational menu is below:

<?php wp_nav_menu( array( 'sort_column' => 'menu_order', 'container_class' => 'menu-header' ) ); ?>

Save the header.php file and you are good to go.

Let me know if you come across any hiccups.

For a brief text tutorial, please visit: WP3Hacks.com

Blog Widget by LinkWithin

One Comment

  1. Amit says:

    Hi,

    I have followed the steps mentioned here.
    I am adding this:
    ; ‘menu_order’, ‘container_class’ =>; ‘menu-header’ ) ); ?>;

    in my header.php after removing this:

    <a href="#content" title="”>

    ‘primary’ ) ); ?>

    It keeps coming back with the following error
    Parse error: syntax error, unexpected ‘;’ in /var/www/vhosts/numyspace.co.uk/web_users/home/~unn_w10023996/public_html/finewoodworksseq/wordpress/wp-content/themes/toolbox/header.php on line 51

    Can you please help?

Leave a Reply

CommentLuv badge