|
Index | Recent Threads | Register | |
Forums » List all forums » Forum: WordPress plugin » Thread: Can I define a date range? |
Total posts in this thread: 4 |
[Change thread status]
[Delete this Thread]
[Move this Thread] [Add To My Favorites] [Watch this Thread] [Post new Thread] |
Author |
|
boborg
New Member
|
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? |
||
|
support
localendar Expert Joined: Aug 9, 2022 Posts: 6395 Status: Offline |
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 |
||
|
singersjazzworkshop
New Member
|
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!!! |
||
|
support
localendar Expert Joined: Aug 9, 2022 Posts: 6395 Status: Offline |
Soooo close 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 |
||
|
[Show Thread Printable Version] [Post new Thread] |
Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us |