How to make a drop down menu with categories

You have to modify only the first part as this: <ul id=”nav” class=”clearfloat”> <li class=”cat-item”><a href=”https://wordpress.stackexchange.com/questions/108006/<?php echo get_option(“home’); ?>/” class=”on”><?php echo get_option(‘blogname’); ?></a> <ul class=”children”> <?php wp_list_categories(‘orderby=name&title_li=’); $this_category = get_category($cat); if (get_category_children($this_category->cat_ID) != “”) { echo “<ul>”; wp_list_categories(‘orderby=id&show_count=0&title_li= &use_desc_for_title=1&child_of=”.$this_category->cat_ID); echo “</ul>”; } ?> </ul> </li> <?php wp_list_pages(“title_li=’); ?> </ul> Here the menu will show up … Read more

WP NAV MENU – Dropdown always showing

You have to modify style.css. What you should do is look at your source code and see the structure you generated for your menu, and then change your menu accordingly. There are lots of tutorials on the web, all you have to do is Google “css menu tutorial” or “css menu example” and you will … Read more

Problem with custom menus

You have created menu “placeholders” of sorts but you haven’t added any actual menus yet, thus you see a kind of default menu being displayed. Go to wp-admin -> Appearance -> Menus Create a menu Assign the menu to one of your menu locations Add something to the menu Save Now you should see the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)