• I have a couple of events that allow booking on events manager. I use

    echo do_shortcode(“[events_fullcalendar owner=’2′]”);

    or also

    $args = array(‘owner’ => 2);
    echo WP_FullCalendar::calendar($args);

    in a template. The calendar shows the events doesn’t matter what I specify on the owner.

    How can I specify the owner/author of the event on the shortcode?

    https://www.ads-software.com/plugins/wp-fullcalendar/

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

    (@angelo_nwl)

    hi,

    I just to confirm, you want to display the current login user events on the calendar or user specific calendar?

    thanks

    Thread Starter demitrol

    (@demitrol)

    hi, i want to display user specific calendar.
    thanks

    yes, have been looking for that feature also. The default calendar does it, but the look is very limited.
    Why isn’t the ‘owner’ argument functioning?

    People have been asking for this for 2 years now, but nothing seems to be done about it.

    Thank you,

    Richard

    Plugin Support angelo_nwl

    (@angelo_nwl)

    here is another snippet which can help you with this

    function my_em_custom_code_wpfc($args)
    		{
    		$user_ID = get_current_user_id();
    		$args['owner'] = $user_ID; // the user id
    		return  $args;
    		}
    	add_filter('wpfc_fullcalendar_args','my_em_custom_code_wpfc',10,1);
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fullcalendar and owner’ is closed to new replies.