WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: My Calendar] Different Styles for Different Pages

[Resolved] [Plugin: My Calendar] Different Styles for Different Pages

  • Does anyone know if it is possible to use different styles for different calendars? I have a calendar on my homepage which uses a modified version of the light.css theme. I am adding a new section to the site which will have another calendar which only shows certain categories of event; I’d like this calendar to use a different theme. Anyone know if this can be done? Thanks!

    http://wordpress.org/extend/plugins/my-calendar/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Joe Dolson

    @joedolson

    Yes, it can be done. It’s not particularly trivial, but doable.

    There’s a largely undocumented shortcode parameter called ‘id’. The default value is ‘jd-calendar’, and this provides the unique ID for the calendar. If you provide an alternate value for the ID, you can use that as a tag to provide different styles for that calendar than you’re using for your main calendar.

    There’s nothing so simple as just picking a different stylesheet for a particular calendar, however.

    Thanks! I will give it a try…

    Thanks, Joe! That worked nicely…
    I realize that this might be a little more complicated, but I thought it was worth asking:
    Is it possible to use different Target URLs for the event details’ links? For example, could all the events in a specific category have their event details open in a specific link? I’d like an event’s details to be shown on a page with a template that matches the event’s category. If you understand my question and if this is even possible, please let me know. Thanks!

    Plugin Author Joe Dolson

    @joedolson

    Hmmmm…maybe. It would be complicated, if so, requiring a fair amount of work with custom templating. It’s definitely not something that can be done with settings.

    It would be complicated, if it’s possible – and I’m not sure that it is, at the moment.

    That’s ok… just curious. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] [Plugin: My Calendar] Different Styles for Different Pages’ is closed to new replies.