baye
April 16, 2024, 10:57pm
1
Hi Guys,
I have changed the word Vendor(s) to Provider(s) on my site using Loco Translate and now I would like to change the /register-vendor URL to /register-provider to reflect that and be more consistent with the naming. How can I do that?
Thank you.
baye
April 17, 2024, 12:59pm
3
Hi Guys, please help. It’s urgent.
Thank you.
andrii
April 17, 2024, 1:05pm
4
Hi,
Unfortunately, there is no such feature, this can only be changed using PHP snippets, please check some samples here: https://gist.github.com/search?q=user%3Ahivepress+url&ref=searchresults
Also, please note that we respond within 24 hours, excluding weekends: Support Policy | HivePress
baye
April 17, 2024, 2:21pm
6
Is it this correct? I tried but it did not work:
add_filter(
'hivepress/v1/post_types',
function( $args ) {
$args['register-vendor']['rewrite']['slug'] = 'register-provider';
return $args;
},
100
);
andrii
April 18, 2024, 12:06pm
9
Hi,
We recommend using this PHP sample: Change URL of "List a Service" button (header) , and there you already need to change the vendor_register_page
route URL. After adding this PHP snippet, you need to update your permalinks: How to refresh WordPress permalinks - HivePress Help Center
I hope this is helpful to you.
system
Closed
May 18, 2024, 12:06pm
10
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.