• Hello

    That is really a great plugin, but I was wondering how can I add 2 information details on the calendar page, between the event name and the number of seats available.

    I’d like to display the start time and the category name. Would it be possible?

    I tried to add this line in evr.calendar.php on line 504 :
    $details .= '<br/>'.$start_time;

    but it doesn’t work.

    Any suggestion?

    Thanks

    https://wordpress.org/plugins/event-registration/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ishanshade

    (@ishanshade)

    Ok so I found the solution for the time, but not for the category name.

    FOr the time, here’s the line to add :

    $details .=  date($evr_date_format,strtotime($event->start_date))." ".$event->start_time;

    Thread Starter ishanshade

    (@ishanshade)

    Another request, how can I make all the day-with-date events class having the category color background?

    I can have the div class “catgry” having the category background color with
    $details = '<div class = "catgry" style="background:'.stripslashes($cat_details->category_color).'; $edge=$cat_details->category_color;">';on line 505, but I want the full “td” to have the background, not only the div.

    I tried many things but none of them work…

    Thanks for your tip !

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add some details to calendar’ is closed to new replies.