Search Form & Cards

How to customize / remove the “Check our new app” ad on the inventory page
This article explains how to remove/customize this ad on your Inventory Page: Please visit edit your inventory page via Elementor. You can do it this way /wp-admin/ > Vehica Panel > Layouts & Templates > Click Edit next to “Vehicle Search Results Template”   Edit Inventory and choose “Row View S...
Wed, 16 Feb, 2022 at 11:21 AM
How to add Location on the Standard Cards
You can add it here     or you can use this PHP code (16721 is ID of default demo location field) <?php $locationField = \Vehica\Model\Post\Field\Field::getById(16721); if ($locationField) { /* @var \Vehica\Model\Post\Field\LocationField $locationField */ $value = $locationField->getSimpleTextVa...
Wed, 16 Feb, 2022 at 11:22 AM
How to add new location field to the search form / inventory?
Vehica has “Location” Field. It can be used if you add Google Maps API Key to Vehica Panel – How to turn on Google Maps? How to obtain Google Maps API key   1. Edit page via Elementor e.g. your homepage   2. Edit search form and change any field to location e.g.   and it will be replaced   It will w...
Fri, 9 Feb, 2024 at 10:17 AM
How to change order of options in the taxonomy field on the front-end submit vehicle form (e.g. make)?
1. Update theme to the most current version via /wp-admin/ > Vehica Updater 2. Edit any taxonomy field e.g. Make:   3. Add terms you need in the order you need   4. Save   5. New order of the fields
Wed, 16 Feb, 2022 at 11:22 AM
Featured option – how to move featured listings to the top of the inventory and display in the special sections
Featured option was designed to move some of the listings to the top of the Inventory list. You can select which listing is featured when you visit it and check this box.     You can now edit Inventory page and change “Sort by” option to “Relevant” it will force featured listings to be always on top and p...
Wed, 16 Feb, 2022 at 11:23 AM
More than 1 price on cards
This code PHP displayed other price filed on card-big on your website.   Important: Make changes on the child theme – after update the theme, you don’t lose it, and before starting always do a backup of your website.      </br> <span style="font-size: 12px ; color: orange; ">         ...
Fri, 17 Mar, 2023 at 9:29 AM
How to display User Name and User Image on the Listing Card (e.g. row)
How to display user on listing card e.g. You can use the code below to add user name and user image to listing cards php files e.g. \wp-content\themes\vehica\templates\card\car\card_v3.php   <?php $vehicaUser = $vehicaCurrentCar->getUser(); $vehicaUserName = $vehicaUser->getName(); $vehicaUserUrl = $...
Thu, 30 Mar, 2023 at 8:09 AM
How to add listing description on the row card
In order to add description on the row card you have to install Vehica Child theme first – please read more about it here: How to use Child Theme? How to change files (php / css / js) and keep theme future update compatibility? Than copy card file (e.g. row card) wp-content/themes/vehica/templates/car...
Fri, 31 Mar, 2023 at 10:43 AM
How to switch (1) search bar + main field and (2) Fields order
This article explains how to change order of this 2 sections on your desktop     Add this CSS Code below to your website. In this article you can find information how to add custom CSS to any WordPress Theme: How to use Child Theme? How to change files (php / css / js) and keep theme future update compatibilit...
Mon, 20 Mar, 2023 at 9:17 AM
How to hide text and number input fields placeholder when field is focused / active
How to hide placeholders of text and number inputs (not select)   Add this CSS code div:not(.v-select) input[type=number]:focus::placeholder, div:not(.v-select) input[type=text]:focus::placeholder { transition: opacity 0.2s ease; } div:not(.v-select) input[type=number]:focus::placeholder, div:not(.v-select) ...
Sat, 1 Apr, 2023 at 2:27 PM