Forum Replies Created
-
AuthorPosts
-
July 14, 2017 at 11:03 am in reply to: Removing Date from tribe-event-date-start and "-st", "-nd", & "-rd" #1321395
Brian Schneider
ParticipantHi András,
Thanks again for your help.
I went into Events > Settings > Display and I deleted the text in the “Date without year” and “Date time separator” fields. Is that the ideal way to do this or is there a way to do this with code?
For the single-event.php, the one that I’m using is in /tribe-events/pro/widgets/this-week/single-event.php which only has 29 lines in the whole file. I think I need to change something in this line: <?php echo get_the_title( $event->ID ); ?>. I tried putting your code in there, but it didn’t work.
Any other thoughts? Thank you again for your patience and help!
-Brian
July 13, 2017 at 2:37 pm in reply to: Removing Date from tribe-event-date-start and "-st", "-nd", & "-rd" #1320865Brian Schneider
ParticipantHi András,
Thank you for your response and help!
I was able to do a template override for loop-grid-day.php and get that working.
For the second issue, I’ve created a template override for single-event.php. I know the issue lives in <div class=”duration”><span class=”tribe-event-date-start”>July 13 @ 8:00 am</span></div>. In the screenshot I attached in the original post, July 13 has two posts and the “tribe-event-date-start” displays both the date and time (ex. July 13 @ 8:00 am). I need to remove the date so it would just display “8:00 am”. Can that be done in single-event.php or does it require a change in functions.php?
For the last issue, when displaying <class=”entry-title summary”> it seems to pull from the WordPress Events title field. Is it possible to change that so instead it pulls from “wp-editor-area”?
Thanks again for all your help!
-Brian
-
AuthorPosts
