De Werkkamer
Forum Replies Created
-
Forum: Plugins
In reply to: [ICS Calendar] Display only first 5 eventsIt works! Thanks a lot!
Forum: Plugins
In reply to: [ICS Calendar] Display only first 5 eventsThanks!
I’m usingcount
now in list view. But is it also possible to show 5 days where there can be more than 1 event a day? Like:14 december (day 1)
– event 115 december (day 2)
– event 2
– event 316 december (day 3)
– event 417 december (day 4)
– event 518 december (day 5)
– event 6Is it also possible to add in list view a class where you define if the event is today like you do in month view.
- This reply was modified 2 years, 2 months ago by De Werkkamer.
Forum: Plugins
In reply to: [Google Calendar List View] Group by monthSorry, I didn’t have time to look at this earlier. But these updates are really great! Thank you!
Forum: Plugins
In reply to: [Google Calendar List View] Group by monthHi,
I did use the hook function with multiple ID’s but I don’t understand how to edit li-month.
add_filter( 'lvgc_each_output_data' , 'lvgc_each_output_data_fix' , 10 , 2 ); function lvgc_each_output_data_fix($out, $out_atts){ extract($out_atts); $hook_secret_key = 'markiezaat'; if ($id === 'screen'): $out = <<< ___EOF___ <div class="${html_tag_class}_item"> <div class="details"> <span class="title">$output_category_temp $gc_title</span> <div style="clear:both"></div> <span class="date">$start_date_value</span> <span class="desc">$description</span> </div> </div> ___EOF___; elseif ($id === 'page'): $out = <<< ___EOF___ // Here I want to edit li-month structure ___EOF___; endif; return array('hook_secret_key'=>$hook_secret_key, 'data'=>$out); }
Do I copy the code from library/tags/li-month.php, because than I get errors about $this.
Also lang=”nl” is not working. The date is still in english instead of Dutch.
Thanks!
Forum: Plugins
In reply to: [Google Calendar List View] Group by monthDo you have an example how to customize this in functions.php?
Forum: Plugins
In reply to: [Google Calendar List View] Group by monthAwesome! Thank you!