Your theme includes a built-in Cars custom post type — perfect for showcasing your vehicle fleet with detailed pricing, features, and booking options.
Note: The Cars post type is not available in all AwaikenThemes themes. If you don’t see Cars in your WordPress dashboard sidebar, your theme does not include this feature.
Accessing Cars #
Go to WordPress Dashboard → Cars. From here you can:
- View all existing cars imported with the demo
- Add new cars
- Edit or delete existing ones
- Manage car types (categories)
Car Options #
Before adding cars, set up your global car settings from the Customizer. Go to Appearance → Customize → Car Options:
Settings #
These are global settings that apply across all cars on your site:
| Option | Description |
|---|---|
| Currency | Set the currency symbol displayed with prices. Default is $ |
| Per Day Label | Customize the “Per Day” pricing label text |
| Per Hour Label | Customize the “Per Hour” pricing label text |
Car Features #
Here you can build a global list of car features (e.g. Air Conditioning, GPS, Bluetooth, Automatic Transmission). Once added here, these features become available to select when adding or editing individual cars — so you don’t have to type them in repeatedly.
Step 1 — Go to Appearance → Customize → Car Options → Car Features.
Step 2 — Add each feature you want to make available globally.
Step 3 — Click Publish to save.
Car List Page Options #
Controls the appearance of your car listing page:
| Option | Description |
|---|---|
| Car List Page Title | The title shown at the top of your cars listing page |
| Header Background Image | Background image for the car list page header |
| Car List Page Layout | Choose between Full Width or With Sidebar |
Car Detail Page Options #
Controls the appearance of individual car pages:
| Option | Description |
|---|---|
| Car Detail Page Layout | Choose between Full Width or With Sidebar |
| Header Background Image | Background image for single car page headers |
| Featured Image | Show or hide the featured image on single car pages |
| WhatsApp Button | Show or hide a WhatsApp contact button in the sidebar |
| Booking Form Popup ID | Add a saved Elementor template ID to show a booking form popup on car pages |
Setting up the Booking Form Popup: Go to Templates → Saved Templates and find your booking popup template. Copy its ID from the URL or the templates list and paste it into the Booking Form Popup ID field. Make sure the template contains only one Popup Modal widget.
Adding a New Car #
Step 1 — Go to Cars → Add New.
Step 2 — Enter the car name as the title at the top (e.g. Toyota Camry 2024).
Step 3 — On the right side panel, assign a Car Type category to organize your fleet (e.g. SUV, Sedan, Luxury, Economy).
Step 4 — Set a Featured Image from the right panel — this is the main image shown on the car listing page and at the top of the car detail page.
Step 5 — Click Edit to open the car price and features panel where you can fill in:
| Field | Description |
|---|---|
| Price Per Day | Daily rental rate |
| Price Per Hour | Hourly rental rate |
| Car Features | Select from the global features list you set up earlier |
| Additional Details | Any extra specs like seats, doors, fuel type, transmission, etc. |
Step 6 — Click Edit with Elementor to build or customize the car’s detail page layout visually.
Step 7 — Click Publish when done.
Car Archive Page #
The car listing page is rendered from a PHP template file included in your theme — it is not editable with Elementor.
The template file is located at: your-theme/template-parts/archive-cars.php
To customize the archive page layout, override it in your child theme:
Step 1 — In your child theme folder, create the same folder path: template-parts/
Step 2 — Copy archive-cars.php from the main theme’s template-parts/ folder into your child theme’s template-parts/ folder.
Step 3 — Edit the copied file in your child theme. WordPress will automatically use the child theme version over the main theme version.
Tip: Always make template customizations in the child theme. Changes made directly to the main theme’s template files will be lost when the theme is updated.
Default Car URLs #
| Page | Default URL |
|---|---|
| Cars listing | yourdomain.com/cars/ |
| Car type category | yourdomain.com/car-type/car-type-name/ |
| Single car | yourdomain.com/cars/car-name/ |
How to Change the Car URL Slug #
To use a custom slug instead of the default /cars/, add the following code to your child theme’s functions.php file:
add_filter( 'awaiken_cars_slug', 'awaiken_cars_slug_rewrite', 10);
function awaiken_cars_slug_rewrite() {
return 'your-custom-slug';
}
To change the car type category slug:
add_filter( 'awaiken_car_type_slug', 'awaiken_car_type_slug_rewrite', 10);
function awaiken_car_type_slug_rewrite() {
return 'your-custom-category-slug';
}
Important: After changing any slug, go to Settings → Permalinks and click Save Changes to flush rewrite rules and prevent 404 errors.
Editing a Single Car Page #
Step 1 — Go to Cars → All Cars and find the car you want to edit.
Step 2 — Click Edit to update the car’s price and features.
Step 3 — Click Edit with Elementor to update the car’s page content and layout visually.
Step 4 — Click Update to save your changes.
Troubleshooting #
Car listing page not showing correctly
Make sure the correct page is set as the cars listing page. Also verify the archive-cars.php template exists in your theme’s template-parts/ folder.
Car features not showing on the detail page
Make sure you have added features under Appearance → Customize → Car Options → Car Features and selected them when editing the individual car.
WhatsApp button not showing on car pages
Go to Appearance → Customize → Car Options → Car Detail Page Options and make sure the WhatsApp Button toggle is turned on.
Booking form popup not opening
Make sure the template ID entered in Booking Form Popup ID is correct and that the saved template is published and contains only one Popup Modal widget. Go to Templates → Saved Templates to verify.