📹 Check out the accompanying video on YouTube. 📹
This child theme contains a Cars custom post type with custom Vehicle Details custom fields assigned. You can create a new car post type and fill in information for each car: price, mileage, miles per gallon. After saving your new car post type you can see the custom data output.
There are also two custom taxonomies registered and assigned to the Car post type: Manufacturers (hierarchical) and Vehicle Make (e.g. SUV, Sedan, Truck, Crossover, Electric).
- ACF plugin - Download for free on AdvancedCustomFields.com
- Twenty Nineteen theme is installed on your site.
- Download and activate the ACF Demo child theme.
- Create a new development site with Local (or tool of your choice).
- Download the ACF Demo child theme (this repo), and place this theme inside your site's
wp-content/themes/
directory. - Download the Twenty Nineteen theme and place it inside your site's
wp-content/themes/
directory. - Use the
car-export.WordPress.2024-11-06.xml
file located inside the ACF Demo child theme to import car data. If you're new to importing XML info into WordPress then check out this helpful video: https://learn.wordpress.org/tutorial/tools-import-and-export/- Note: The import file does not contain media. You can skip that step. Instead, there is a fallback image for all the cars. You will see the same image for every car on the site.
- Activate the ACF plugin.
- Activate the ACF Demo child theme.
At this point you should see a bunch of car information on your site.