How can I add another property to the a tag for an event link
-
Hi
I would like to add the following property
data-toggle="modal"
to the A tag link for all events in the calendar.
After looking at the fullcalendar documentation I noticed that you can add your own non-standard fields to each Event Object. In wp-fullcalendar.php the $item array holds these details (as shown here)
$item = array ( "title" => $title, "color" => $color, "start" => date('Y-m-d\TH:i:s', $post_timestamp_start), "end" => date('Y-m-d\TH:i:s', $post_timestamp_end), "url" => get_permalink($post->ID), "post_id" => $post->ID );
but I cannot seem to add an extra property here, it doesnt show up in the html page.
Do you know what I have to do to achieve this?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How can I add another property to the a tag for an event link’ is closed to new replies.