WordPress.org

Ready to get started?Download WordPress

Forums

My Calendar
[resolved] Different Styles for Different Pages (6 posts)

  1. tconner
    Member
    Posted 2 years ago #

    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/

  2. Joe Dolson
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  3. tconner
    Member
    Posted 2 years ago #

    Thanks! I will give it a try...

  4. tconner
    Member
    Posted 1 year ago #

    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!

  5. Joe Dolson
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  6. tconner
    Member
    Posted 1 year ago #

    That's ok... just curious. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic