Month by month calendar display even when no events added

Home Forums Welcome! Pre-Sales Questions Month by month calendar display even when no events added

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1286085
    Diane Corrigan
    Guest

    Hi

    At present, I am using The Events Calendar on one of the sites that I have put together.

    My customer has asked for future calendar dates to be displayed even if no events have been added, i.e they require pagination to continue for at least 12 months so that people looking to book can see if a date is available. Is it possible to have a month by month calendar displayed even when there are not any events added? Does the Pro version allow for this, or is there something that I can add to the code to enable this feature?

    Many thanks for any advice that you can give.

    Diane

    #1286575
    Caroline
    Member

    Hi Diane,

    Thanks for reaching out! By default, pagination links to navigate to the next and previous months are not displayed if there are no events listed for those months. However, you can easily change this behavior with a small code snippet added to your functions.php file. You can read more about how to do this on our Knowledgebase here:

    https://theeventscalendar.com/knowledgebase/add-nextprevious-links/

    Would this work to resolve your client’s issue here? 🙂 Let us know if you should have any other questions or if there’s anything else that we can do to assist!

    #1286971
    Diane Corrigan
    Guest

    Hi Caroline

    Thank you very much. This has worked perfectly and made my customer very happy. 🙂

    #1287401
    Caroline
    Member

    Hi Diane,

    Thanks for following up–I’m so glad to hear that this was just what your client was looking for! 🙂 Since you’ve gone ahead and marked this topic as resolved, I’m going to go ahead and close the thread out. Thanks again for stopping by, and please don’t hesitate to follow up with a new thread if there’s anything else that we can do to assist!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Month by month calendar display even when no events added’ is closed to new replies.