WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Jump to a Month?

[Resolved] Jump to a Month?

  • Is there some way to get the Calendar to start at a Month in the future?
    For instance right now it’s January but I’d like the Calendar to start in January.
    I’m using the feed retrieval for the month and days I want but the calendar still opens to January.
    This is a page calendar using the shortcode to embed.

    Any help is much appreciated!

    http://wordpress.org/extend/plugins/google-calendar-events/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Ross Hanney
    Member

    @rosshanney

    Hello,

    This isn’t currently possible, I’m afraid. The plugin always defaults to the current month. It’s on my to-do list to improve this functionality.

    However, if you’re only using the shortcode, and are ok with “hard-coding” the month the calendar should default to, you could try this extra little plugin I made. It adds month and year parameters to the shortcode that allow you to choose the default month.

    You’ll need to copy / paste the code into Notepad (or similar), save the file as gce-shortcode-month-year.php, upload it to your wp-content/plugins folder, then activate it in your WordPress admin.

    You’d use the new parameters as follows:

    [google-calendar-events type="ajax" month="4" year="2013"]

    It’s not a great solution, but it might do the trick until I implement this properly.

    Works perfectly!
    Thank you very much!
    Sent something your way for the help and the great plug-in.

    jabcka
    Participant

    @jabcka

    Hi
    Where do I place the shortcode?
    Thanks
    Rani

    Hey jabcka,
    If i understand correctly this only works on pages/posts so you would just place the shortcode in the editing box.

    I have actually placed it inside a tab navigation that is a shortcode coded into my theme and it works perfectly there. You can check it out at this link

    Just scroll down and click the tab labeled “events”

    I’m also using the regular calendar feed shortcode on this page

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Jump to a Month?’ is closed to new replies.