Exporting 2018 Calendar

Home Forums Calendar Products Events Calendar PRO Exporting 2018 Calendar

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1399904
    Yvonne
    Participant

    We cannot seem to export 2018, all we get is December 2017 – help?

    #1400903
    Geoff B.
    Member

    Good evening Yvonne and welcome to the Events Calendar Support forum!

    Thank you for reaching out to us.
    I would love to help you with this topic

    You could tweak and apply the following snippet in the functions.php file of your theme (without the PHP tag at the top): https://gist.github.com/andrasguseo/b8e2739b11fdbd2d5ebacce23d862046#file-ical-export-events-custom-php

    But first to be extra safe, before making any changes to your functions.php file, you should make a backup of that file.

    Let me know if that helps.

    Have a great day!

    Geoff B.

    #1401680
    Yvonne
    Participant

    Terrific, except I don’t know how to tweak it 🙂

    Carrie (for Yvonne)

    • This reply was modified 6 years, 5 months ago by Yvonne.
    #1401730
    Yvonne
    Participant

    I added ‘2018-‘ to the ’01-01’ and ’12-31’s. It didn’t work 🙁

    #1401756
    Geoff B.
    Member

    Good evening Carrie,

    This is actually my bad.
    Let me try to make this better.

    You do not need to tweak the snippet (leave it as it is).

    However, to get the export you want (after the snippet is in place), you will need to tweak the URL to match the export range you are after. You can read about that in the top part of the plugins code (the commented part).

    Here is an example of the URL that will produce all events for 2018 https://www.intuitivemind.org/events/?ical=1&tribe_display=custom&start_date=2018-01-01&end_date=2018-12-31

    Simply put, you can have a start date and/or an end date on the export based on the URL you are using.

    Once you find the proper URL for your needs, you could simply replace the one found in your Export button via a template override. You might want to read our Themer’s guide to get a sense of how that works.

    Have a good weekend,

    Geoff B.

    #1402969
    Yvonne
    Participant

    Thanks for the link for more info, Geoff! The url in the browser worked perfectly.

    Cheers,
    Carrie

    #1403082
    Geoff B.
    Member

    Good afternoon Carrie,

    I am super stoked to hear that.

    You are welcome back in our support forums any time 🙂

    For now, I am going to close this thread.

    Have a great week!

    Geoff B.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Exporting 2018 Calendar’ is closed to new replies.