Simple Calendar - Google Calendar Plugin
[resolved] Jump to a Month? (5 posts)

  1. Sub7th
    Posted 3 years ago #

    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!


  2. Ross Hanney
    Plugin Contributor

    Posted 3 years ago #


    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.

  3. Sub7th
    Posted 3 years ago #

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

  4. jabcka
    Posted 3 years ago #

    Where do I place the shortcode?

  5. Sub7th
    Posted 3 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Calendar - Google Calendar Plugin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.