WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar
Date display in Events Calendar (8 posts)

  1. JamesICT
    Member
    Posted 1 year ago #

    Does any one know how to include the day in events display.

    I am currently using ec3_get_events(30); which displays the event as 17 December

    However, I would like to display the date as Monday 17th December

    Is this possible and if so, how do It do it exactly?

    Thanks if anyone can help.

    http://wordpress.org/extend/plugins/the-events-calendar/

  2. bolide
    Member
    Posted 1 year ago #

    You should be able to do this by changing the PHP date format in the HTML template. You can find the formatting tags by Googling for PHP Date() - just select the tags yu need and amend the template accordingly

    Nick Froome

  3. JamesICT
    Member
    Posted 1 year ago #

    @ bolide

    Thanks for taking the time to comment.

    I have been reading up on all of this and it looks like it should be a simple process of using something like the following:

    ec3_get_events(30, '', '', 'l j F');

    However this only throws errors up at me.

    My next tack is to change the default settings, but for the life of me, I cannot find them within the Event Calendar plugin code.

    Do you or anyone else out there have any idea where it needs to be changed?

    Please help - I do not have much hair left to pull out now!

  4. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 1 year ago #

    Hey JamesICT. Apologies for the delay in getting you a response here; things slowed down for the holidays and are just picking up again now on our end.

    This should be controllable via your overall WP settings, as defined in Settings -> General. What you set there should take effect on the calendar as well. Are you finding this not to be the case?

  5. JamesICT
    Member
    Posted 1 year ago #

    @roblagatta

    I have my date format set at l, F j, Y in WordPress, but no, this format is not displaying in Events.

  6. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 1 year ago #

    Hey James. Thanks for the follow-up. That's odd; it is working for me on the 2.0.11 code. Here's what I've configured as my general WP settings - http://d.pr/i/eB1h.

    And this is what displays on the /events page: http://d.pr/i/N2ZT.

    Have I done something different than you, or am I testing this wrong? Let me know. Assuming I've got this right...are you in a position where you can test deactivation of other plugins (and the theme, if necessary) to test for a conflict?

  7. JamesICT
    Member
    Posted 1 year ago #

    @roblagatta

    I will try and find a suitable time-slot to deactivate the other plugins and see if that works.

    I gather that this code ec3_get_events(30); is correct?

    Thanks for your help on this - it is much appreciated.

  8. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 1 year ago #

    James: are you not using tribe_get_events for your site?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic