Home › Forums › WC Vendors Free Support › Adding aditional vendors roles › Reply To: Adding aditional vendors roles
Hi Anna, I didn’t understand why is not working for me. I did not do any other modification to the code, so that should work.
The problem isn’t related with the vendor list shortcode, when I put this code into my functions.php ‘vendor’ don’t work properly. (Not talking about ‘newvendor’, but originally ‘vendor’ role).
It’s like old ‘vendors’ user are not anymore vendors, so it also change ‘sold by Vendor-Username’ to ‘Sold by Admin-username’. The vendors shop pages disapear.
Could someone please help me with that? i can provide credentials access.
I tried too:
$vendor_roles = array(‘vendor’);
Witch should work as it does before, but it doesn’t work eother.