WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Calendar view supports search results? (2 posts)

  1. kingkong954
    Member
    Posted 3 months ago #

    Is it possible to have the calendar view (em_calendar) only show events matching the em_search results?

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

  2. kingkong954
    Member
    Posted 3 months ago #

    ...nevermind. Figured it out. Added a $search variable to my args when calling em_calendar.

    $search = ( !empty($_REQUEST['em_search']) ) ? $_REQUEST['em_search']:'';
    $args = array('group'=>$bp->groups->current_group->id, 'long_events' => 1, 'full' => 1, 'search' => $search);

    em_calendar($args);

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.