zdevine
Forum Replies Created
-
Sorry, I’m not well versed in PHP.
Can you tell me how I’m supposed to change the code exactly in the new template file I’ve created?
Just replacing { display_date_time_separator() ?> with _e(‘to’,’wp-event-manager’); didn’t work.
<div class=”wpem-event-date-time” >
<span class=”wpem-event-date-time-text” itemprop=”startDate” content=”<?php echo $start_date;?>”><?php display_event_start_date();?> <?php if(get_event_start_time()){ display_date_time_separator(); ?> <?php display_event_start_time(); }?></span>
<br/>
<span class=”wpem-event-date-time-text” itemprop=”endDate” content=”<?php echo $end_date;?>”>
<?php if( get_event_start_date() != get_event_end_date() ) { display_event_end_date(); } ?>
<?php if(get_event_end_time()){ display_date_time_separator() ?> <?php display_event_end_time(); } ?>
</span>
</div>I’ve copied the template but what do I do exactly to change the separator from a @ to “to” so it makes more sense on the frontend events page?
{ display_date_time_separator() ?>
Do I change this in some way?
@hiteshmakvana What specific code needs to be removed from the content-single-event_listing.php template file to remove the Registration Button permanently?
Thank you!
Zach