• Resolved dotarsen

    (@dotarsen)


    I’ve read through several similar posts, but I’m still running into issues.

    Unfortunately, I cannot use the default permalink settings because the company wants the page names in the URL for other pages. The event URL names shouldn’t be an issue though.

    I’ve tried this code:

    function __ai1ec_custom_slug_name( $translations, $text, $domain ) {
            if (
                    AI1EC_PLUGIN_NAME !== $domain ||
                    'ai1ec-event' !== $text
            ) {
                    return $translations;
            }
            return 'event';
    }       
    
    add_filter( 'gettext', '__ai1ec_custom_slug_name', 10, 3 );

    Still no luck.

    I’ve tried several custom permalink plugins, but they seem to break with the default WP permalink setting.

    Any ideas on a workaround for this?

    https://wordpress.org/plugins/all-in-one-event-calendar/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dotarsen

    (@dotarsen)

    For example, is there any workaround in the PHP to direct the Read More link to the /event/event-name URL that’s shown while editing the event with the Post Name permalink option selected?

    Hi,

    Sorry for not replying sooner. Do you still have this issue? Have you upgraded the plugin to the latest version?

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

The topic ‘404 on Read More’ is closed to new replies.