Title: importing custom fields
Last modified: May 21, 2023

---

# importing custom fields

 *  [abuswaisan](https://wordpress.org/support/users/abuswaisan/)
 * (@abuswaisan)
 * [3 years ago](https://wordpress.org/support/topic/importing-custom-fields-2/)
 * Hello, I am all new to WordPress and was looking for help please.
 * I am using CL classified listing plug in. I created Categories, listing types
   and Custom fields. In custom fields I want to add Car Brands and models as a 
   select menu. Do I have to enter them manually? or Is there a way to import a 
   full (as much as possible) list of car brands and models?
 * It will take forever to add them manually specially that the car models should
   be specific to car brands.
 * Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fimporting-custom-fields-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [svenratkajec](https://wordpress.org/support/users/svenratkajec/)
 * (@svenratkajec)
 * [3 years ago](https://wordpress.org/support/topic/importing-custom-fields-2/#post-16755942)
 * You can try downloading a car brands JSON file from internet ([https://github.com/matthlavacka/car-list/blob/master/car-list.json](https://github.com/matthlavacka/car-list/blob/master/car-list.json))
   and then fetch it with REST API and put them in select option or whatever you
   have.
    -  This reply was modified 3 years ago by [svenratkajec](https://wordpress.org/support/users/svenratkajec/).
    -  This reply was modified 3 years ago by [svenratkajec](https://wordpress.org/support/users/svenratkajec/).
 *  Thread Starter [abuswaisan](https://wordpress.org/support/users/abuswaisan/)
 * (@abuswaisan)
 * [3 years ago](https://wordpress.org/support/topic/importing-custom-fields-2/#post-16760548)
 * Thanks, I got your point. If you dont mind me asking again :D.
 * I was looking at Zyla API (Automobile Data API). Is there a way to import this
   to my website? maybe convert it to json file or connect it directly. and please
   if yes could you please write me a simple steps to how to do it? (please keep
   in mind that I will google each step to learn how to do it).
 * I register with Zyla and Thy have Endpoints and I am not sure what to do with
   it.
    -  This reply was modified 3 years ago by [abuswaisan](https://wordpress.org/support/users/abuswaisan/).
 *  [svenratkajec](https://wordpress.org/support/users/svenratkajec/)
 * (@svenratkajec)
 * [3 years ago](https://wordpress.org/support/topic/importing-custom-fields-2/#post-16760791)
 * This can be pretty hard to do if you have no experience in coding. All this is
   done with **javascript**. The simplest solution i propose to import custom js
   is to download a “**Custom CSS and JS plugin**” and make a new js snippet.
    1. Study a documentation of Automobile Data API to learn how to send a **GET **
       request for the wanted resource
    2. Google **how to send a fetch request with vanilla javascript and get data**
    3. You shall get a **JSON **format (similar format to _arrays_ which are important
       concept of javascript) after fetching the data and then you can start working
       on displaying the data (getting the element by classname and embed **HTML **
       content into it). Note that you fetch every json object with **FOR EACH **loop(
       though everything about it should be explained in a video if you search how 
       to send a fetch request).
 * That should be pretty much all. If i missed something feel free to ask.
   Best 
   regards and wish you success in this task!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘importing custom fields’ is closed to new replies.

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 3 replies
 * 2 participants
 * Last reply from: [svenratkajec](https://wordpress.org/support/users/svenratkajec/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/importing-custom-fields-2/#post-16760791)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
