WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
displaying categories using EM_Categories (2 posts)

  1. raskull
    Member
    Posted 2 years ago #

    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)?

    http://wordpress.org/extend/plugins/events-manager/

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    you can use the same as here now - http://codex.wordpress.org/Function_Reference/get_terms

    2. what placeholder are you using?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic