Change word 'vendor' in announcements

WCMp Vendor Vacation

Change word 'vendor' in announcements Resolved

Viewing 3 reply threads
  • Author
    Posts
    • #70799
      Madalina
      Participant

      Hello,

      Could you please help me to remove the word ‘vendor’ – from ‘Vendor announcements’? (please see print screen). I would like the text to say ‘Announcements’ only. Tried doing this in Loco but it doesn’t work.

      Also, please tell me how to change the word ‘vendor’ into ‘producer’ from breadcrumbs / Vendor Profile (please see print screen). I’ve tried changing it from Admin / WCMp Vendor Dashboard Endpoints but it hasn’t changed on front end.

      Many thanks,

    • #70815

      @Madalina, our replies are inline :

      – Could you please help me to remove the word ‘vendor’ – from ‘Vendor announcements’? (please see print screen). I would like the text to say ‘Announcements’ only. Tried doing this in Loco but it doesn’t work.

      >> In order to chnage this, add this code to the function.php of the current active theme :

      function rename_vendor_announcement( $rename ) {
        if(isset($rename['vendor-announcements'])){
          $rename['vendor-announcements']['label'] = 'Announcement';   }
        return $rename;
      }
      add_filter('wcmp_endpoints_query_vars', 'rename_vendor_announcement');
      copy

      – Also, please tell me how to change the word ‘vendor’ into ‘producer’ from breadcrumbs / Vendor Profile (please see print screen). I’ve tried changing it from Admin / WCMp Vendor Dashboard Endpoints but it hasn’t changed on front end.

      >> For this, goto WP-admiin >> Settings >> Permalink >> Vendor Shop Base and set the name as ‘producer’.

      Let us know if you have any further query.

    • #70836
      Madalina
      Participant

      Hi, thanks for this!!

    • #70840

      @Madalina, you are welcome.

Viewing 3 reply threads

The topic ‘Change word 'vendor' in announcements’ is closed to new replies.

WCMp bundle is available at a slashed price

Grab It Now