Posts

Showing posts from 2010

How to add a drop down menu in Word Press for your site?

Image
Adding a drop down menu in header portion of wordpress: First install word press. You can find the latest version of word press at the url http://wordpress.org/ Now install it. To add a header in your word press please follow the following steps mentioned below: In word press you can locate the theme folder (where your site theme is present) in wp-content -> themes -> locate your folder. For now we will try to customize the default theme of word press. Now locate the file header.php and open it in using editing software like Dreamweaver. Add the following two lines of code just below the headerimg div. <ul id="nav">         <?php wp_list_pages('title_li=&depth=0&sort_column=menu_order&exclude=56'); ?> </ul> This above line of code lists all the pages present in the database. •    Depth=0 will display all the subpages without any restriction. •    Sort_column=menu_order will sort according the menu id •    Exclude wi