WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Feature Request: Search for event owner (4 posts)

  1. jnz31
    Member
    Posted 1 year ago #

    hi

    i use events manager and it runs flawlessly, but i need a feature. the user has to be able to search for the event owner (in the general search field)..

    any chance?
    open for suggestions & cost estimates ;)

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

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    you could use shortcodes, or PHP :

    [events_list owner="x"]

    EM_Events::get(array('owner'=>x));

    where x is the user id

  3. jnz31
    Member
    Posted 1 year ago #

    i dont know, if you got me right. or maybe im not getting you..

    i want to modify the general search field, to be capable to search for the event owner, which is a standard wp author.

    where should i modify what..?
    (i think i have to modify the plugin core. correct me if im wrong..)
    and yes, im still willing to pay for that feature..

  4. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    ah, i see. You'd need to modify the search template in templates/templates/events-search.php, which you can copy to you theme and override there so it's upgrade safe.

    You'l also need to modify the events-list.php template in the same folder so that it takes into account that you are seaarching for event owners too, which would mean adding the owner key to your search array as above.

    This is something you'd have to sort out yourself though, so you may need to hire a developer for this. Hope that helps!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic