Title: Enhanced-Calendar
Author: Mike Walsh
Published: <strong>11 december 2010</strong>
Last modified: 12 december 2010

---

Sök tillägg

Det här tillägget **har inte testats med någon av de 3 senaste huvudversionerna 
av WordPress**. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem
när det används tillsammans med nyare versioner av WordPress.

![](https://s.w.org/plugins/geopattern-icon/enhanced-calendar.svg)

# Enhanced-Calendar

 Av [Mike Walsh](https://profiles.wordpress.org/mpwalsh8/)

[Ladda ner](https://downloads.wordpress.org/plugin/enhanced-calendar.0.0.7.zip)

 * [Detaljer](https://sv.wordpress.org/plugins/enhanced-calendar/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/enhanced-calendar/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/enhanced-calendar/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/enhanced-calendar/#developers)

 [Support](https://wordpress.org/support/plugin/enhanced-calendar/)

## Beskrivning

 Enhanced-Calendar ([previously known as Calendar-Plus](http://michaelwalsh.org/blog/2010/12/08/need-to-rename-calendar-plus/))
enhances [
 Kieran O’Shea’s Calendar plugin
 by removing several limitations and
adding the ability to instantiate
 the calendar in a sidebar widget.

 Enhanced-Calendar requires the original
 [Calendar plugin](https://wordpress.org/extend/plugins/calendar/)
to be installed and activated. Enhanced-Calendar introduces a proper shortcode which
can also be used to display the calendar in a sidebar by using the [Sidebar Shortcode plugin](https://wordpress.org/extend/plugins/sidebar-shortcodes/).

### Usage

Usage of Enhanced-Calendar is primarily driven by shortcodes. Enhanced-Calendar 
does not change the way
 in which Calendar adds and manages calendar events. The[
calendar] shortcode has several arguments. You could create a post that contains
the following content to see how the various options affect the Calendar output:

    ```
    [calendar]

    [calendar weekday=1]

    [calendar weekday=3 descriptions='off']

    [calendar dateswitcher='off']

    [calendar weekday=3 dateswitcher='off' descriptions='off']
    ```

### Styling

Enhanced-Calendar moves the CSS styling from a plugin setting which is stored in
the database to a separate CSS
 file which makes it easy to style Calendar with 
your own WordPress theme. The default CSS file shipped with Enhanced-Calendar is
the same as the default settings from the Calendar plugin.

You can see Enhanced-Calendar in action on the [CASL Shocks web site](http://www.caslshocks.org).

## Installation

 To install Enhanced-Calendar, download it, unzip it, upload it to your
 WordPress
installation and activate like a standard plugin.

 1. Upload `enhanced-calendar` to the `/wp-content/plugins/` directory
 2. Activate Enhanced-Calendar through the ’Plugins’ menu in WordPress

## Vanliga frågor

  Does this plugin replace the Calendar plugin?

No it does not. It ”enhances” the Calendar plugin hence the name. The Enhanced-Calendar
plugin requires the
 original Calendar plugin to be installed and be active. Management
of calendar events continues to be done using the Calendar plugin. Enhanced-Calendar
provides a way to present the calendar differently and more control over styling
it as part of a theme.

  How did you achieve the styling on the CASL Shocks web site?

By default Enhanced-Calendar uses the same CSS as calendar but it is loaded via 
a style sheet included with the
 plugin instead of from the database plugin option
setting which is the standard plugin operation.

By using style sheets, the CSS can be styled as part of the theme which is exactly
what I have done for styling
 the Calendar on the [CASL Shocks](http://www.caslshocksorg)
web site. The calendar is styled by adding the following CSS to my theme CSS file:

    ```
    /*
    * Calendar styling
    *
    */
    .calendar-heading {
    background-color: #EFEFEF !important;
    }

    .current-day {
    background-color: #EFEFEF !important;
    }

    .normal-day-heading, .weekend-heading, .calendar-date-switcher {
    background-color: #EFEFEF !important;
    }

    .current-day, .day-with-date, .day-without-date {
    /*
    width: 30px !important;
    height: 50px !important;
    */
    overflow: hidden;
    }

    .events {
    background: url(../images/soccer/SoccerBallSidebar.png) no-repeat -10px 115%;
    }

    .event-dagger {
    display: inline !important;
    font-weight: bold;
    font-size: 1.2em;
    }

    .kjo-link {
    display: none !important;
    }

    .widget_calendar_upcoming, .widget_calendar_today {
    border-top: 0px;
    padding-top: 10px;
    }

    .widget_calendar_upcoming ul li, .widget_calendar_today ul li {
    border-width: 0px;
    padding-bottom: 5px;
    padding-left: 5px;
    }



    .widget_calendar_upcoming ul li a, .widget_calendar_today ul li a {
    padding: 0.3em 0em;
    }
    ```

## Recensioner

Detta tillägg har inga recensioner.

## Bidragsgivare och utvecklare

”Enhanced-Calendar” är programvara med öppen källkod. Följande personer har bidragit
till detta tillägg.

Bidragande personer

 *   [ Mike Walsh ](https://profiles.wordpress.org/mpwalsh8/)

[Översätt ”Enhanced-Calendar” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/enhanced-calendar)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/enhanced-calendar/),
kika på [SVN-filförvaret](https://plugins.svn.wordpress.org/enhanced-calendar/) 
eller prenumerera på [utvecklarloggen](https://plugins.trac.wordpress.org/log/enhanced-calendar/)
via [RSS](https://plugins.trac.wordpress.org/log/enhanced-calendar/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 0.0.1

 * First release as ”Calendar-Plus”.

#### 0.0.2

 * Minor jQuery fixes to addresses widget display issues.

#### 0.0.3

 * Renamed Enhanced-Calendar
 * Added to WordPress plugin repository

#### 0.0.4

 * ReadMe.txt content and cleanup.

#### 0.0.5

 * More ReadMe.txt content and cleanup.

#### 0.0.6

 * Yet more ReadMe.txt content and cleanup.

#### 0.0.7

 * Fixed CSS issues introduced by renaming plugin.

## Meta

 *  Version **0.0.7**
 *  Senast uppdaterat **15 år sedan**
 *  Aktiva installationer **10+**
 *  WordPress-version ** 2.9 eller senare **
 *  Testat upp till **3.0.5**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/enhanced-calendar/)
 * Etikett
 * [calendar](https://sv.wordpress.org/plugins/tags/calendar/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/enhanced-calendar/advanced/)

## Betyg

Än så länge har inga recensioner skickats in.

[Your review](https://wordpress.org/support/plugin/enhanced-calendar/reviews/#new-post)

[Se alla recensioner](https://wordpress.org/support/plugin/enhanced-calendar/reviews/)

## Bidragande personer

 *   [ Mike Walsh ](https://profiles.wordpress.org/mpwalsh8/)

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/enhanced-calendar/)

## Donera

Skulle du vilja bidra till utvecklingen av detta tillägg?

 [ Donera till det här tillägget ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ESP5FSYD3GXRJ)