minimizing event data shown on the Jquery FullCalendar

admin

Administrator
Staff member
Is it possible to minimalize the data shown on a given day (w/event) in the calendar? I know this seems like a weird request. Specifically I want to remove the title and start time... Essentially if I could just have a css class for days with events, or I am fine with the current "bubble" it shows now just with out the extra info. <a href="http://www.seattledesigndistrict.com/events/" rel="nofollow">http://www.seattledesigndistrict.com/events/</a> is the calendar I am working with right now. It's pulling data from a wordpress custom post type:

Code:
&lt;script type="text/javascript"&gt;
$(document).ready(function(){
$('#calendar').fullCalendar({
    header: {
        left: 'prev,next ',
        center: 'title',
        right: ''
    },

    weekMode: 'liquid',
    height: 250,
    events: [
        &lt;?php
            $myEvents = get_posts('post_type=event&amp;orderby=title&amp;order=ASC&amp;numberposts=-1');
            $eventString = '';
            foreach($myEvents as $event){
                $eventString .= '{ title: \''.$event-&gt;post_title.'\',';
                $eventDate = get_post_meta($event-&gt;ID,'event_date',true);
                $dateParts = explode('-',$eventDate);
                $startTime = get_post_meta($event-&gt;ID,'starttime',true);
                if($startTime != ''){
                    $startTimeArray = explode(':',$startTime);
                    $makeStart = mktime($startTimeArray[0],$startTimeArray[1],0,$dateParts[1],$dateParts[2],$dateParts[0]);
                } else {
                    $makeStart = mktime(12,0,0,$dateParts[1],$dateParts[2],$dateParts[0]);
                }
                $displayDate = date('c',$makeStart);
                $eventString .= 'start: \''.$displayDate.'\',';
                $endTime = get_post_meta($event-&gt;ID,'endtime',true);
                if($endTime != ''){
                    $endTimeArray = explode(':',$endTime);
                    $makeEnd = mktime($endTimeArray[0],$endTimeArray[1],0,$dateParts[1],$dateParts[2],$dateParts[0]);
                    $displayEndDate = date('c',$makeEnd);
                    $eventString .= 'end: \''.$displayEndDate.'\',';
                }
                $eventString .= 'url: \''.$event-&gt;guid.'\',';
                $eventString .= 'allDay: false},';                  
            }
            $eventString  = substr($eventString, 0, -1);
            echo $eventString;
        ?&gt;
    ]
})
});
&lt;/script&gt;

any help would be greatly appreciated.