Events List – Change Organizer to Organiser

Home Forums Calendar Products Community Events Events List – Change Organizer to Organiser

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1036458
    Nick
    Participant

    I have managed to change ‘organizer’ to ‘organiser’ on the events details page by changing the functions.php file but this hasn’t changed it on the Events List widget and I can’t figure how to this. Any help gratefully received.

    • This topic was modified 10 years, 4 months ago by Nick.
    • This topic was modified 10 years, 4 months ago by Geoff.
    #1037164
    Geoff
    Member

    Hey Nick,

    One way to do this would be to update the language files on your site.

    This snippet will change it across your entire site:

    add_filter('gettext', 'change_tickets_text', 10, 3);
    
    function change_tickets_text( $translations, $text, $domain ) {
    
    // Match the text you want you want to translate, preferably also match the text domain
    // The custom text you want instead
    $text = str_ireplace( "Organizer", "Organiser", $text );
    
    return $text;
    }

    Yet another option would be to use the Say What plugin.

    Let me know if these options will work for you. 🙂

    Cheers!
    Geoff

    #1075996
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Events List – Change Organizer to Organiser’ is closed to new replies.