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

    (@rbrown56)

    From Timely support…
    If you login and create a ticket… they will help you.

    Here is how to fix it…
    https://gist.github.com/lukaspawlik/64872268a38ef5ef93c2

    I also installed “Code Snippets” plugin so I wouldn’t need to “fix it” when the template got updated.

    I had to just change the return line to ‘product’

    /* 
            Please paste it to your WordPress theme functions.php
            
            DON'T FORGET TO SAVE PERMALINKS SETTINGS.
    */
    
    function __ai1ec_custom_slug_name( $translations, $text, $domain ) {
            if ( 
                    AI1EC_PLUGIN_NAME !== $domain ||
                    'event' !== $text 
            ) {     
                    return $translations;
            }       
            return 'ai1ec-event';
    }       
    
    add_filter( 'gettext', '__ai1ec_custom_slug_name', 10, 3 );
    • This reply was modified 7 years, 9 months ago by rbrown56.
    Thread Starter rbrown56

    (@rbrown56)

    found out if you do that it loops so I had to change it from “product” to “events” so it looked a little better than… /ai1ec-event/

    • This reply was modified 7 years, 9 months ago by rbrown56.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘When using external Ticketing… “Read More” link is broken.’ is closed to new replies.