• Resolved jkomar

    (@jkomar)


    Currently if navigating to a single event post page for an event that has ended, you will get a 404 error. It would be nice instead if we could display alternate event content on the single event page that could be customized to indicate that the event has now ended and maybe show links to more information such as online replays, etc.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support geniusphil

    (@geniusphil)

    Hello jkomar,

    Thanks for mentioning this!

    It shouldn’t be the case that past events show a 404 error. I wonder if there is some other issue occurring.

    Can you send me a link that isn’t working (goes to a 404 page) as well as a link to a page with the calendar or list of events on it? What is the title of the event that is missing? I’ll take a look if so.

    Thread Starter jkomar

    (@jkomar)

    Hi Phil,

    Thank you for getting back to me so quickly. Once you mentioned that the behavior was unexpected, I did a little further examination as I installed two new plugins today. I purchased and installed SureMembers so that I could restrict content for our event replays in order to have people sign up to watch them. This plugin alone does not cause an issue. When I activated it however, they recommended that I also install a companion plugin called SureDash which can be found in the WordPress.org plugin repository. As soon as SureDash is activated, my single event page returned a 404. I have deactivated SureDash for the moment as displaying my event(s) is much more important to me right now.

    Thank you,

    Jason

    Plugin Support geniusphil

    (@geniusphil)

    Hello again Jason,

    I have found a solution! It looks like one of the custom post types that SureDash reserves is the /event/ slug which is also what Event Genius uses by default. We have a setting on the Events tab to change it, however it sounds like your events have been running and possibly advertised for awhile so it may not make sense to break existing links.

    Instead, you can use a simple PHP snippet to change the slug for SureDash. You can apply it using a custom snippet plugin like WPCode. Here is the snippet:

    add_filter(
    'suredash_community_content_post_event_slug',
    static function ( $slug ) {
    return 'community-event';
    }
    );

    This will force SureDash to use community-event as the slug. I tested this myself and it seems to solve the problem.

    Thread Starter jkomar

    (@jkomar)

    Thank you very much for the solution Phil.

    Jason

    Plugin Support geniusphil

    (@geniusphil)

    No problem!

    I’ll mention that reviews help spread the word about the plugin and the support we offer. You can leave one here if you’d like:
    https://wordpress.org/support/plugin/event-genius/reviews/

    Please continue to ask questions either way. I am always happy to help 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.