WordPress.org

Ready to get started?Download WordPress

Forums

WP FullCalendar
Removing event start times in WP FullCalendar (17 posts)

  1. suerama
    Member
    Posted 1 year ago #

    How do I eliminate the start time in the calendar event listing? In many cases I just want the event name and no start time.

    http://wordpress.org/extend/plugins/wp-fullcalendar/

  2. suerama
    Member
    Posted 1 year ago #

    On this website that I created several weeks ago, there is no times appearing on my events listing: http://www.shamaniclightwork.org/calendar/. This uses a .06 version of WP-Fullcalendar.

    This newer website http://shaktionline.org/ uses the .07 version, which I suppose is what is creating the default 12a times, even for all-day events, which I really do not want to appear. (Right now I'm using an asterisk so people can even understand what this 12a means.) So if this time listing changed in the newer version, if there is no other way to eliminate these starting times in vers. .07, is there some way I can download .06 or copy it from my older site and bring it in the newer site?

    Thanks!

  3. linuxguy
    Member
    Posted 1 year ago #

    Hi suerama,

    This was driving me crazy, too, but I found an answer. You'll have to do some file editing. Follow this path on your WP installation:

    wp-content >> plugins >> wp-fullcalendar >> includes >> js

    The file you want to edit is main.js. Search for the following string:

    if(!n.allDay&&B.isStart)

    There should be only one occurrence in the file. Verify this before proceeding. Then delete:

    n.allDay&&

    so that the new string reads:

    if(!B.isStart)

    This solved the problem for me, and so far it hasn't caused any problems.

    For safety's sake, I copied the main.js file to my local computer and then renamed the file on the server to main-old.js. I then edited the local file and copied it back to the server.

    Hope this helps!

  4. suerama
    Member
    Posted 1 year ago #

    Hi linuxguy,

    Thanks for the tip! That works fine with one-day events. However, when the event spans a second line in the calendar the date does show up in the second mention. Any additional tips to offer? This kind of code is gibberish for me!

    Thanks again!
    Sue

  5. linuxguy
    Member
    Posted 1 year ago #

    Hi Sue,

    I'm afraid that's all I've got. The change seems to be working for me on multi-day events, too.

    Hopefully, the devs will work these changes into the next release.

    God bless!

  6. ZenKimchi
    Member
    Posted 1 year ago #

    Useful hack. I hope the next version gives the option to display times or not. It looks silly to have all day events showing a 12 a.m. time.

  7. zeniph
    Member
    Posted 1 year ago #

    to remove completely:

    .fc-event-time{display:none}

  8. pitou
    Member
    Posted 1 year ago #

    @zeniph
    But in which file ?

  9. zeniph
    Member
    Posted 1 year ago #

    Just place it in your theme's style.css

  10. pitou
    Member
    Posted 1 year ago #

    It works, wonderful !

  11. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    fyi, this now can be set from your WPFC settings page, i.e. no time = blank setting

  12. suerama
    Member
    Posted 1 year ago #

    Very helpful.
    Thank you all!

  13. dwbjd
    Member
    Posted 1 year ago #

    I just installed the latest update and my times on the Full Calendar have disappeared. Any idea why? I've re-installed my backup DB and files right before the update 2 times and same result both times after the WP-FC update. I checked in the settings and my time format is NOT blank.

    Thank you and regards on a great plugin.

  14. BertvanDorp
    Member
    Posted 1 year ago #

    @dwbjd have you checked Events -> Settings -> WP Full Calendar -> Event Title Format? In here , you can use Events Manager Placeholders, like '#_24HSTARTTIME #_EVENTNAME'.

  15. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    @dwbjd, assuing you're using Events Manager, there is a bug to be fixed in 0.8.2 coming soon

  16. dwbjd
    Member
    Posted 1 year ago #

    Thank you so much for updating this. Thought I was missing something. Yes I am using the Event Manager as well. Fantastic plugins sir! Will look for the update. Thank you so much.

  17. dwbjd
    Member
    Posted 1 year ago #

    Just got the update 0.8.2, Time issue being gone from calendar listing FIXED! Great work my man! Thank you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic