Home › Forums › Ticket Products › Event Tickets Plus › Date Format for Upcoming Events
- This topic has 11 replies, 2 voices, and was last updated 10 years ago by
Brook.
-
AuthorPosts
-
April 3, 2016 at 7:54 pm #1097660
Corey
ParticipantHi Again,
As of now, the default date format for upcoming event listings is “01 April” — however, I would like to change to list the day of the week so it reads something like “Fri 01 April” — is there a setting toggle to have this changed?
Thanks!
CoreyApril 4, 2016 at 11:15 pm #1098207Brook
ParticipantHowdy Corey,
Good question. There definitely is a setting. If you go to WP-Admin > Events > Settings > Display and scroll down to “Date without year” format, you can adjust here. There is a tutorial above that field on how to use it, it’s the same way you adjust the settings elsewhere in WordPress:
The following three fields accept the date format options available to the php date() function. Learn how to make your own date format here.
Once you’ve got to the setting field there and opened the above tutorial, does that all make sense? Cheers!
– Brook
April 5, 2016 at 6:02 am #1098267Corey
ParticipantHi Brook!
So after changing that character string to “D, F j,” it seems that it only affects the ‘details’ section of the individual event. Can you clarify how I can apply the same change to the dates listed in the ‘upcoming experiences’ on, say, my homepage?
Thanks!
CoreyApril 6, 2016 at 4:38 am #1098845Brook
ParticipantAhh yes. Thanks for providing the link. That is a very cool layout on your homepage. That layout is designed entirely by the theme author, not our plugin. In order to adjust the data it outputs you will need to contact the theme author. I honestly have no idea how to modify that or which lines of code you will need to change, or else I would be happy to walk you through it!
Does the above make sense and sound like a plan?
Cheers!
– Brook
April 6, 2016 at 5:19 am #1098856Corey
ParticipantAh, ok, thanks for the update!
April 6, 2016 at 8:45 pm #1099368Brook
ParticipantYou are welcome Corey. I will this topic here open for a couple of weeks just in case you have any followup questions. But it is very likely the theme author will give you exactly what you need if you show the page and maybe a screenshot of the exact date whose format you are trying to change.
Cheers!
– Brook
April 7, 2016 at 6:48 am #1099513Corey
ParticipantAlso, I just noticed that the ‘distance’ option in the filter bar isn’t showing, even though I have it checked on the ‘filter’ tab on the back-end — any thoughts on that?
April 7, 2016 at 10:06 am #1099661Brook
ParticipantFor sure I can shed some light on that. It only shows up when its needed. You need to first type something into the Events Near ______ field in order for it to limit how far away from this location to show events.
– Brook
April 7, 2016 at 1:05 pm #1099819Corey
ParticipantThanks for answering!
One more question — is it possible to create an event and only allow a user to purchase tickets if they order a minimum amount?
April 8, 2016 at 7:21 am #1100032Brook
ParticipantHowdy Corey,
You’re welcome!
That is possible for sure. You might be interest in WooCommerce’ Dynamic Pricing plugin, which allows you to craft pricing rules for any product including tickets. You could set a minimum purchase amount, even better you can set a discount if you purchase a certain number of tickets. That way people could still purchase just one if they wanted, but it comes at a premium.
Or if you wanted all tickets for every event to have a minimum purchase amount a theme override would be the easiest way (Themer’s Guide ) You would override public_html/wp-content/plugins/event-tickets-plus/src/views/wootickets/tickets.php. On line ~63 you will see the “min_value”. Change this from 0 to whatever you need.
Is that what you’re looking for?
PS. If you don’t mind, would you open up a new topic if you have more questions unrelated to the original? One of our forum rules is only one “issue” per topic. This helps make it easier to manage, and more importantly makes it far easier for people to search out topic relevant to them
Cheers!
– Brook
April 11, 2016 at 12:18 pm #1100916Corey
ParticipantThanks Brook!
I will ask my next question about tickets in another thread.
April 11, 2016 at 2:23 pm #1100991Brook
ParticipantYou are welcome sir. It has been my pleasure assisting.
- Brook
-
AuthorPosts
- The topic ‘Date Format for Upcoming Events’ is closed to new replies.
