Old solution for moving export buttons broke after upgrade

Home Forums Calendar Products Events Calendar PRO Old solution for moving export buttons broke after upgrade

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1273645
    Anthony
    Participant

    The official tribe solution for How to move the “Add to Google Calendar” and “Add to iCal” buttons is broke on the latest events calendar (tested w/Genesis theme)

    The code – from the above solution – is successfully moving the button, however it is throwing the following error and displaying it in html output for single event page.

    Deprecated: Non-static method Tribe__Events__iCal::single_event_links() should not be called statically in /Users/AC/Documents/websites/<my-web-site>/wp-includes/class-wp-hook.php on line 298

    For what it’s worth, I’m not the only one getting the error. Just search web and you’ll see it on a whole bunch of Events Calendar web sites that as of relatively recently are displaying this error to the world.

    #1274490
    Cliff
    Member

    Hi, Anthony. Sorry you’re experiencing this.

    Could you please provide your full code snippet so I can help with your specific need?

    Please share it via https://gist.github.com/

    #1275573
    Anthony
    Participant
    #1275726
    Cliff
    Member

    Thanks for sharing.

    Please try this instead:

    https://gist.github.com/elimn/d1a9d6edbff993978f57b7f8e9a7b56b

    Please let me know how this goes for you.

    #1275995
    Anthony
    Participant

    Wonderful that got the bug, thanks! My original intent was to move the export buttons to the bottom of the meta area on the single event page so i modified the code you provided to do that. https://gist.github.com/Numinous/bcc30f9d85a264d4cb734c42fe443ce1

    • This reply was modified 8 years, 11 months ago by Anthony.
    #1276031
    Cliff
    Member

    I’m glad you got a satisfactory solution. Thanks for sharing with others, too.

    #1286733
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Old solution for moving export buttons broke after upgrade’ is closed to new replies.