| 
  
| Index | Recent Threads | Register | | 
![]()  | 
    Forums » List all forums » Forum: WordPress plugin » Thread: Can Localendar be set to display a specific date range only? | 
| 
       Total posts in this thread: 2  | 
    
  
    [Change thread status]
    [Delete this Thread]
    [Move this Thread] [Add To My Favorites] [Watch this Thread] [Post new Thread]  | 
  
| Author | 
      
  | 
  
| 
      
        
        FacDevTeam
         New Member 
        
          | 
    
      
 I am trying to use this calendar to only display events on two dates. I have followed the instructions found in a previous forum post, but it does not seem to be working. I want my calendar to display events on Feb. 1 and 2nd only in the Daily view. I am using this HTML code: <SCRIPT type="text/javascript" src="//localendar.com/public/FacDevTeam?style=D0&include=Y&start date= 2/1/2017"></SCRIPT> When I use this code, the calendar still only displays the current date (1/19/2017). What am I doing wrong? Thank you! Michelle ---------------------------------------- [Edit 1 times, last edit by FacDevTeam at Jan 19, 2017, 7:19:29 PM]  | 
  ||
      
  | 
  
| 
      
        
        support
         localendar Expert Joined: Aug 9, 2022 Posts: 6438 Status: Offline  | 
    
      
 It sounds as if you are requesting a 2-Day style calendar view? The code you are using will display a 1 Day-View for Feb 1 only. Although we don't specifically have a "2-Day Event View", there is a kind of sneaky way you can make one by customizing our "Today+Happening Soon" view. Try this: Go into Options->General and click the "Show More>>" link near the bottom of the General tab. Set the "Happening Soon looks ahead" value to 2 days. You should also change the Today and Happening Soon labels to either Feb 1 and Feb 2, or something generic like Day 1 and Day 2. Now, use this script instead on your site: <SCRIPT type="text/javascript" src="//localendar.com/public/FacDevTeam?style=D2&include=Y&start date= 2/1/2017"></SCRIPT> D2 is the code for the Today+Happening Soon view (you were previously using D0, the code for the Day view) That's the best solution I can come up with - let me know how you make out. ---------------------------------------- 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  |