WordPress.org

Support

Support » Plugins and Hacks » Events Manager » display events of individual Event Owner

display events of individual Event Owner

  • I am creating pages for each of my Event Owners.

    I would like to add a short code that will allow me to display the events for that one Event Owner

    Can not seem to work out how – any ideas?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Marcus

    @netweblogic

    please read the docs, but attribute owner works

    So glad I found this! I’ve been looking for ages. I was looking on this page:
    http://wp-events-plugin.com/documentation/event-search-attributes/
    but the owner attribute isn’t listed there. Marcus, thought you might want to update there too.

    Plugin Author Marcus

    @netweblogic

    thanks, will update that

    so i tried this one out, and it works, but i have my issues, cause of course i want to pull out the owners id dynamically.

    this works fine

    if (class_exists('EM_Events')) {
    	echo EM_Events::output( array('owner'=>3) );
    }

    but this pulls out the id on top of the (not correctly filtered) list..

    if (class_exists('EM_Events')) {
    	echo EM_Events::output( array('owner'=>the_author_meta(ID)) );
    }

    🙁

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘display events of individual Event Owner’ is closed to new replies.
Skip to toolbar