How to change “Add listing” link to any other link?
Point the “Submit Vehicle” button in the header at any address you like — a contact page, an external form, anything — with a single filter in your child theme.
1 minute read
The Submit Vehicle button in the header points at the front-end submit form. You can send it somewhere else instead.
Add the code below to the functions.php file of your child theme and replace https://google.com with the link you want — your contact page, for example.
add_filter('vehica/menu/submitButtonUrl', function() {
return 'https://google.com';
});
Ask the people who build Vehica
We answer by email from support@tangiblewp.com. With Premium Support, we also fix your site when something breaks.
We can also run your site for you, or build a new one.
Was this guide helpful?