Skip to content

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.

Right-hand side of the Vehica header showing the Dashboard link and the outlined “+ Submit Vehicle” button, with a green arrow pointing at the button

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.

functions.php
add_filter('vehica/menu/submitButtonUrl', function() {
return 'https://google.com';
});
Use a child theme
Editing the theme files directly means losing your changes on the next update. How to use a child theme and keep update compatibility

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.

Was this guide helpful?