File tree Expand file tree Collapse file tree
themes/osi/template-parts Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<?php
22
33if ( function_exists ( 'Sugar_Calendar\AddOn\Ticketing\Settings\get_setting ' ) ) {
4-
54 $ recepit_page_id = Sugar_Calendar \AddOn \Ticketing \Settings \get_setting ( 'receipt_page ' );
65
76 if ( get_the_ID () === absint ( $ recepit_page_id ) ) {
2322 </div>
2423 </div>
2524 </header>
25+ <?php elseif ( is_page () ) : ?>
26+ <header class="entry-header cover--header no-thumbnail">
27+ <div class="wp-block-cover alignfull has-neutral-dark-background-color has-background-dim-100 has-background-dim">
28+ <div class="wp-block-cover__inner-container">
29+ <?php echo ( ! empty ( $ page_title ) ) ? '<h1 class="entry-title page--title"> ' . esc_html ( $ page_title ) . '</h1> ' : '' ; ?>
30+ <?php osi_the_page_dates (); ?>
31+ </div>
32+ </div>
33+ </header>
2634<?php else : ?>
2735 <header class="entry-header cover--header no-thumbnail">
2836 <div class="wp-block-cover alignfull">
You can’t perform that action at this time.
0 commit comments