Ammended calendar grid into theme

Home Forums Calendar Products Events Calendar PRO Ammended calendar grid into theme

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1096402
    graham barnes
    Participant

    Hi I want to put my amended code here: https://theeventscalendar.com/support/forums/topic/widget-not-linking-to-event/#post-1093103 into my theme so when I update the normal and pro version of the calendar I don’t need to re-apply my changes however when I tried to copy the function and put it into my theme functions it said function already existed.

    How else can I do this, I also see the function has now moved to: events-calendar-pro > src > functcions > template-tags > widgets.php

    Graham

    #1097141
    Geoff B.
    Member

    Good afternoon Graham and welcome back!

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

    Just to set expectations, as you might know, the scope of our support is mostly to get our wonderful customers started on the right track to customize their site and to help them in case of issues. We unfortunately do not provide complete support for customization.

    That being said, my recommendation would be to use a hook filter on the function instead of declaring the full function in your functions.php file: https://developer.wordpress.org/reference/functions/add_filter/

    Also, it would be worth checking if the problem is actually still in place after the update (as we correct bugs all the time).

    Let me know how that goes.

    Best regards,
    Geoff B.

     

    #1103458
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Ammended calendar grid into theme’ is closed to new replies.