FT Calendar
[resolved] Please add classes to li and ul by default (4 posts)

  1. killtheliterate
    Posted 5 years ago #

    This calendar plugin almost fits the bill, though styling it is rather cumbersome. Only because the extremely nested li and ul elements do not have classes.

    How would I go about quickly and easily classing those elements in the upcoming events list? I'd like to avoid jQuery-ing those, etc... Is there something easily editable in the plugin itself, where I can add classes?

  2. Lew Ayotte
    Posted 5 years ago #

    /classes/class-shortcodes.php contains all the functionality that actually "displays" the calendars. You could add some classes there.

    If you want to share your work, we can try to merge it into the next release.


  3. killtheliterate
    Posted 5 years ago #


    All I'll really be doing is classing the nested elements, so I can grab 'em with selectors. If it's worth sharing, I'll pass it on to you.

  4. CarolineElisa
    Posted 5 years ago #

    Yes please! I'd like to know exactly how to do this, as I'm afraid my php skills are not so hot.

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic