For Developers

How to check Taxonomy Term ID (e.g. BMW, New York, Used, Coupe) – tag_ID
This article shows how to find Taxonomy Term ID. It can be used to create custom order of fields on dropdowns. Lets find “Coupe” and “SUV” IDs   1. Click Listings > Body Type   2. Edit Coupe   3. You will see id in the link of a page (tag_ID=VALUE). Here is is 2320 4. For SUV it is 2325
Wed, 16 Feb, 2022 at 11:35 AM
How to add CSS code to admin dashboard via Child Theme
How to add CSS code to admin dashboard via Child Theme e.g. modify this H1   Please add this function below to your Vehica Child Theme functions.php file. You can insert there also your own custom CSS code (example code will change h1 (main heading) font size to 100px):   function admin_style() {echo ' ...
Fri, 17 Mar, 2023 at 9:28 AM
Why you can’t change name files for XML sitemap?
Lately, we have some questions about change names in sitemap XML files in WordPress.   For users Yoast SEO and other plugins: It’s not possible because the plugin creates automatically sitemap files on the existing post type. Example:   In Vehica post type its called vehica_car and XML file is named vehica_...
Wed, 16 Feb, 2022 at 11:36 AM
How to use fonts other than Google Fonts?
Vehica comes with 800+ Google Fonts. You can simply choose it in your Vehica Panel > Typography. If you need to use custom fonts you will need to create custom solution. This solution has 2 steps: 1. Upload your font file on the server 2. Load new file via CSS   We will show it on example of Malgun Gothic do...
Mon, 20 Mar, 2023 at 9:22 AM
How to change order of the option on the Search Form Checkbox Popup
This article explains how to change order or remove some of the options in the Checkbox Popup:   You will need to add this code into your Child Theme functions.php ( Click Here to read more where to get it and how to use it ) add_filter('vehica/search/field/TAXONOMYID/terms', function() { return ...
Wed, 29 Mar, 2023 at 8:25 AM
How to change “Add listing” link to any other link?
How to change “Submit Vehicle” link to any other?   add this code below to your Child Theme functions.php file and change link to any other link e.g. your contact us page   add_filter('vehica/menu/submitButtonUrl', function() { return ''; });
Wed, 16 Feb, 2022 at 11:37 AM
How to reset all border radius to 0
Please add this CSS code you see below to your website. Here you can find an article on how to add CSS code and make it future update compatible: How to add CSS code that is future update compatible *, * *, * * *, * * * *, * * * * *, * * * * *, * * * * * *, * * * * * * *, * * * * * * *:before, * * * * * * *:aft...
Thu, 30 Mar, 2023 at 8:23 AM
Hide phone number for not logged users
This CSS code hide phone number for not logged users Add this custom CSS: body:not(.logged-in) .vehica-phone-show-number { display: none; } How to add custom CSS: How to add CSS code that is future update compatible For logged users: For not logged user:
Mon, 17 Apr, 2023 at 4:16 PM
Customization - How to display Text field e.g. Vin Number via PHP
1. Check field ID e.g. a) Visit Vehica Panel > Custom Fields b) Edit the "Text Field" c) Check ID in the URL e.g. here it is 6671 2. Find Card files 3. Add code below with ID of the field you already got (here 6671) <?php $value = get_post_meta($vehicaCurrentCar->getId(), 'v...
Wed, 4 Jan, 2023 at 4:47 PM
How to add CSS code that is future update compatible
1. Please visit your /wp-admin/ 2. Please click Appearance >> Customize 3. Choose Additional CSS 4. Insert CSS code there
Thu, 16 Mar, 2023 at 4:09 PM