• Resolved Niels Pilon

    (@nielspilon)


    Hi,

    I’m looking for a way to display all events in a list sorted by category. I’ve already searched the documentation but that only explains how to display a list of a certain category like

    ‘echo EM_Events::output(array(‘category’=>’11’, ‘limit’=>10, ‘pagination’=>1))’`

    I know how to do this for a regular CPT but I can’t find any documentation about which arguments to use like the post type or taxonomy that the plugin does.

    Is this even possible and how can I achieve this?

    Kind regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    Im afraid that you might need custom coding to make this work eg. using wp_query

    Thread Starter Niels Pilon

    (@nielspilon)

    I don’t mind doing that but where can I find any documentation about this? For example what CPT to query? Is it ‘EM_EVENT_POST’ or something similair?

    I haven’t checked all plugin files but so far I haven’t found how the CPT is registered for example. Just like the taxonomy/category.

    The taxonomy name for event categories is event-categories and the post_type for events is event.

    Any custom code that runs with custom taxonomies and custom post types should work ok with these names.

    Thread Starter Niels Pilon

    (@nielspilon)

    Really late reply, but thanks a lot! That solved the issue ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Display list of all events sorted by category’ is closed to new replies.