Skip to content

Commit

Permalink
Merge pull request #2143 from CityOfPhiladelphia/timeline-jumplink-ch…
Browse files Browse the repository at this point in the history
…errypick

refactored timeline partial
  • Loading branch information
RitikaDesai98 authored Jul 18, 2024
2 parents 921d573 + d71533e commit d4053f8
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@
<?php
$timeline_page = $current_row['phila_full_options']['phila_timeline_picker'];
$limit = $current_row['phila_full_options']['phila_timeline_picker']['homepage_timeline_item_count'];
include(locate_template('/partials/timeline_stub.php')); ?>
include(locate_template('partials/timeline_stub.php')); ?>
<!-- /Homepage timeline -->

<?php elseif ( $current_row_option == 'phila_location_list'):?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
include(locate_template( 'partials/resource-list.php'));
break;
case 'timeline':
get_template_part( 'partials/departments/v2/homepage_timeline' );
get_template_part( 'partials/timeline_stub.php' );
break;
}
include(locate_template( 'partials/content-additional.php' ) );
Expand Down
2 changes: 1 addition & 1 deletion wp/wp-content/themes/phila.gov-theme/single-programs.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
include(locate_template('partials/departments/v2/document-finder.php'));
break;
case 'timeline':
get_template_part( 'partials/departments/v2/homepage_timeline' );
get_template_part( 'partials/timeline_stub.php' );
break;
case ('child_index'):
get_template_part( 'partials/departments/v2/child', 'index' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
break;

case 'timeline':
get_template_part( 'partials/departments/v2/homepage_timeline' );
get_template_part( 'partials/timeline_stub.php' );
break;

default:
Expand Down

0 comments on commit d4053f8

Please sign in to comment.