The Events Calendar
Calendar Widget (2 posts)

  1. suzhi1
    Posted 5 years ago #

    I've seen that there is already some dummy code for a calendar widget. I am highly interested in such an extension. Is this Widget still under development?

  2. idealien
    Posted 5 years ago #

    I don't know if there is / isn't, but I was able to generate one by re-purposing what is in the table.php file into a sidebar element. I included the display_day_title() and display_day() functions into it as well so to customize them (don't include tooltip, replace link title with icon representation) but you could probably find ways to do so without it.

    Here is the CSS mods I applied that make it fit into the sidebar on a child theme for 2010:

    .widget-area .tec-calendar td { height: 50px; }
    .widget-area .tec-calendar th { background: #006600; }
    .widget-area table.tec-calendar { margin: 0; }
    .widget-area table.tec-calendar td { width: 15px; }
    .widget-area table.tec-calendar td .tec-event { padding: 6px 8px; }
    .widget-area table.tec-calendar .tec-tooltip { left: -14px; z-index: 50; }

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • The Events Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic