This is definitely possible. We’ve added a hook into the plugin to make it happen. To adjust this you’ll want to add this code into the functions.php file of your active theme:
function wi_change_volunteer_opp_url_slug( $slug ){
return 'REPLACE-WITH-YOUR-URL-SLUG'; // Originally set to 'volunteer-opportunity'
}
add_filter( 'wivm_opp_rewrite', 'wi_change_volunteer_opp_url_slug' );
After you add that code make sure you refresh your URLs by going to Settings >> Permalinks and clicking the blue “Save Changes” button (you don’t need to change anything) within the admin.
Let us know how that goes for you and good luck.
Thanks Jonathan.
I wanted to keep all changes in the child theme to allow the parent to update without impacting any of the customisations.
I’ve created a functions.php file containing just the following and placed it in the child theme folder:
<?php
function wi_change_volunteer_opp_url_slug( $slug ){
return 'assistance-programme'; // Originally set to 'volunteer-opportunity'
}
add_filter( 'wivm_opp_rewrite', 'wi_change_volunteer_opp_url_slug' );
?>
It works a treat – thanks for your help!
That’s great to hear and thanks a ton for letting us know.
If you have some extra time we’d love for you to leave an honest review at https://wordpress.org/support/plugin/wired-impact-volunteer-management/reviews/. Every review helps us get the word out about the plugin.
Take care and as always, let us know if you have any other questions.