profeddieb

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Relabeling Organizer label #952831
    profeddieb
    Participant

    That is exactly what I did yesterday and it cleared up. All is working well now. Sorry, I should have updated this.

    Thanks again for your help. Still can’t believe I missed the (s) on functions.php, First thing I should have checked.

    in reply to: Relabeling Organizer label #952298
    profeddieb
    Participant

    OK – first I feel like an idiot, as it was that my function(s).php was missing the the s. Hate those minor errors. I always forget to check the simplest thing first. Thank you!

    Now, the filter is working. However, I am encountering another problem. It has to do with linking. With the filter on, the URL to the item: /company/companyName/ and when you view the item, the page comes up 404. But it will come up at the OLD url listed /organizer/companyName

    add_filter('tribe_organizer_label_singular', 'change_single_organizer_label' );
    function change_single_organizer_label() {
        return 'Company';
    }
      
    add_filter('tribe_organizer_label_plural', 'change_plural_organizer_label' );
    function change_plural_organizer_label() {
        return 'Companies';
    }

    The issue becomes, any link to the organizer page, does not work.

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