WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] "All Day" string (13 posts)

  1. Glur4k
    Member
    Posted 2 years ago #

    Hey,

    witch file do i have to edit to change the "All Day" string at the event list?

    thanks =)
    and greetings

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 2 years ago #

    If you want to hide it you can use conditional placeholder {has_time}

  3. whoaloic
    Member
    Posted 2 years ago #

    You can look the templates/forms/event/when.php file.
    Also you can look your language files in folder in includes/langs and translate "All day" string with PoEdit.
    Hope it helps!

  4. Glur4k
    Member
    Posted 2 years ago #

    Thanks, but I've already edited the when.php file, but it still outputs "All Day". Same with the .po file.. o.O ?

  5. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    chances are what you want is to edit your formats and use conditional placeholders to display text if it's all day.

    also, I'll look into adding an option in the time formatting settings

  6. whoaloic
    Member
    Posted 2 years ago #

    Try to edit the classes/em-event.php file.
    Around line 1130, you will find #_EVENTTIMES placeholder output.
    Change $replace = get_option('dbem_event_all_day_message');
    To $replace = "your string";
    Or if you're usind language files $replace = __('All Day','dbem');
    I don't know where is the dbem_event_all_day_message function so I use directly the string.

  7. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    dev version allows you to set this along with the date format in Settings > Formats/Templates

  8. originalstormcrow
    Member
    Posted 1 year ago #

    I need to know which file the words "All Day" appear in. I still want the function to work, I just want to display different text.

  9. agelonwl
    Member
    Posted 1 year ago #

    You can change that at Settings > Formatting > Date/Time > All Day Message (using latest version 5.2.9)

  10. originalstormcrow
    Member
    Posted 1 year ago #

    Thanks for the come back agelonwl, but that is not what I asked. Your remedy requires an investment of $75 which we dont have. Again, I need to know which file the words "All Day" appear in. I still want the function to work, I just want to display different text.

  11. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    No, that's part of the main/free plugin.

    Otherwise, search for get_option('dbem_event_all_day_message') in the plugin files.

  12. originalstormcrow
    Member
    Posted 1 year ago #

    The upgrade worked and was able to change the text. But the upgrade seems to have disabled my main nav menu. Its the menu that comes with Twenty Ten theme, I created custom links. Now its gone.

  13. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    if you're using Events on the home page, this is fixed in the latest dev version, which you can update automatically visiting

    events > Settings > General (tab) > Admin Tools > Check Dev-Versions (you will need to refresh your updates/plugins page a couple times to see the update available.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic