tags. This is another IE consideration.
Firefox hovers anything...IE6..NOT!
USAGE:
**********************************************
STEP 1:
--------------------
in your header.php file insert this:
require 'webdezine_list_menu.php';
?>
(we are 'requiring" it because what is a website without a menu??)
STEP 2:
--------------------
place the calls to the functions anywhere you would like within your template , in any order you wish:
Be sure to include the 's if you want to use the css included in this package
STEP 3:
---------------------
Define the variables by replacing the variables with the info you want for your menu
like so:
****************************************************
webdezine_list_cats("Categories","topmenu1","drop",0,"[", "]");
****************************************************
where
$top_name_display = the name at the top of the list
$head_name_class = the css class name of the parent link (a parent id of '0')
$sub_parent_link_class = the css class name of the sub category links
$display_post_count = 1 to display the #of posts in the category or archive and 0 not to display them.
$bobrace = the character to include before the post count
$eobrace = the character to include after the post count
**NOTE: all variables in all menus have default values, so it is acceptable to simply call a function like this:
STEP 4:
---------------------
upload webdezine_list_menu.php to your template
Directory i.e. /home/YOUR USER/public_html/wp_content/themes/YOUR THEME/
add the css for the menu
upload the file you included the function in and
VOILA! Your done
One more thing... if you have your cache enabled, the queries run will be cached for the default expiration.
Enabling your cache will not only speed up your site but
the results may be called in other pages as desired with a call such as:
cat_name;
}
?>
Which will print out a list of all the category names included in the query (all of them in this case)
Any questions or comments can be directed to the relevent post located at www.tenterhooks.mbmontessori.com
Enjoy! Sheri
-------------------------------------------