WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
display events of individual Event Owner (5 posts)

  1. chriscooper3000
    Member
    Posted 3 years ago #

    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?

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 3 years ago #

    please read the docs, but attribute owner works

  3. aWEBthatWORKS
    Member
    Posted 2 years ago #

    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.

  4. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    thanks, will update that

  5. jnz31
    Member
    Posted 2 years ago #

    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)) );
    }

    :(

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic