Forum Replies Created
-
AuthorPosts
-
Jon Nixon
ParticipantHi Brian,
I’m trying to apply the categories to my local grid.php file:
theme > tribe-events > widgets > mini-calendar > grid.php
Jon Nixon
ParticipantThis setting is no longer located where you say in the latest version. Where can I change this?
January 14, 2015 at 10:35 am in reply to: Hide Previous and Next months events on mini calendar #932830Jon Nixon
ParticipantI don’t think you’re following. I’m trying to remove the days of the month like so:
Jon Nixon
ParticipantSo I figured out that I could use eventDate to in the $instance and create full year of calendars using the following:
<?php
for ($i = 0; $i <= 12; $i++) {
$instance = array(
‘title’ => ”,
‘count’ => 0,
‘eventDate’ => date(“Y-m”, strtotime(“+{$i} months”))
);the_widget( ‘TribeEventsMiniCalendarWidget’, $instance);
}
?>Jon Nixon
ParticipantAlso, I think it’s worth noting that I’m attempting the same method of
the_widget( ‘TribeEventsMiniCalendarWidget’,$instance, $args );
referenced here:
the_widget( ‘TribeEventsMiniCalendarWidget’,$instance, $args );
I didn’t see a way, however, is there a parameter within the $instance that accepts a month?Jon Nixon
ParticipantThanks for the reply Josh. I’ve seen that post on how to change the date on a single calendar. However, I’m looking to be able to do this to a series of calendars. Before I venture down that path more, do you know if it is possible to have multiple calendars on a single page?
-
AuthorPosts
