if ( class_exists(' EM_Categories' ) ){
echo EM_Categories::output( array( 'limit'=>'100','orderby'=>'name', 'depth'=>1) );
}
1. I am using this in my sidebar to display categories. 'depth' does not work. Is there a way to restrict the display of categories to the top level? Or can you add this argument?
2. Following a link for category 'foo' generated from the above code redirects to http://www.mysite.com/foo, instead of my event permalink structure of http://www.mysite.com/bar/categories/foo. Is there something I can do to put it on the right path (which does show correctly in the status bar when hovering over the link)?