Simple Calendar - Google Calendar Plugin
[resolved] add html tag on event date format (5 posts)

  1. Colir
    Posted 3 years ago #

    Hi, i would like to know if there are a way to wrap date format in html tag. (the idea is to add some hml tag inside '.gce-list-title')

    I try using this in the time Format input :

    <span class="day">D</span> d M
    But the span was remove on form submition.

    Any idea ?
    thanks a lot


  2. Ross Hanney
    Plugin Contributor

    Posted 3 years ago #


    Adding HTML to the date / time format options won't work, I'm afraid.

    However, you could try disabling the title option (by omitting the title parameter from the [google-calendar-events] shortcode, or by disabling the relevant option in the widget settings), and instead use the event display builder (in the feed settings, under "Display Options") to output a "title".

    This would mean you could use something like this:

    <span class="day">[start-custom format="D"]</span> d M
  3. Ross Hanney
    Plugin Contributor

    Posted 2 years ago #

    That actually should have been as follows, I think:

    <span class="day">[start-custom format="D"]</span> [start-custom format="d M"]

    Anyway, marking as resolved. If you require further assistance, let me know.

  4. Colir
    Posted 2 years ago #

    Yop !
    All my apologize for my feedback delay.
    I 've used the Event Display Builder, to get what i wanted.
    This feature is really flexible, you 've done a really good job !

    I take this opportunity to suggest you 2 optimisations :
    - it could be great that the edition zone of the display builder (textarea) will be more larger in a futur version
    - And it will be usefull that when we validate the setting page , we stay on it (when editing the display builder, i made a lot of forward/backward to get the correct result on my display)

    Anyway. i like your plugin.
    thanks a lot

  5. Ross Hanney
    Plugin Contributor

    Posted 2 years ago #

    These are both great suggestions!

    Many thanks for your feedback.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Calendar - Google Calendar Plugin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.