Thanks for the feedback @hiteshmakvana
When I checked out your documentation on template overrides I saw that I could perhaps copy wp-content/plugins/wp-event-manager/templates/content-summary-event_listing.php
and move it to wp-content/themes/my-theme/wp-event-manager/templates/content-summary-event_listing.php
.
That file contains:
<div class="wpem-main wpem-single-event-widget">
<a href="<?php the_permalink(); ?>" class="wpem-event-action-url event-widget">
<div class="wpem-event-banner">
<div class="wpem-event-banner-img"><?php display_event_banner(); ?></div>
</div>
<div class="wpem-event-infomation">
<div class="wpem-event-details">
<div class="wpem-event-title">
<h3 class="wpem-heading-text" title="<?php the_title(); ?>"> <?php the_title(); ?></h3>
</div>
<div class="wpem-event-date-time">
<span class="wpem-event-date-time-text"><?php display_event_start_date();?></span>
</div>
<div class="wpem-event-location">
<span class="wpem-event-location-text"><?php if(get_event_location()=='Online Event'): echo __('Online Event','wp-event-manager'); else: display_event_location(false); endif; ?></span>
</div>
<div class="wpem-event-type"><?php display_event_type(); ?></div>
<?php if (get_event_ticket_option()) : ?>
<div class="wpem-event-ticket-type">
<span class="wpem-event-ticket-type-text"><?php echo '#'.get_event_ticket_option(); ?></span>
</div>
<?php endif; ?>
</div>
</div>
</a>
</div>
This file is for the events shortcode I mentioned earlier, correct? Or is it wp-content/plugins/wp-event-manager/templates/content-event_listing.php
?
If so I could then also add layout and CSS changes and hide the image.
-
This reply was modified 3 years, 4 months ago by
Rhand.
-
This reply was modified 3 years, 4 months ago by
Rhand.