WordPress.org

Ready to get started?Download WordPress

Forums

WP Calendar
[resolved] alwaysshowenddate option (4 posts)

  1. Dzafer
    Member
    Posted 3 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
    Member
    Plugin Author

    Posted 3 years ago #

    hi

    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
    Member
    Posted 3 years ago #

    Great!

    Thank you very much for your time and support.

  4. faebu
    Member
    Plugin Author

    Posted 3 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

About this Topic