WP Calendar
[resolved] alwaysshowenddate option (4 posts)

  1. Dzafer
    Posted 5 years ago #

    Hi there,

    I use those tags to displaying startdate enddate:

    {event_startdate;} - {event_enddate; alwaysshowenddate=0}

    alwaysshowenddate option allows to not displaying enddate if equal to startdate

    Is there a way to not displaying the hyphen sign in my example too when enddate is not displayed ?

    Thank you for the support.

  2. faebu
    Plugin Author

    Posted 5 years ago #


    this weekend i will release the V1.3.0. this one contains a new attribute for the event_enddata and event_endtime parameter called 'before' which you can define a text to display. this is the place where the hypen could be defined in such a case.

    greetings from switzerland

  3. Dzafer
    Posted 5 years ago #


    Thank you very much for your time and support.

  4. faebu
    Plugin Author

    Posted 5 years ago #

    hi dzafer

    update release, you can now use the new attribte before to display a text, whenever the enddate is printed out.

    [event_startdate}{event_enddate; alwaysshowenddate=0; before=" - "}

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic