Clicking "All Events" does not bring back to page with [tribe_events] shortcode.

Home Forums Calendar Products Events Calendar PRO Clicking "All Events" does not bring back to page with [tribe_events] shortcode.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1188044
    thegrovecc
    Participant

    Hello,

    I want to embed the whole calendar using the new [tribe_events] on slug: /events/.

    The events calendar wants a slug too in settings. So I call it /calendar/ so they don’t interact.

    But now when you view a single event at /event/event-name/ the top of the page says: “« All Events” and link backs to the “/calendar/” slug and not the page “/events/” with the embedded [tribe_events] shortcode where I want it.

    This makes it so they don’t return to the page where I want the calendar to be but rather your plugins main calendar location as defined in settings.

    This problem extends to categories, etc. They will all go back to “/calendar” instead of the page I made with the shortcode.

    This kind of defeats the reasoning of placing the calendar on any page I want.

    Any thoughts?
    Thanks.

    #1188333
    Hunter
    Moderator

    Hey Adam,

    Welcome and thank you for posting. I agree with the logic you’ve shared with me, so what I’ve done is completed a bug/feature report outlining the details for the developers to review while preparing for their next releases. I can’t guarantee this is in fact a “bug” or something they think warrants changing, but having it in the pipeline is the first step.

    I’d also recommend heading over to our UserVoice Feature Ideas and submitting it as a feature request. The more eyes that see your idea, the better.

    I unfortunately don’t have a workaround for you at this time, but please keep an eye on your WordPress admin dashboard and our Release Notes for more info. Thanks for understanding and have a great rest of your weekend. Cheers!

    #1189456
    Cliff
    Member

    Hi Adam.

    Please check out this code snippet and see if it works well for you:

    https://gist.github.com/cliffordp/acfde15af9cea91af4fbec168182fd1d

    Best practice for adding custom code (like to implement a PHP snippet to modify The Events Calendar) is to create a functionality plugin, unless it’s something specific to your theme, in which case best practice is to make sure you’re using a child theme, then add the customization to your child theme’s functions.php file.

    I hope this helps! Please let Hunter know how things turn out for you.

    #1199796
    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 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Clicking "All Events" does not bring back to page with [tribe_events] shortcode.’ is closed to new replies.