WordPress.org

Ready to get started?Download WordPress

Forums

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

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

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

    Lew

  3. killtheliterate
    Member
    Posted 3 years ago #

    Perfect!

    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
    Member
    Posted 2 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

About this Topic