Skip to content

Commit

Permalink
Update template requests
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Oct 25, 2023
1 parent 2ff74c2 commit e77a892
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/my-calendar-events.php
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ function my_calendar_events_now( $category = 'default', $template = '<strong>{li
'tags' => $event,
'template' => $template,
);
$details = mc_load_template( 'now', $args );
$details = mc_load_template( 'event/now', $args );
if ( $details ) {
$return = $details;
} else {
Expand Down Expand Up @@ -963,7 +963,7 @@ function my_calendar_events_next( $category = 'default', $template = '<strong>{l
'tags' => $event,
'template' => $template,
);
$details = mc_load_template( 'next', $args );
$details = mc_load_template( 'event/next', $args );
if ( $details ) {
$return = $details;
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/my-calendar-search.php
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ function mc_produce_search_results( $events, $template ) {
'template' => $template,
'type' => 'list',
);
$details = mc_load_template( 'upcoming', $data );
$details = mc_load_template( 'event/upcoming', $data );
if ( ! $details ) {
$html .= mc_format_upcoming_event( $out, $template, 'list' );
}
Expand Down

0 comments on commit e77a892

Please sign in to comment.