|
Index | Recent Threads | Register | |
Forums » List all forums » Forum: WordPress plugin » Thread: Show next month |
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 |
|
n1lykme
New Member
|
The script for the dynamic calendar is messing with the menu on my responsive wordpress site and making it not work when I go mobile. Works fine in regular view. So as a solution I was thinking of creating distinct static pages on my webpage I'll just create links to. Was wondering if there is a way to write the query to be Month+1, Month+2.... with "Month" representing the current month calendar so I don't have to manually change links every month? Thanks. ---------------------------------------- [Edit 1 times, last edit by n1lykme at Jan 10, 2013, 1:16:56 PM] |
||
|
support
localendar Expert Joined: Aug 9, 2022 Posts: 6395 Status: Offline |
We do dynamic month substitution in the title: http://www.localendar.com/docs/display/lc/Dynamic+replacement+of+month+name+or+number However, if I understand you correctly, you want links that automatically go to the current month, next month, etc. The easy part is: The calendar always defaults to the current month. So http://www.localendar.com/public/n1lykme will always be "this month" I think you can get what you want using our "start_date" parameter(http://www.localendar.com/docs/display/lc/Your+Calendar%27s+URL+and+Parameters), a little JavaScript and Date arithmetic. Hopefully this is close enough to get you started: <a href='http://www.localendar.com/public/n1lykme'>This Month</a><br/> whoa.. too much free time today ---------------------------------------- Marc Higgins Support Associate, localendar.com Follow us on Twitter! http://www.twitter.com/localendar_news |
||
|
support
localendar Expert Joined: Aug 9, 2022 Posts: 6395 Status: Offline |
I don't like the look of "Month+1, Month+2, etc" I mean, if you really want to be "responsive", we should show the proper month names for the period. So here's the "extra-credit" version that handles that: <a href='http://www.localendar.com/public/n1lykme'>This Month</a><br/> This seemed FAQ-worthy: http://www.localendar.com/docs/display/lc/Dynamic+links+to+multiple+calendar+months ---------------------------------------- Marc Higgins Support Associate, localendar.com Follow us on Twitter! http://www.twitter.com/localendar_news ---------------------------------------- [Edit 1 times, last edit by support at Jan 13, 2013, 5:43:51 PM] |
||
|
n1lykme
New Member
|
Awesome! Great solution and customer support! Better than what I imagined. Thank you so much! |
||
|
[Show Thread Printable Version] [Post new Thread] |
Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us |