localendar Forums Homepage

Print at Aug 27, 2025, 5:28:42 PM View all posts in this thread on one page
Posted by boborg at Jun 11, 2012, 12:12:29 PM
Can I define a date range?
I was thinking of using the localendar Wordpress plugin to show a calendar for the Olympic Games on my homepage.

Is it possible to limit the calendar to show only July and August?

Posted by support at Jun 11, 2012, 2:06:52 PM
Re: Can I define a date range?
Well maybe sorta ;-)

Technically, an interactive calendar will always have the arrows to move forwards, backwards. However you could use the non-interactive calendar style, and add a start-date parameter to only jump to specific months. I would probably use links.

For example, this would be a link just to July and Aug calendars:
http://www.localendar.com/public/sample?start_date=7/1/2012
http://www.localendar.com/public/sample?start_date=8/1/2012

In the WP plugin, you could set up the 2 links this way:

1. Enter your localendar member name
2. select the "A link to a full page view of my calendar
3. Make sure you include some Link Text for your link
4. Add the extra arg "?start_date=7/1/2012"
(do the same for a link to 8/1/2012)

You can add links for different, specific weeks or days as well.
----------------------------------------
Marc Higgins
Support Associate, localendar.com
Follow us on Twitter! http://www.twitter.com/localendar_news

Posted by singersjazzworkshop at Dec 9, 2014, 5:26:39 PM
Re: Can I define a date range?
Hi - I'm trying to do this too... Display a specific date range ONLY.

Our workshop only happens once a year, so all we need to display is June 2015.

I tried appending the suggested arg type for the static view as follows... but it doesn't seem to be working.

<SCRIPT type="text/javascript" src="https://www.localendar.com/public/singersjazzworkshop?include=Y?start_date=7/1/2015"></SCRIPT>

PLEASE HELP!!!

Posted by support at Dec 10, 2014, 8:28:27 PM
Re: Can I define a date range?
Soooo close smile

In HTML, only the first parameter starts with a "?". All the rest start with a "&".
So this should work:

<SCRIPT type="text/javascript" src="https://www.localendar.com/public/singersjazzworkshop?include=Y&start_date=7/1/2015"></SCRIPT>
----------------------------------------
Marc Higgins
Support Associate, localendar.com
Follow us on Twitter! http://www.twitter.com/localendar_news


Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us